Articles → MICROSOFT AZURE → Create A Data Disk In The Virtual Machine In Azure

Create A Data Disk In The Virtual Machine In Azure






Steps




  1. Click on the virtual machine to go to the detail screen
  2. In the detail screen, click on the Disks option from the left-hand side menu
  3. Picture showing the Disks option in the virtual machine
    Click to Enlarge

  4. When you click on the Disks, a screen will appear to enter the data disk
  5. Click on the Create and attach a new disk button
  6. Picture showing the Create and attach a new disk button for attaching the disk in the virtual machine
    Click to Enlarge

  7. Enter the Disk name and Size (GiB) and click on the Save button
  8. Picture showing the section for adding a disk in the virtual machine
    Click to Enlarge





Configure Data Disk In The Virtual Machine




  1. Log in to the virtual machine using RDP
  2. Open Server ManagerFile and Storage Services
  3. Picture showing the File and Storage Services option in the Server Management tool inside the virtual machine
    Click to Enlarge

  4. Go to the Disks option
  5. Picture showing the Disks option in the File and Storage Services of the Server Management tool
    Click to Enlarge

  6. Here, you can see the new disk (marked as Unknown). Right-click on the disk and click on Initialize
  7. Picture showing the initialize option in the context menu
    Click to Enlarge

  8. A pop-up message will come to confirm that data (if any) will be erased. As we have just created the data disk and we do not have any data inside the data disk, we can click on the Yes option
  9. Picture showing the confirmation message that data will be erased when disk is initialized
    Click to Enlarge

  10. Once the data disk is initialized, right-click on the disk again and click on the New Volume option
  11. Picture showing the New Volume option in the context menu
    Click to Enlarge

  12. A wizard will come to create a new volume. In the first window, click on the Next button
  13. Picture showing the New Volume wizard
    Click to Enlarge

  14. On the second screen, you have the option to select the server and the disk. Select the server and the disk and click on the Next button
  15. Picture showing the New Volume wizard
    Click to Enlarge

  16. In the third screen, select the drive letter and click on the Next button
  17. Picture showing the New Volume wizard
    Click to Enlarge

  18. In the next window, you can specify the file system settings. Click on the Next button
  19. Picture showing the New Volume wizard
    Click to Enlarge

  20. Finally, we have a confirmation screen. Click on the Create button
  21. Picture showing the New Volume wizard
    Click to Enlarge

  22. In the Results tab, you can see the progress of the creation of the new volume
  23. Picture showing the New Volume wizard
    Click to Enlarge

  24. Once all the tasks are completed, click on the Close button to close the window


Picture showing the data disk created in the virtual machine
Click to Enlarge


Encryption In Data Disk




Picture showing the encryption of the data disk
Click to Enlarge



  1. The platform-managed-key encryption means that the encryption key is managed by the platform
  2. This encryption is enabled by default when creating the data disk
  3. Data is first encrypted and then stored in the disk
  4. At the time of reading the data, the data is first unencrypted and then read



Posted By  -  Karan Gupta
 
Posted On  -  Monday, April 19, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250