Creating a VM with Azure Managed Disk

Azure , , , 1 Comment

Hi!

Yes! my first post!

“Azure Managed disks” is a great feature/service where we have been waiting for a long time. Finaly Microsoft managed to create this service and solves some issue you could run into if, for example, you wanted to create lots of VM’s, within seperated Storage Accounts, from one image/template.

In short:

Azure Managed Disks simplifies disk management for Azure IaaS VMs by managing the storage accounts associated with the VM disks. You only have to specify the type (Premium or Standard) and the size of disk you need, and Azure creates and manages the disk for you.

The benefits:

  • Simple and scalable VM deployment
    • create up to 10,000 VM disks in a subscription
  • Better reliability for Availability Sets
    • disks of VMs in an Availability Set are sufficiently isolated from each other to avoid single points of failure
  • Granular access control
    • assign specific permissions for a managed disk to one or more users
  • Azure Backup service support
    • create a backup job with time-based backups, easy VM restoration and backup retention policies

Lets have a look at creating a VM with and without Managed Disk:

Without Managed disk (is called UMD):

And now with Managed disk (is called MD):

As you can see in the above screenshots, the ‘Storage Account’ Selection/creation is not availible when creating a VM with a Managed Disk (MD). This is because MD will manage the disk creation! Now, i hear you thinking…. where do i need to specify LRS, ZRS, GRS? … You don’t .. MD is only availible in LRS! You only need to specify if the MD should be Premium (SSD-based) or Standard (HDD-based). (Keep in mind that you select a VM-size with ‘Premium’ storage support if you need SSD)

Select SSD (Premium) or HDD (Standard) when creating a new VM:

After the VM is created, please check ‘Disks’ in the Compute category on the left section of the Azure Portal:

In more detail (click on the disk), you can change the disk to HDD or SSD and change the disk size:

Also, the MD is visible as a resource in your Resource group:

Next post I’ll be writing about ‘Converting UMD to MD’s’

Gr,

Pieterbas


Resources:

Azure Managed Disks Deep Dive, Lessons Learned and Benefits

Azure Managed Disks Overview

One thought on “Creating a VM with Azure Managed Disk

Leave a Reply

Your email address will not be published. Required fields are marked *

*