Skip to main content

Managed Disk

An Azure managed disk is a block-level storage volume for a VM where Azure handles the underlying storage account and replication. You choose the size and performance tier, such as Standard HDD, Standard SSD, Premium SSD, Premium SSD v2, or Ultra Disk.

Managed Disk

Managed disks replace the older unmanaged disks stored in storage accounts you maintained yourself. Azure places and replicates them for you, supports Availability Zones and encryption at rest by default, and lets you snapshot, resize, and move them. Disks are billed by provisioned size and tier, not by used space.

How Do the Managed Disk Types Compare?

Type Best for Notes
Standard HDD Backup, rarely accessed data Lowest cost
Standard SSD Web servers, dev and test Consistent moderate IO
Premium SSD Production databases IOPS tied to disk size
Premium SSD v2 and Ultra Latency-critical workloads IOPS and throughput set independently

How Do You Create a Disk?

Bash
az disk create --resource-group mumbai-encoding-rg \
--name encoder-node-01-datadisk --size-gb 512 \
--sku Premium_LRS --zone 1

Why It Matters in Production

A streaming company like Hotstar would run transcoding VMs on Premium SSD for the sustained IO that live encoding needs, while archival VMs use Standard HDD to save money.

Common Mistake

Choosing a disk too small to save money. Premium SSD performance scales with size tier, so a small disk can bottleneck a VM that has plenty of CPU.

Remember

Disks can be grown but never shrunk, and growing some disk types may require deallocating the VM first.

Frequently Asked Questions

Does a managed disk charge for unused space?

Yes for most types, because you pay for the provisioned tier and size, not the used data. Standard HDD and SSD also add small transaction charges.

Can I move a disk between zones?

Not directly. Take a snapshot and create a new disk in the target zone from it.

When do I need Ultra Disk or Premium SSD v2?

When a workload needs very high IOPS or throughput independent of capacity, such as busy SQL Server transaction logs. Most workloads are fine on Premium SSD.

Found a mistake, an outdated step or a broken link?