Using Azure ultra disks

Applies to: ✔️ Linux VMs ✔️ Windows VMs ✔️ Flexible scale sets ✔️ Uniform scale sets

This article explains how to deploy and use an ultra disk, for conceptual information about ultra disks, refer to What disk types are available in Azure?.

Azure ultra disks offer high throughput, high IOPS, and consistent low latency disk storage for Azure IaaS virtual machines (VMs). This new offering provides top of the line performance at the same availability levels as our existing disks offerings. One major benefit of ultra disks is the ability to dynamically change the performance of the SSD along with your workloads without the need to restart your VMs. Ultra disks are suited for data-intensive workloads such as SAP HANA, top tier databases, and transaction-heavy workloads.

GA scope and limitations

The following list contains Ultra Disks's limitations:

  • Can't be used as OS disks.
  • Doesn't support disk export.
  • Doesn't support VM images.
  • Doesn't support availability sets.
  • Doesn't support Azure Disk Encryption.
    • Can't be attached to existing VMs previously encrypted with Azure Disk Encryption.
  • Doesn't support Azure Site Recovery.
  • Doesn't support disk caching.
  • Must deallocate your VM or detach your ultra disk in order to expand your Ultra Disk
  • Existing disks currently can't change their type to an Ultra Disk. They must be migrated.
  • Currently only supports Single VM and Availability zone infrastructure options.
  • Snapshots are supported with additional limitations.
  • Azure Backup support for VMs with Ultra Disks is generally available. Azure Backup has limitations when using Ultra Disks, see VM storage support for details.

Ultra disks support a 4k physical sector size by default but also supports a 512E sector size. Most applications are compatible with 4k sector sizes, but some require 512-byte sector sizes. Oracle Database, for example, requires release 12.2 or later in order to support 4k native disks. For older versions of Oracle DB, 512-byte sector size is required.

The following table outlines the regions ultra disks are available in, and their corresponding availability options.

Note

If a region in the following list lacks availability zones that support ultra disks, then a VM in that region must be deployed without infrastructure redundancy in order to attach an ultra disk.

Redundancy options Regions
Single VMs Australia Central
Brazil South
Canada East
Central India
East Asia
Germany West Central
Korea Central
Korea South
UK West
North Central US, South Central US, West US
US Gov Arizona, US Gov Texas, US Gov Virginia
One availability zone Brazil Southeast
Poland Central
UAE North
Two availability zones South Africa North
China North 3
France Central
Qatar Central
Switzerland North
Three availability zones Australia East
Canada Central
North Europe, West Europe
Japan East
Southeast Asia
Sweden Central
UK South
Central US, East US, East US 2, West US 2, West US 3

Not every VM size is available in every supported region with ultra disks. The following table lists VM series that are compatible with ultra disks.

VM Type Sizes Description
General purpose DSv3-series, Ddsv4-series, Dsv4-series, Dasv4-series, Dsv5-series, Ddsv5-series, Dasv5-series Balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers.
Compute optimized FSv2-series High CPU-to-memory ratio. Good for medium traffic web servers, network appliances, batch processes, and application servers.
Memory optimized ESv3-series, Easv4-series, Edsv4-series, Esv4-series, Esv5-series, Edsv5-series, Easv5-series, Ebsv5 series, Ebdsv5 series, M-series, Mv2-series, Msv2/Mdsv2-series High memory-to-CPU ratio. Great for relational database servers, medium to large caches, and in-memory analytics.
Storage optimized LSv2-series, Lsv3-series, Lasv3-series High disk throughput and IO ideal for Big Data, SQL, NoSQL databases, data warehousing and large transactional databases.
GPU optimized NCv2-series, NCv3-series, NCasT4_v3-series, ND-series, NDv2-series, NVv3-series, NVv4-series, NVadsA10 v5-series Specialized virtual machines targeted for heavy graphic rendering and video editing, as well as model training and inferencing (ND) with deep learning. Available with single or multiple GPUs.
Performance optimized HB-series, HC-series, HBv2-series The fastest and most powerful CPU virtual machines with optional high-throughput network interfaces (RDMA).

Determine VM size and region availability

VMs using availability zones

To use ultra disks, you need to determine which availability zone you are in. Not every region supports every VM size with ultra disks. To determine if your region, zone, and VM size support ultra disks, run either of the following commands, make sure to replace the region, vmSize, and subscription values first:

CLI

subscription="<yourSubID>"
# example value is southeastasia
region="<yourLocation>"
# example value is Standard_E64s_v3
vmSize="<yourVMSize>"

az vm list-skus --resource-type virtualMachines  --location $region --query "[?name=='$vmSize'].locationInfo[0].zoneDetails[0].Name" --subscription $subscription

PowerShell

$region = "southeastasia"
$vmSize = "Standard_E64s_v3"
$sku = (Get-AzComputeResourceSku | where {$_.Locations.Contains($region) -and ($_.Name -eq $vmSize) -and $_.LocationInfo[0].ZoneDetails.Count -gt 0})
if($sku){$sku[0].LocationInfo[0].ZoneDetails} Else {Write-host "$vmSize is not supported with Ultra Disk in $region region"}

The response will be similar to the form below, where X is the zone to use for deploying in your chosen region. X could be either 1, 2, or 3.

Preserve the Zones value, it represents your availability zone and you'll need it in order to deploy an Ultra disk.

ResourceType Name Location Zones Restriction Capability Value
disks UltraSSD_LRS eastus2 X

Note

If there was no response from the command, then the selected VM size is not supported with ultra disks in the selected region.

Now that you know which zone to deploy to, follow the deployment steps in this article to either deploy a VM with an ultra disk attached or attach an ultra disk to an existing VM.

VMs with no redundancy options

Ultra disks deployed in select regions must be deployed without any redundancy options, for now. However, not every VM size that supports ultra disks are necessarily in these regions. To determine which VM sizes support ultra disks, use either of the following code snippets. Make sure to replace the vmSize and subscription values first:

subscription="<yourSubID>"
region="westus"
# example value is Standard_E64s_v3
vmSize="<yourVMSize>"

az vm list-skus --resource-type virtualMachines  --location $region --query "[?name=='$vmSize'].capabilities" --subscription $subscription
$region = "westus"
$vmSize = "Standard_E64s_v3"
(Get-AzComputeResourceSku | where {$_.Locations.Contains($region) -and ($_.Name -eq $vmSize) })[0].Capabilities

The response will be similar to the following form, UltraSSDAvailable True indicates whether the VM size supports ultra disks in this region.

Name                                         Value
----                                         -----
MaxResourceVolumeMB                          884736
OSVhdSizeMB                                  1047552
vCPUs                                        64
HyperVGenerations                            V1,V2
MemoryGB                                     432
MaxDataDiskCount                             32
LowPriorityCapable                           True
PremiumIO                                    True
VMDeploymentTypes                            IaaS
vCPUsAvailable                               64
ACUs                                         160
vCPUsPerCore                                 2
CombinedTempDiskAndCachedIOPS                128000
CombinedTempDiskAndCachedReadBytesPerSecond  1073741824
CombinedTempDiskAndCachedWriteBytesPerSecond 1073741824
CachedDiskBytes                              1717986918400
UncachedDiskIOPS                             80000
UncachedDiskBytesPerSecond                   1258291200
EphemeralOSDiskSupported                     True
AcceleratedNetworkingEnabled                 True
RdmaEnabled                                  False
MaxNetworkInterfaces                         8
UltraSSDAvailable                            True

Deploy an ultra disk using Azure Resource Manager

First, determine the VM size to deploy. For a list of supported VM sizes, see the GA scope and limitations section.

If you would like to create a VM with multiple ultra disks, refer to the sample Create a VM with multiple ultra disks.

If you intend to use your own template, make sure that apiVersion for Microsoft.Compute/virtualMachines and Microsoft.Compute/Disks is set as 2018-06-01 (or later).

Set the disk sku to UltraSSD_LRS, then set the disk capacity, IOPS, availability zone, and throughput in MBps to create an ultra disk.

Once the VM is provisioned, you can partition and format the data disks and configure them for your workloads.

Deploy an ultra disk

This section covers deploying a virtual machine equipped with an ultra disk as a data disk. It assumes you have familiarity with deploying a virtual machine, if you don't, see our Quickstart: Create a Windows virtual machine in the Azure portal.

  1. Sign in to the Azure portal and navigate to deploy a virtual machine (VM).

  2. Make sure to choose a supported VM size and region.

  3. Select Availability zone in Availability options.

  4. Fill in the remaining entries with selections of your choice.

  5. Select Disks.

    Screenshot of vm creation flow, Basics blade.

  6. On the Disks blade, select Yes for Enable Ultra Disk compatibility.

  7. Select Create and attach a new disk to attach an ultra disk now.

    Screenshot of vm creation flow, disk blade, ultra is enabled and create and attach a new disk is highlighted.

  8. On the Create a new disk blade, enter a name, then select Change size.

    Screenshot of create a new disk blade, change size highlighted.

  9. Change the Disk SKU to Ultra Disk.

  10. Change the values of Custom disk size (GiB), Disk IOPS, and Disk throughput to ones of your choice.

  11. Select OK in both blades.

    Screenshot of the select a disk size blade, ultra disk selected for storage type, other values highlighted.

  12. Continue with the VM deployment, it is the same as you would deploy any other VM.

Deploy an ultra disk - 512 byte sector size

  1. Sign in to the Azure portal, then search for and select Disks.

  2. Select + New to create a new disk.

  3. Select a region that supports ultra disks and select an availability zone, fill in the rest of the values as you desire.

  4. Select Change size.

    Screenshot of create disk blade, region, availability zone, and change size highlighted.

  5. For Disk SKU select Ultra disk, then fill in the values for the desired performance and select OK.

    Screenshot of creating ultra disk.

  6. On the Basics blade, select the Advanced tab.

  7. Select 512 for Logical sector size, then select Review + Create.

    Screenshot of selector for changing the ultra disk logical sector size to 512.

Attach an ultra disk

Alternatively, if your existing VM is in a region/availability zone that is capable of using ultra disks, you can make use of ultra disks without having to create a new VM. By enabling ultra disks on your existing VM, then attaching them as data disks. To enable ultra disk compatibility, you must stop the VM. After you stop the VM, you can enable compatibility, then restart the VM. Once compatibility is enabled you can attach an ultra disk:

  1. Navigate to your VM and stop it, wait for it to deallocate.

  2. Once your VM has been deallocated, select Disks.

  3. Select Additional settings.

    Screenshot of the disk blade, additional settings highlighted.

  4. Select Yes for Enable Ultra Disk compatibility.

    Screenshot of enable ultra disk compatibility.

  5. Select Save.

  6. Select Create and attach a new disk and fill in a name for your new disk.

  7. For Storage type select Ultra Disk.

  8. Change the values of Size (GiB), Max IOPS, and Max throughput to ones of your choice.

  9. After you're returned to your disk's blade, select Save.

    Screenshot of disk blade, adding a new ultra disk.

  10. Start your VM again.

Adjust the performance of an ultra disk

Ultra disks offer a unique capability that allows you to adjust their performance. You can adjust the performance of an Ultra Disk four times within a 24 hour period.

  1. Navigate to your VM and select Disks.

  2. Select the ultra disk you'd like to modify the performance of.

    Screenshot of disks blade on your vm, ultra disk is highlighted.

  3. Select Size + performance and then make your modifications.

  4. Select Save.

    Screenshot of configuration blade on your ultra disk, disk size, iops, and throughput are highlighted, save is highlighted.

Next steps