Create virtual machines in an availability zone using the Azure portal

Applies to: ✔️ Linux VMs ✔️ Windows VMs

This article steps through using the Azure portal to create highly resilient virtual machines in availability zones. Azure availability zones are physically separate locations within each Azure region that are tolerant to local failures. Use availability zones to protect your applications and data against unlikely datacenter failures.

To use availability zones, create your virtual machines in a supported Azure region.

Some users will now see the option to create VMs in multiple zones. If you see the following message, use the Preview tab below.

Screenshot showing that you have the option to create virtual machines in multiple availability zones.

  1. Sign in to the Azure portal.

  2. Click Create a resource > Compute > Virtual machine.

  3. Enter the virtual machine information. The user name and password or SSH key is used to sign in to the virtual machine.

  4. Choose a region such as East US 2 that supports availability zones.

  5. Under Availability options, select Availability zone dropdown.

  6. Under Availability zone, select a zone from the drop-down list.

  7. Choose a size for the VM. Select a recommended size, or filter based on features. Confirm the size is available in the zone you want to use.

  8. Finish filling in the information for your VM. When you're done, select Review + create.

  9. Once the information is verified, select Create.

  10. After the VM is created, you can see the availability zone listed in the Essentials section on the page for the VM.

Create a Zonal Virtual Machine in an Azure-selected Zone

Important

These features are currently in PREVIEW. See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

If you would like the resiliency benefits of a Zonal Virtual Machine and want help with selecting a zone, you can have Azure select the best-fit zone for your deployment.

Note

Please review the Restrictions section before deploying your VM using an Azure-Selected Zone.

  1. Sign in to the Azure portal using this link enabling the feature.
  2. In the Basics tab, under Project details, make sure the correct subscription is selected and then choose a resource group or create a new one.
  3. Under Instance details, type a name for the Virtual machine name.
  4. For Availability options, Ensure Availability zone is selected.
  5. For Zone options (Preview), select Azure-selected zone. The Availability zone selection should now be grayed out.
  6. Configure the rest of your Virtual Machine as normal for deployment.

Screenshot showing how to choose an Azure-selected zone.

Restrictions

Regions

Deploying a VM into an Azure-selected zone is available in all Zonal Regions except the following regions.

  • BrazilSouth
  • CentralIndia
  • EastUS
  • JapanEast
  • KoreaCentral

Disks

Existing OS and Data Disks are currently not supported. New Data Disk Source Type must be "none".

Supported Disk types

  • Standard HDDs (hard disk drives)
  • Premium SSDs
  • Premium SSD V2
  • Ultra Disks
  • Standard SSD ZRS

Unsupported Disk types

  • Standard SSD LRS

Screenshot supported disks for an Azure-selected zone.

Other resources

  • Existing Public IPs aren't supported for an Azure-selected zone. They can be added after deployment.
  • New Public IPs must be Zone Redundant or use an Azure-Selected Zone.
  • Load Balancers and Application Gateways must be Zonally Resilient to attach during the VM deployment.
  • Proximity Placement Groups, Capacity Reservation Groups, and Azure Dedicated Host aren't supported.
  • Site Recovery configuration isn't available during VM creation but can be configured after deployment.

Next steps

In this article, you learned how to create a VM in an availability zone. Learn more about availability for Azure VMs.