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.
  • Currently only supports Single VM and Availability zone infrastructure options.

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
Two availability zones China North 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 Lsv3-series, Lasv3-series High disk throughput and IO ideal for Big Data, SQL, NoSQL databases, data warehousing and large transactional databases.
GPU optimized NCv3-series, NCasT4_v3-series, NVv4-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.

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 chinanorth3
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 = "chinanorth3"
$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 chinanorth3 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.

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

Currently, adjusting disk performance is only supported with Azure CLI or the Azure PowerShell module.

Next steps