Ultra Disk and Premium SSD v2

Azure Ultra Disk and its younger sibling Premium SSD v2 are managed disks where you pick size, IOPS and throughput separately and can change them while the disk is in use. They’re meant for databases like SQL Server, Oracle and SAP HANA that need low latency and performance that doesn’t wobble.

With the older Premium SSD, performance is tied to the size you buy, so if you want more IOPS you buy a bigger disk. With these two you pay for the IOPS and MB/s you set, and you can turn them up for month-end and back down once it’s over.

In the lab you’ll create both disk types on a zonal VM, measure them with fio, change performance live, and run into the two errors almost every first Ultra Disk project hits.

TimeYou needCostBy the end you can
About 60 minutesA free account and the CLIRoughly USD 0.25 for an hour: a D2s_v5 VM, a 64 GiB Premium SSD v2 and an 8 GiB Ultra Disk with 1,000 IOPS (Azure Retail Prices API, October 2026)Create Ultra Disk and Premium SSD v2, measure and tune them live, and tell a disk limit from a VM limit

What it is, in one line

Ultra Disk and Premium SSD v2 let you set capacity, IOPS and throughput on their own and change them without any downtime.

In Simple Words

A water pipe with a tap you can turn

Old water tanks come in fixed sizes, and a bigger tank also comes with a wider pipe. So if you need more flow, you end up buying a bigger tank even when you don’t need the extra space.

A modern tank lets you choose the tank size and turn the tap wider or narrower whenever you like, so on a busy morning you open the tap, and on a quiet night you close it a little and pay less.

There’s a catch, though: the pipe into your house has its own maximum width, and if that pipe is narrow, opening the tank’s tap further won’t help at all. That house pipe is the VM’s own disk limit.

Engineer's View

How these disks work

  • Premium SSD v2: 1 GiB to 64 TiB in 1 GiB steps. Each disk comes with 3,000 IOPS and 125 MB/s at no extra cost, and you pay for anything above that, up to 80,000 IOPS and 1,200 MB/s per disk. There’s no host caching, and it’s zonal (LRS).
  • Ultra Disk: the top tier, for latency-critical workloads, with much higher IOPS and throughput limits per disk and sizes starting at 4 GiB. You can only change its performance a limited number of times a day (Microsoft documents four times in 24 hours for Ultra Disk).
  • Zones: both types are zonal, so the disk and the VM have to be in the same availability zone, and the VM size has to support that disk type in that zone.
  • Ultra compatibility: before an Ultra Disk can be attached, the VM needs ultraSSDEnabled, and you can only switch that on while the VM is deallocated. While it’s on and no Ultra Disk is attached, you pay a small reservation charge per vCPU.
  • Pricing (Central India): Premium SSD v2 is about USD 0.000125 per GiB per hour plus any extra IOPS and MB/s. Ultra is USD 0.00023 per GiB per hour, USD 0.000095 per IOPS per hour and USD 0.000502 per MB/s per hour.
  • Two ceilings: you get whichever is lower, the disk’s own setting or the VM size’s uncached disk limit (many sizes can burst above it).

How it works, step by step

Here’s what happens when the database reads from the Premium SSD v2 disk:

Azure Ultra Disk and Premium SSD v2: disk limit versus VM limit
  1. SQL Server or fio issues a 4 KiB read to the disk at LUN 0.
  2. The VM checks its own uncached disk budget. A D2s_v5 has a base limit of around 3,750 IOPS and can burst higher for a while on credits.
  3. The disk checks its provisioned IOPS, which is 3,000 in this lab to start with.
  4. Azure’s storage backend in the same zone serves the read with sub-millisecond latency.
  5. The IOPS you see are set by whichever limit is lower, the disk’s or the VM’s.

Two metrics tell you which limit you’re up against: Data Disk IOPS Consumed Percentage for the disk and VM Uncached IOPS Consumed Percentage for the VM. Whichever sits at 100 percent is your bottleneck.

Premium SSD v2 compared with Ultra Disk

If the VM is the bottleneck, raising disk IOPS wastes money, and if the disk is the bottleneck, resizing the VM wastes even more.

Create, measure and tune Premium SSD v2 and Ultra Disk

Before you run any command, double-check it

Read every command twice before you press Enter. Check the target: the system or account, the IDs, the names and the sizes. These commands are for learning and were tested in our lab, not on your system. At work, run the read-only list commands first, follow your change process, make sure a backup exists, and ask a second person to check anything that changes or deletes data. You run them at your own risk.

1Check the zone support for your VM size

Ask Azure which zones support Ultra Disk for Standard_D2s_v5 in Central India:

az vm list-skus --resource-type virtualMachines --location centralindia --query "[?name=='Standard_D2s_v5'].locationInfo[0].zoneDetails[0].Name" -o tsv

You’ll get a list of zones, something like this. Pick one from it:

1
2
3

If nothing comes back, that size doesn’t support Ultra Disk in that region, so try another size or region. This small check saves you a failed deployment.

2A zonal VM and a Premium SSD v2 disk

Create the VM in zone 1, then a 64 GiB Premium SSD v2 disk with the included baseline performance, and attach it:

az group create --name rg-saat-l58 --location centralindia --tags course=saatvedha-azure lesson=58 -o none
az vm create --resource-group rg-saat-l58 --name vm-db --image Canonical:ubuntu-24_04-lts:server:latest --size Standard_D2s_v5 --zone 1 --public-ip-sku Standard --nsg-rule NONE --admin-username azureuser --generate-ssh-keys --tags course=saatvedha-azure lesson=58 -o none
az disk create --resource-group rg-saat-l58 --name pv2-data --sku PremiumV2_LRS --zone 1 --size-gb 64 --disk-iops-read-write 3000 --disk-mbps-read-write 125 --tags course=saatvedha-azure lesson=58 -o none
az vm disk attach --resource-group rg-saat-l58 --vm-name vm-db --name pv2-data --lun 0 -o none
az vm run-command invoke --resource-group rg-saat-l58 --name vm-db --command-id RunShellScript --scripts 'apt-get update -qq > /dev/null; DEBIAN_FRONTEND=noninteractive apt-get install -y -qq fio > /dev/null; fio --version' --query "value[0].message" -o tsv

The last command prints the fio version, for example fio-3.36.

3Measure it

Now run 30 seconds of 4 KiB random reads with a deep queue:

az vm run-command invoke --resource-group rg-saat-l58 --name vm-db --command-id RunShellScript --scripts 'fio --name=rand --filename=/dev/disk/azure/scsi1/lun0 --rw=randread --bs=4k --iodepth=64 --ioengine=libaio --direct=1 --runtime=30 --time_based --group_reporting | grep IOPS=' --query "value[0].message" -o tsv

You should see something like this:

[stdout]
  read: IOPS=3016, BW=11.8MiB/s (12.4MB/s)(354MiB/30001msec)

About 3,000 IOPS, which is what you provisioned. fio reads the raw device, so nothing on the disk gets changed.

4Look at the VM’s own limit

Read the uncached disk limits for the VM size:

az vm list-skus --resource-type virtualMachines --location centralindia --size Standard_D2s_v5 --query "[0].capabilities[?name=='UncachedDiskIOPS' || name=='UncachedDiskBytesPerSecond'].{name:name, value:value}" -o table

You should see something like this:

Name                        Value
--------------------------  --------
UncachedDiskIOPS            3750
UncachedDiskBytesPerSecond  89128960

The VM’s base limit is 3,750 IOPS and 85 MiB/s. The disk (3,000) is lower right now, so the disk is the ceiling.

Azure Ultra Disk lab metrics with data disk IOPS consumed at 100 percent
vm-db during the fio run: Data Disk IOPS Consumed Percentage sits at 100%.
fio result on a Premium SSD v2 disk at 3,000 IOPS
The disk gives you what you provisioned.

✅ Checkpoint: vm-db runs in zone 1 with a Premium SSD v2 disk delivering about 3,000 IOPS, and you know the VM’s own uncached limit.

Break It, Then Fix It

Leave the VM running, since both breaks use it.

1Break it: attaching an Ultra Disk to a normal VM

The DBA wants an Ultra Disk for the transaction log. Create one and try attaching it:

az disk create --resource-group rg-saat-l58 --name ultra-log --sku UltraSSD_LRS --zone 1 --size-gb 8 --disk-iops-read-write 1000 --disk-mbps-read-write 50 --tags course=saatvedha-azure lesson=58 -o none
az vm disk attach --resource-group rg-saat-l58 --vm-name vm-db --name ultra-log --lun 1

You’ll hit an error like this:

(InvalidParameter) StorageAccountType UltraSSD_LRS can be used only when additionalCapabilities.ultraSSDEnabled is set.
Code: InvalidParameter
Target: managedDisk.storageAccountType

Nothing’s wrong with the disk, and it’s in the right zone. The VM simply hasn’t been made Ultra-compatible, and that setting can only change while the VM is deallocated.

To fix it, deallocate, enable Ultra compatibility, start the VM and attach the disk (in production, plan a short outage for this):

az vm deallocate --resource-group rg-saat-l58 --name vm-db
az vm update --resource-group rg-saat-l58 --name vm-db --ultra-ssd-enabled true -o none
az vm start --resource-group rg-saat-l58 --name vm-db
az vm disk attach --resource-group rg-saat-l58 --vm-name vm-db --name ultra-log --lun 1 -o none
az vm run-command invoke --resource-group rg-saat-l58 --name vm-db --command-id RunShellScript --scripts 'fio --name=rand --filename=/dev/disk/azure/scsi1/lun1 --rw=randread --bs=4k --iodepth=64 --ioengine=libaio --direct=1 --runtime=30 --time_based --group_reporting | grep IOPS=' --query "value[0].message" -o tsv

You should see something like this:

[stdout]
  read: IOPS=1004, BW=3.92MiB/s (4.11MB/s)(118MiB/30001msec)

The Ultra Disk now gives the 1,000 IOPS you set. Build new database VMs with Ultra compatibility from day one and you’ll never need that outage later.

2Break it: month-end and the disk is too slow

Month-end reports need more IOPS. Check which limit gets hit during a fio run, then raise the Premium SSD v2 disk’s IOPS live, without detaching or rebooting anything:

$vmIdDb = az vm show --resource-group rg-saat-l58 --name vm-db --query id -o tsv
az vm run-command invoke --resource-group rg-saat-l58 --name vm-db --command-id RunShellScript --scripts 'fio --name=rand --filename=/dev/disk/azure/scsi1/lun0 --rw=randread --bs=4k --iodepth=64 --ioengine=libaio --direct=1 --runtime=30 --time_based --group_reporting | grep IOPS=' --query "value[0].message" -o tsv
az monitor metrics list --resource $vmIdDb --metric "Data Disk IOPS Consumed Percentage" --interval PT1M --aggregation Maximum --query "value[0].timeseries[0].data[-3:].maximum" -o tsv
az disk update --resource-group rg-saat-l58 --name pv2-data --disk-iops-read-write 6000 --disk-mbps-read-write 200 -o none
az vm run-command invoke --resource-group rg-saat-l58 --name vm-db --command-id RunShellScript --scripts 'fio --name=rand --filename=/dev/disk/azure/scsi1/lun0 --rw=randread --bs=4k --iodepth=64 --ioengine=libaio --direct=1 --runtime=30 --time_based --group_reporting | grep IOPS=' --query "value[0].message" -o tsv

You should see something like this:

  read: IOPS=3019, BW=11.8MiB/s (12.4MB/s)(354MiB/30001msec)
100.0
100.0
  read: IOPS=6011, BW=23.5MiB/s (24.6MB/s)(704MiB/30001msec)

The disk metric was at 100 percent, so the disk was the bottleneck, and raising its IOPS doubled the result while the database carried on running. The change can take a little time to apply, so if fio still shows 3,000, give it a few minutes and run it again.

You’ll notice 6,000 is above the VM’s base limit of 3,750, because the D2s_v5 is spending its burst credits. Under a long, steady load those credits run out and VM Uncached IOPS Consumed Percentage hits 100, and at that point you need a bigger VM, not a faster disk.

Error attaching an Ultra Disk to a VM without Ultra compatibility
The VM needs Ultra compatibility before the disk can attach.

3Clean up

Delete the lab resource group (the Ultra Disk is billed for its IOPS every hour it exists):

az group delete --name rg-saat-l58 --yes
az resource list --tag lesson=58 -o table

The last command shouldn’t print anything.

✅ Checkpoint: You enabled Ultra compatibility to attach an Ultra Disk, raised Premium SSD v2 IOPS live, and can tell a disk limit from a VM limit.

This happened at work

The expensive disk that didn’t make SQL faster

A finance company moved its reporting SQL Server to Azure on an E8s_v5 VM with a large Premium SSD v2 data disk. Users kept complaining the reports were slow, so the team pushed the disk up to 40,000 IOPS, and nothing got better except the monthly bill, which jumped.

Someone finally opened both metrics side by side. The disk was only about 30 percent consumed, while VM Uncached IOPS Consumed Percentage sat at 100 percent all day, because the VM size’s own limit was far below what the disk could deliver. They’d been paying for IOPS the VM could never use.

What they changed: they moved to a VM size with a higher uncached limit, split data and log onto separate disks, set the data disk back to what the workload used plus some headroom, and built a dashboard showing both consumed-percentage metrics together. Every performance ticket now starts with that dashboard.

Common mistakes and troubleshooting

MistakeWhat you seeWhat to do
VM not Ultra-compatibleInvalidParameter: ultraSSDEnabled not setDeallocate, enable Ultra, start, then attach.
Disk and VM in different zonesAttach failsCreate both in one zone.
Raising disk IOPS when the VM is the limitNo improvement, higher billLook at VM Uncached IOPS Consumed Percentage first.
Expecting host cachingCache option not availableThese disks don’t have host caching, so size the IOPS instead.
Ultra enabled with no Ultra Disk attachedSmall hourly reservation chargeTurn Ultra compatibility off when you don’t need it.
Testing right after a performance changeOld numbers in fioGive the change time to apply, and remember Ultra only allows a few adjustments per day.

Interview questions

Click a question to open it. Each one is phrased the way an interviewer would ask it, and underneath you’ll find why they ask it and one way you could answer in your own words.

Fresher level

1. What makes Premium SSD v2 different from Premium SSD?

Why they ask this: The basic concept.

How you might answer: You set size, IOPS and throughput separately, and every disk gets a baseline of 3,000 IOPS and 125 MB/s, whereas with Premium SSD the performance is fixed by the disk size you pick.

2. When would you choose Ultra Disk?

Why they ask this: Basic positioning.

How you might answer: When the workload is really demanding and latency-critical, like SAP HANA, top-tier SQL or Oracle, or transaction logs, and Premium SSD v2’s limits aren’t enough.

3. Can you change Ultra Disk performance without downtime?

Why they ask this: A key feature.

How you might answer: Yes, you can change IOPS and throughput while it’s attached, though only a limited number of times per day.

2–5 years experience

4. A database is slow on Premium SSD v2. How do you troubleshoot?

Why they ask this: A real troubleshooting path.

How you might answer: I’d compare the Data Disk IOPS and Bandwidth Consumed Percentage with the VM Uncached ones, look at queue depth and latency inside the OS, and check whether the burst credits have run out. Then I’d either tune the disk or resize the VM.

5. Why can’t you attach an Ultra Disk to an existing VM?

Why they ask this: Practical detail.

How you might answer: Because the VM needs ultraSSDEnabled, which means deallocating it, and it also has to be in the same zone and be a supported size.

6. How do you size IOPS for a new SQL Server?

Why they ask this: They want method.

How you might answer: I’d measure the current system with perfmon or DMVs over a busy period, take the peaks for data and log and add headroom. Then I’d pick a VM whose uncached limits are above that total and set the disk IOPS and MB/s to match.

Senior level

7. How would you design storage for a 20 TB SQL Server on Azure?

Why they ask this: They want architecture.

How you might answer: I’d keep data, log and tempdb apart, put data and log on Premium SSD v2 or Ultra with planned IOPS, and put tempdb on local NVMe or the temp disk. The VM size needs enough uncached throughput, and the zone placement has to fit the availability design.

8. How do you control the cost of Ultra Disk?

Why they ask this: FinOps thinking.

How you might answer: Provision only the IOPS and MB/s you need, use automation to lower them outside peak windows, don’t leave Ultra compatibility switched on when it’s idle, and use Premium SSD v2 wherever its limits are enough.

9. What about high availability with zonal disks?

Why they ask this: Resilience thinking.

How you might answer: Zonal disks live in the VM’s zone, so I wouldn’t rely on one disk. I’d use Always On availability groups or log shipping across zones or regions.

Quick quiz

Q1. Included baseline performance on Premium SSD v2?

  1. 500 IOPS / 60 MB/s
  2. 3,000 IOPS / 125 MB/s
  3. 10,000 IOPS / 500 MB/s
  4. None
Show answer

B — Every disk gets 3,000 IOPS and 125 MB/s.

Q2. InvalidParameter: ultraSSDEnabled not set. Fix?

  1. Resize the disk
  2. Deallocate and enable Ultra compatibility
  3. Change the zone of the disk
  4. Use a bigger VM only
Show answer

B — The VM must be Ultra-compatible.

Q3. Data Disk IOPS Consumed Percentage is 100. Bottleneck?

  1. The VM
  2. The disk
  3. The network
  4. DNS
Show answer

B — The disk is at its provisioned limit.

Q4. Can you raise Premium SSD v2 IOPS while the VM runs?

  1. No
  2. Yes
  3. Only after detach
  4. Only on Windows
Show answer

B — Performance changes are online.

Q5. Ultra Disk and VM must be in?

  1. Different zones
  2. The same zone
  3. Any region
  4. Paired regions
Show answer

B — Both are zonal and must match.

Quick recap

That wraps up Phase 3, where you built enterprise networking and storage the way large companies run them. In Phase 4 all of this becomes a step-by-step troubleshooting method.

  • Premium SSD v2 and Ultra let you set IOPS and MB/s on their own.
  • Both are zonal, so check zone support with list-skus first.
  • Ultra Disk needs a VM with Ultra compatibility enabled.
  • Performance changes happen live, within daily limits.
  • Before spending, compare the disk and VM consumed-percentage metrics.

Next lesson

Lesson 59: The Azure troubleshooting workflow → You learn the troubleshooting workflow that starts with one question, what changed, using the Activity log, change analysis, Service Health and Resource Health.

Further reading: Azure Ultra Disk

Want to go deeper into Azure Ultra Disk? See Microsoft’s Using Azure Ultra Disks and Deploy a Premium SSD v2. You can also see the full plan for this course on the Azure Cloud Administration course page.

Scroll to Top

This website uses cookies

We use a few cookies to keep this site working. If you allow it, we also use Google Analytics to count visits so we can improve our lessons. You can accept all, deny the optional ones, or choose what to allow.