Skill 3.2.6

Deploy virtual machines to availability zones and availability sets

Key Concepts

An availability set spreads VMs across fault domains (racks with separate power and network, up to 3) and update domains (groups rebooted together during planned maintenance, up to 20, 5 by default) within one datacentre. Two or more VMs in an availability set have a 99.95% SLA. It protects against rack failures and maintenance, but not against the loss of a whole datacentre. Availability sets are free and must use managed disks (aligned SKU).

Availability zones are physically separate datacentres in a region, with independent power, cooling and networking. Deploying two or more VMs in different zones gives a 99.99% SLA and survives a zone failure. A VM is zonal (pinned to zone 1, 2 or 3), and related resources such as Standard public IPs and load balancers can be zone-redundant. A VM's availability set or zone is chosen at creation; changing it requires recreating the VM, although moving a VM into an availability zone is possible with Azure Resource Mover or Site Recovery.