We use analytics cookies.We use cookies to analyze site traffic and improve your experience.
Loading...
System Design Masterclass · Cloud Infrastructure
Free preview: the first 2 parts of this 6-part lesson.
Already bought the course? Sign in to read the whole lesson.
this lesson is part of
System Design Masterclass
Unlock this lesson and the 751 other paid lessons
$25 once, by PayPal
See the System Design courseread the rest of this lesson in
System Design Masterclass
Unlock this lesson and the 751 other paid lessons
$25 once, by PayPal
See the System Design coursein Cloud Infrastructure
This lesson is part of the full System Design Masterclass. Unlock it along with 769 other lessons for a one-time payment.
One-time payment by card or PayPal
Get Lifetime AccessOne-time payment: UPI, card or netbanking
Get Lifetime Access18 Foundation lessons are free, no payment needed. Try them now
It is easy and good
“It is really nice and good Please join the course”
In 2017, a single Amazon S3 outage in us-east-1 took down a significant portion of the internet, including Slack, Trello, Quora, and parts of AWS's own dashboard. The root cause was a typo in a command that took down more servers than intended in one location.
If your entire application runs in a single data center and that data center has a power failure, a network cut, a cooling system malfunction, or a human error, your application goes down. 100% downtime. No fallback.
Availability Zones (AZs) solve this by giving you multiple physically separated data centers within the same region. Each AZ has independent power supplies, cooling, and networking. They're connected by high-bandwidth, low- links (typically <2ms). When one AZ fails, your application continues running in the others.
Spreading across AZs is the minimum viable high availability strategy. It's so fundamental that cloud architects consider a single-AZ deployment to be a design flaw, not a design choice.
Physical separation: Each AZ consists of one or more data centers in physically distinct locations, different buildings, different power substations, different flood plains. A fire, flood, or power outage that affects AZ-a should not affect AZ-b.
Network connection: AZs within a region are connected by dedicated, high-bandwidth fiber. between AZs is typically 1-2ms, fast enough for synchronous replication.
AZ naming quirk: AZ names are randomized per account. Your us-east-1a might map to a different physical data center than another account's us-east-1a. AWS does this to prevent everyone from packing into the "first" AZ. Use AZ IDs (like use1-az1) for cross-account coordination.
| Deployment Pattern | AZs Used | Availability | Cost |
|---|---|---|---|
| Single AZ | 1 | ~99.5% | Baseline |
| Multi-AZ | 2-3 | ~99.99% | 2-3x compute |
| Multi-Region | 2+ regions | ~99.999% | 4-6x+ (complex) |
What multi-AZ means in practice: Run at least 2 instances of every critical service, each in a different AZ. Put a in front. If one AZ goes down, the load balancer routes all traffic to the surviving instances.