Create a virtual machine in an availability zone using the Azure portal
Applies to: ✔️ Windows VMs
This article steps through using the Azure portal to create a virtual machine in an Azure availability zone. An availability zone is a physically separate zone in an Azure region. Use availability zones to protect your apps and data from an unlikely failure or loss of an entire datacenter.
To use an availability zone, create your virtual machine in a supported Azure region.
Sign in to Azure
Sign in to the Azure portal at https://portal.azure.com.
Click Create a resource > Compute > Virtual machine.
Enter the virtual machine information. The user name and password is used to sign in to the virtual machine. The password must be at least 12 characters long and meet the defined complexity requirements.
Choose a region such as East US 2 that supports availability zones.
Under Availability options, select Availability zone dropdown.
Under Availability zone, select a zone from the drop-down list.
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.
Finish filling in the information for your VM. When you are done, select Review + create.
Once the information is verified, select Create.
After the VM is created, you can see the availability zone listed in the Essentials section on the page for the VM.
Confirm zone for managed disk and IP address
When the VM is deployed in an availability zone, a managed disk for the VM is created in the same availability zone. By default, a public IP address is also created in that zone.
You can confirm the zone settings for these resources in the portal.
Select Disks from the left menu and then select the OS disk. The page for the disk includes details about the location and availability zone of the disk.
Back on the page for the VM, select the public IP address. In the left menu, select Properties. The properties page includes details about the location and availability zone of the public IP address.
In this article, you learned how to create a VM in an availability zone. Learn more about availability for Azure VMs.