How To Attach Volume To Windows VM On 3Engines Cloud[πŸ”—](#how-to-attach-volume-to-windows-vm-on-brand-name "Permalink to this headline") ========================================================================================================================================= In this tutorial, you will attach a volume to your Windows virtual machine. It increases the storage available for your files. What We Are Going To Cover[πŸ”—](#what-we-are-going-to-cover "Permalink to this headline") --------------------------------------------------------------------------------------- > * Creating a new volume > * Attaching the new volume to a VM > * Preparing the volume to use with a VM Prerequisites[πŸ”—](#prerequisites "Permalink to this headline") ------------------------------------------------------------- No. 1 **Hosting** You need a 3Engines Cloud hosting account with Horizon interface . No. 2 **Windows VM** You must operate a Microsoft Windows virtual machine running on 3Engines Cloud cloud. You can access it using the webconsole ([How to access the VM from 3Engines console on 3Engines Cloud](../cloud/How-to-access-the-VM-from-3Engines-console-on-3Engines-Cloud.html.md)) or through RDP. If you are using RDP, we strongly recommend using a bastion host for your security: [Connecting to a Windows VM via RDP through a Linux bastion host port forwarding on 3Engines Cloud](../windows/Connecting-to-a-Windows-VM-via-RDP-through-a-Linux-bastion-host-port-forwarding-on-3Engines-Cloud.html.md). Step 1: Create a New Volume[πŸ”—](#step-1-create-a-new-volume "Permalink to this headline") ---------------------------------------------------------------------------------------- Login to the Horizon panel available at . Go to the section **Volumes -> Volumes**: ![create-volume-windows-01_creodias.png](../_images/create-volume-windows-01_creodias.png) Click **Create Volume**. The following window should appear: ![create-volume-windows-02_creodias.png](../_images/create-volume-windows-02_creodias.png) In it provide the **Volume Name** of your choice. Choose the **Type** of your volume - SSD or HDD. Enter the size of your volume in gigabytes. When you’re done, click **Create Volume**. You should now see the volume you just created. In our case it is called **data**: ![create-volume-windows-03_creodias.png](../_images/create-volume-windows-03_creodias.png) Step 2: Attach the Volume to VM[πŸ”—](#step-2-attach-the-volume-to-vm "Permalink to this headline") ------------------------------------------------------------------------------------------------ Now that you have created your volume, you can use it as storage for one of your VMs. To do that, attach the volume to a VM. Shut down your VM if it is running. In the **Actions** menu for that volume select the option **Manage Attachments**: ![create-volume-windows-04_creodias.png](../_images/create-volume-windows-04_creodias.png) You should now see the following window: ![create-volume-windows-05_creodias.png](../_images/create-volume-windows-05_creodias.png) Select the virtual machine to which the volume should be attached from the drop-down menu **Attach to Instance** and click **Attach Volume**. Your volume should now be attached to the virtual machine: ![create-volume-windows-06_creodias.png](../_images/create-volume-windows-06_creodias.png) Step 3: Format the Drive[πŸ”—](#step-3-format-the-drive "Permalink to this headline") ---------------------------------------------------------------------------------- Start your VM and access it using RDP or the webconsole (see Prerequisite 2). Right-click the Start button and from the context menu select **Disk Management**. You should receive the following window: ![create-volume-windows-07_creodias.png](../_images/create-volume-windows-07_creodias.png) In its lower section are the drives currently connected to your virtual machine: ![create-volume-windows-08_creodias.png](../_images/create-volume-windows-08_creodias.png) In this case (on the screenshot above), there are two drives: > * the system drive with 32 GB space > * the attached volume with 2 GB of unallocated space Right-click the section of the window in which the label **Not Initialized** exists: ![create-volume-windows-09_creodias.png](../_images/create-volume-windows-09_creodias.png) From the context menu select **Initialize Disk**. You should receive the following window: ![create-volume-windows-10_creodias.png](../_images/create-volume-windows-10_creodias.png) In this window you are asked which partition style do you want to use: MBR or GPT. If your volume has 2 TB or less space and you intend to use 4 primary partitions or less, you can use MBR, but if your requirements are higher, you should use GPT. Choose either of these options and click **OK**. Right-click the **Unallocated** space: ![create-volume-windows-11_creodias.png](../_images/create-volume-windows-11_creodias.png) Choose **New Simple Volume**. You should receive the following window: ![create-volume-windows-12_creodias.png](../_images/create-volume-windows-12_creodias.png) Click **Next >**. The following window should appear: ![create-volume-windows-13_creodias.png](../_images/create-volume-windows-13_creodias.png) If you want your volume to have only one partition, leave the default value in the text field. Otherwise, enter the size of the first partition of your volume. You can choose to either assign a drive letter to your drive or mount it in an empty folder. * If you want to assign a drive letter to that volume, choose the **Assign the following drive letter:** radio button. From the drop-down menu to its right choose a letter to which you wish to attach your volume. Confirm your choice by clicking **OK**. * If you want to mount the volume to an NTFS folder on your drive, choose **Mount in the following empty NTFS folder:**. Click **Browse…** and in the **Browse for Drive Path** window choose an empty folder in which you wish to mount it. Confirm your choice by clicking **OK**. The following window should now appear: ![create-volume-windows-14_creodias.png](../_images/create-volume-windows-14_creodias.png) Here you can choose the formatting settings. Keep the radio button **Format this drive with the following settings:** selected. You can now enter the name which Windows will show for your new volume - it can be different then the one you typed in **Step 1**. Keep **Perform a quick format** checkbox selected. Click **Next >**. You should get the following window containing the summary of your chosen settings: ![create-volume-windows-15_creodias.png](../_images/create-volume-windows-15_creodias.png) Click **Finish**. Once the formatting process is complete, you should see appropriate information about your volume in the **Disk Management** window: ![create-volume-windows-16_creodias.png](../_images/create-volume-windows-16_creodias.png) Your volume should now be mounted. If you chose to assign a drive letter, it should be visible in the **This PC** window: ![create-volume-windows-17_creodias.png](../_images/create-volume-windows-17_creodias.png) If you want to create more partitions, repeat right-clicking the **Unallocated** space and completing the wizard as previously explained. What To Do Next[πŸ”—](#what-to-do-next "Permalink to this headline") ----------------------------------------------------------------- Once you have gathered some data on your volume, you can create its backup, as explained in this article: [How to Create Backup of Your Volume From Windows Machine on 3Engines Cloud](How-To-Create-Backup-Of-Your-Volume-From-Windows-Machine-on-3Engines-Cloud.html.md)