Azure Disk Storage

What is Disk Storage?

Microsoft Azure Disk Storage is based on Page Blobs. A Virtual machine can have one or more data disks that are also stored as virtual hard disks (VHDs) stored in an Azure storage account. It allows data to be persistently stored and accessed from an attached virtual hard disk. Basically, its your local drive!

Different Types of Disks in Azure

There are two types of Disks in Azure: Managed Disk and Unmanaged Disk

Managed Disk

They are block-level storage volumes that are managed by Azure and used with Azure Virtual Machines. Managed disks are like a physical disk in an on-premises server but, virtualized. With managed disks, all you have to do is specify the disk size, the disk type, and provision the disk. Then, Azure handles the rest.

Unmanaged Disk

It is a traditional type of disk that has been used by VMs. We can create a Storage Account and then create the disk within that Storage Account. We are responsible for managing it , taking care of the maximum input/output operations per second (IOPS) limit. We must not put too many disks in the same storage account, resulting in the VMs being throttled.

Disk roles

There are three main disk roles in Azure: the data disk, the OS disk, and the temporary disk. These roles map to disks that are attached to your virtual machine.

Figure 1. Various Disk role in Azure
  • Data disk: It is a managed disk that’s attached to a virtual machine to store application data, or other data you need to keep. 
  • OS disk: That OS disk has a pre-installed OS, which was selected when the VM was created. This disk contains the boot volume.
  • Temporary disk: Most VMs contain a temporary disk, which is not a managed disk. They provides short-term storage for applications and processes, and is intended to only store data such as page or swap files.

Azure managed disk types

Azure managed disks currently offers five disk types. The following table provides a comparison of the five disk types to help you decide which to use.

Ultra disk Premium SSD v2Premium SSDStandard SSDStandard HDD
Disk typeSSDSSDSSDSSDHDD
ScenarioIO-intensive workloads such as SAP HANA, top tier databases (Example. SQL, Oracle), and other transaction heavy workloads.Production and performance sensitive workloads that consistently require low latency and high IOPS and throughputProduction and performance sensitive workloadsWeb servers, lightly used enterprise applications and dev/testBackup, non-critical, infrequent access
Max disk size65,536 GiB65,536 GiB32,767 GiB32,767 GiB32,767 GiB
Max throughput4,000 MB/s1,200 MB/s900 MB/s750 MB/s500 MB/s
Max IOPS160,00080,00020,0006,0002,000
OS Disk?NoNo YesYesYes

Add a data disk to Virtual Machine

Expand a Managed disk