Disk Storage in Azure
- When we create a virtual machine the disks will be created.
- In Azure we have 2 types of disks based on where they are created
- Created on the same physical server, where vm is created => Temp Disk
- Created on the different physical server in Same Region/Zone => Data Disk
- Since Temp Disk is allocated from same server, when vm is stopped/deallocated or removed the Temp Disk also gets deallocated or deleted. (Non Persistent)
-
Data Disk where we have two types shown below can exist even after the virtual machine is deleted. (Persistent Disks)
- OS Disk (This disk has operating system)
- Data Disk
-
Azure allow Disks to be created in two ways
- Storage Account
- This is referred as unmanaged disk
- Page Blobs in Storage accounts means virtual hard disk
- Managed Disks:
- This is service for handling disks
- Storage Account
- Temp Disk: Size is decided by the vm type
- Sizes of Data Disk, each data disk can have a maximum size of 32,767 GiB and Ma size of OS disk is 4095 GiB
- Types of Azure Managed Disks:
- Ultra Disks
- Premimum SSD v2
- Premium SSD
- Standard SSD
- Standard HDD
- Refer Here for disk type comparision
Create a Azure Virtual Machine with Size B1s
- Figure out the Max IOPS, Number of Data Disks possible and Temp Storage Size from VM Size
- Lets look at Disks Tab
- Now create the Virtual Machine
