
Microsoft has recently announced Azure Managed Disks support for Azure Python SDK. The company says the capability is now generally available, alongside 1000 VMs in a Scale Set. In an announcement post, Microsoft adds that the support simplifies disk management and brings better security. Azure Managed Disks brings an easier way to manage disks. This is achieved via enhanced scalability and allows developers to scale without worrying about storage limitations. For developers, this means Azure CLI works like other cross-platform solutions. Customers can use the Azure Python SDK and the azure-mgmt-compute package 0.33.0 to administer Managed Disks. In its blog post, Microsoft explains that developers have previously needed to use multiple storage accounts to maintain images for VMs. This would be a complicated way of managing a service with multiple VMs. Managed Disks remove the process of replicating images across storage accounts. Instead, it allows a single image per region and make it available for up to 10,000 VMs. Microsoft gives three examples of how new disks can be created with Python code:
- Create an empty Managed Disk
- Create a Managed Disk from Blob Storage
- Create a Managed Disk from our own Image