Why Intra-Region Resiliency?
Even within a single Azure region, failures can occur at the hardware rack level or at the datacenter building level. To keep workloads resilient, Azure provides Availability Sets and Availability Zones (AZs), ensuring redundancy against localized failures.
1. Availability Sets
Definition:
Logical grouping of VMs to protect against rack-level failures.
Key Concepts:
-
Fault Domains (FDs): Physical racks with separate power/cooling.
-
Update Domains (UDs): Logical groupings updated during maintenance.
-
Azure ensures VMs in an Availability Set are spread across multiple FDs and UDs.
SLA:
-
99.95% when you deploy 2+ VMs in an Availability Set.
Best Use Cases:
-
Traditional workloads needing redundancy (e.g., domain controllers, legacy apps).
-
When application architecture cannot use Availability Zones.
2. Availability Zones (AZs)
Definition:
Physically separate datacenters within a region (power, cooling, networking isolated).
Key Concepts:
-
Each zone = independent datacenter.
-
Redundancy achieved by placing VMs across 2–3 AZs.
-
Works with zonal services (VMs, disks, IPs) or zone-redundant services (SQL, Storage).
SLA:
-
99.99% when deploying across 2+ AZs.
Best Use Cases:
-
Mission-critical apps requiring maximum uptime.
-
Modern architectures that can tolerate latency between zones.
3. Comparison: Availability Set vs Zone
| Feature | Availability Set | Availability Zone |
|---|---|---|
| Protection Against | Rack failures & updates | Datacenter-level failures |
| SLA | 99.95% | 99.99% |
| Scope | Within a datacenter | Across multiple datacenters in region |
| Latency | Minimal | Slight latency between AZs |
| Best For | Legacy VM-based apps | Mission-critical, modern apps |
Example Enterprise Scenario
A banking system has:
-
Domain controllers (legacy workloads).
-
Payment processing app requiring 24/7 uptime.
Correct design:
-
Place Domain Controllers in Availability Sets for rack-level resiliency.
-
Deploy Payment Processing app across Availability Zones for datacenter-level redundancy.
Confusion Buster
-
Availability Set vs Scale Set
-
Availability Set = redundancy (spread VMs).
-
Scale Set = elasticity (scale in/out VMs).
-
-
Availability Zone vs Region Pair
-
Zone = redundancy inside region.
-
Region Pair = redundancy across two regions.
-
-
SLA Levels
-
No redundancy → 99.9%.
-
Availability Set → 99.95%.
-
Availability Zones → 99.99%.
-
Exam Tips
-
“Which feature protects against rack-level failures?” → Availability Set.
-
“Which feature protects against datacenter-level failures?” → Availability Zones.
-
“Which gives 99.99% uptime SLA?” → Availability Zones.
-
“Which option is better for mission-critical apps?” → Availability Zones.
What to Expect in the Exam
-
Direct Q: “Which Azure construct ensures VMs are spread across racks?” → Availability Set.
-
Scenario Q: “Payment app must survive datacenter outage.” → Availability Zones.
-
Scenario Q: “Company requires 99.99% uptime SLA for VMs.” → Deploy in AZs.
-
Trick Q: “Availability Sets provide datacenter-level redundancy.” → False.