If like me you have been using Azure for some time you may have some servers still running with unmanaged disks. On the 2nd August 2018, Microsoft announced the ability to migrate unmanaged disks to managed disks using the Azure portal. You have been able to convert unmanaged disks to managed disks using PowerShell and the CLI, but for some servers
Benefits of Managed Disks
- The ability to scale your application without worrying about storage account limits.
- The ability to align your compute and storage resources with to fault domains to help achieve high-availability.
- The ability to create VM Scale Sets with up to 1,000 instances.
- Integrate disks, snapshots, images as first-class resources into your architecture.
- The ability to secure your disks, snapshots, and images through Azure Role Based Access Control (RBAC)
To read more about the benefits of Managed Disks, see Azure Managed Disks Overview.
Click on the info banner to launch the migration. A new blade will pop up.
Click on Migrate
The Virtual machine will now stop and deallocate to allow the migration to happen.
After some time in the notification blade
The VM will have started back up for you. If you go to the resource group that your VM is part of you will now see the managed disk.
To confirm that the new Managed disk is associated with the VM you can go to the VM blade and click Disks under the settings section. There you will be able to see that the managed disk is now associated.
The source disks will not be deleted. You will have to do this manually. Just make sure you are happy with the migration before you do this.
I hope you found this article helpful if you have any questions or comments please leave them below or reach out using the usual methods.
I’m Richard Hooper aka Pixel Robots. I started this blog in 2016 for a couple reasons. The first reason was basically just a place for me to store my step by step guides, troubleshooting guides and just plain ideas about being a sysadmin. The second reason was to share what I have learned and found out with other people like me. Hopefully, you can find something useful on the site.