Lesson 3 of 6 Azure Core Architectural Components

Understanding Availability Zones

This lesson explains availability zones, how zonal and zone-redundant services use them, and where zones sit among Azure's resilience options.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe what an availability zone is.
  • Distinguish zonal, zone-redundant and non-regional services.
  • Compare availability sets, availability zones and multi-region designs.

What an availability zone is

An availability zone is a physically separate location within an Azure region. Each zone is made up of one or more datacentres equipped with independent power, cooling and networking, so a problem in one zone, such as a power failure or fire, does not take down the others. Zones are close enough together to be connected by high-performance, low-latency networks, which lets data be replicated between them synchronously.

To ensure resiliency, a region that supports availability zones has a minimum of three zones. Not every region supports availability zones, so checking support is part of choosing a region for a highly available solution. Zone numbers (1, 2 and 3) are mapped to physical zones separately for each subscription, so zone 1 in one subscription is not necessarily the same building as zone 1 in another.

True or false

Zone facts

Exam skills 2.1.2

Check what an availability zone is.

Log in to try this activity Interactive activities are free with an account.

How services use availability zones

Azure services support availability zones in different ways. The following table describes the categories and gives examples.

CategoryHow it worksExamples
ZonalThe resource is pinned to a zone you choose; resilience comes from deploying instances in several zonesVirtual machines, managed disks, public IP addresses
Zone-redundantThe platform replicates or spreads the resource across zones automaticallyZone-redundant storage (ZRS), zone-redundant SQL Database, zone-redundant VPN gateways
Non-regionalThe service is always available from Azure geographies and is resilient to zone and region failuresMicrosoft Entra ID, Azure DNS

For a zonal service, a single VM in zone 1 is not protected from the failure of zone 1; the customer must deploy at least one more VM in another zone and distribute traffic, for example with a zone-redundant load balancer. For a zone-redundant service, the protection is built in.

Sort into groups

Zonal, zone-redundant or non-regional?

Exam skills 2.1.2

Place each service in the way it uses availability zones.

Log in to try this activity Interactive activities are free with an account.

Zones in the resilience hierarchy

Availability zones sit between two other resilience levels. Availability sets protect VMs against hardware and maintenance events within one datacentre; availability zones protect against the failure of a whole datacentre or zone; and deploying to a second region protects against the loss of an entire region.

Availability set
Protects againstRack-level hardware failure and planned maintenance
ScopeWithin one datacentre
Typical VM SLA99.95%
Availability zones
Protects againstFailure of a datacentre or zone
ScopeAcross zones in one region
Typical VM SLA99.99%
Multiple regions
Protects againstFailure of a whole region
ScopeAcross regions
Typical VM SLADepends on the design

Using zones means paying for the instances deployed in each zone, and multi-region designs cost more again, so the choice depends on how much downtime the workload can tolerate.

Scenario questions

How much resilience?

Exam skills 2.1.2 · 2.2.2

Choose the resilience level that matches each failure to survive.

Log in to try this activity Interactive activities are free with an account.
Worked example

Zonal or zone-redundant

A company deploys a web application on two virtual machines in the same availability zone of the UK South region, behind a load balancer. An outage in that zone takes the application offline. What change gives the application resilience to a zone failure while keeping it in UK South?

Virtual machines are zonal resources, so placing both in one zone gives no protection against that zone failing. The company should place the VMs in different availability zones (for example zone 1 and zone 2) behind a zone-redundant load balancer. Moving the second VM to another region would also survive a zone failure but adds latency and complexity that the requirement does not call for, and an availability set protects only within a single datacentre.

Check yourself

What is the minimum number of availability zones in a zone-enabled region?

Show answer

Three, so that the failure of one zone leaves at least two working.

Exam Tips

Remember for the exam

  • An availability zone is one or more datacentres with independent power, cooling and networking.
  • Zone-enabled regions have at least three zones; not all regions support zones.
  • Zonal resources are pinned to one zone; zone-redundant resources span zones automatically.
  • Availability zones protect against datacentre failure, not regional failure.