Chapter 28: AWS Availability Zones

AWS Availability Zones

If you remember our last lesson on AWS Regions, we said a Region is like a big state (e.g., Telangana or Maharashtra).

Availability Zones are the individual secure buildings (data centers) inside that state — close enough to talk to each other very fast, but far enough apart that a fire, flood, power cut, or network failure in one building does not affect the others.

This is the secret sauce that lets AWS promise 99.99%+ availability for most services — but only if you design your application to use multiple AZs.

Let me explain it like we’re drawing on a big Hyderabad city map together — slow, clear, with everyday analogies, real local examples, current 2026 facts, and exactly how to use AZs in real projects.

1. What Exactly is an Availability Zone? (Simple Definition First)

An Availability Zone (AZ) is one or more physically separate data centers with independent power, cooling, networking, and physical security — all located inside the same AWS Region.

Key points everyone must remember:

  • AZs in the same Region are physically separated by many kilometers (usually 10–100 km apart).
  • They are connected to each other with ultra-low-latency, redundant private fiber-optic networking (AWS calls it the “metro network”).
  • Each AZ gets its own power grid feeds, backup generators, cooling systems — so a power failure or cooling issue in one AZ does not take down another AZ.
  • Naming convention: Region code + letter → ap-south-2a, ap-south-2b, ap-south-2c (the three AZs in Hyderabad Region)

Analogy every Hyderabadi will understand instantly:

Imagine Hyderabad city during a big festival (Bathukamma or Diwali mela):

  • Region = entire Hyderabad city
  • Availability Zones = three big venues far apart:
    • AZ-a = Gachibowli stadium
    • AZ-b = Banjara Hills convention center
    • AZ-c = Hi-Tech City ground

If a sudden rain floods Gachibowli stadium → the events in Banjara Hills and Hi-Tech City continue normally. But because they are connected by very fast roads (metro fiber), people / goods / announcements can move between venues in seconds.

Same way in AWS:

  • Your app runs copies in all three AZs
  • Flood/power cut hits one AZ → traffic instantly fails over to other AZs → users don’t notice

2. Why Do AZs Exist? (The Four Big Reasons)

Reason What It Protects Against Real Impact if You Ignore AZs (Common Mistake) Why It Matters in Hyderabad
High Availability Power failure, cooling failure, network cut, fire/flood in one building App goes down completely if single AZ fails Power cuts / heavy rain are real risks
Fault Tolerance Hardware failure inside one data center One bad server or rack kills your whole app No single point of failure
Low-Latency Communication AZs are close (metro fiber) Cross-Region = 40–300 ms latency Hyderabad → Hyderabad AZs = <2 ms between AZs
Compliance & DR Spread risk across physically separate locations Single AZ = no disaster recovery RBI / DPDP Act love multi-AZ

3. Current Numbers & Naming (Feb 2026 – India Focus)

  • Every AWS Region has at least 3 AZs (most have 3–6)
  • India Regions:
    • ap-south-1 (Mumbai) → 3 AZs (ap-south-1a, 1b, 1c)
    • ap-south-2 (Hyderabad) → 3 AZs (ap-south-2a, 2b, 2c)
  • AZ letters (a, b, c…) are unique per account — your ap-south-2a is not the same physical AZ as your friend’s ap-south-2a (this is intentional for security & load balancing)

4. Real Hyderabad Example: Multi-AZ Food Delivery App

Your startup’s Swiggy-like app in Gachibowli:

Bad design (single AZ – common beginner mistake):

  • All 6 EC2 web servers in ap-south-2a only
  • RDS database in ap-south-2a
  • Power cut / network glitch hits AZ-a → entire app offline → users see “Service Unavailable” → bad reviews, lost orders

Good design (multi-AZ – production standard):

  1. Application layer
    • 6 EC2 / ECS / Fargate tasks → 2 in each AZ (ap-south-2a, 2b, 2c)
    • Behind Application Load Balancer (ALB) → ALB automatically routes only to healthy AZs
  2. Database layer
    • RDS Multi-AZ → primary instance in 2a, synchronous standby in 2b
    • Failover time: ~60–120 seconds (automatic)
  3. What happens during failure?
    • Network issue in AZ-a → ALB stops sending traffic to AZ-a instances
    • RDS detects primary unhealthy → promotes standby in 2b to primary
    • App stays up (maybe brief 1–2 min blip for DB connections)
    • Auto Scaling Group launches replacement tasks in healthy AZs

Result: Users in Hyderabad keep ordering biryani even if one data center has a problem — 99.99%+ uptime.

5. Quick Hands-On: See & Use AZs in Console

  1. Log in → set Region to Asia Pacific (Hyderabad) ap-south-2
  2. Go to EC2 → Launch instance → scroll to “Network settings” → see Subnet dropdown shows subnets in ap-south-2a, 2b, 2c
  3. Create RDS → choose Multi-AZ deployment → see standby created in different AZ
  4. Create ALB → see it automatically spans all AZs with subnets

Summary Table – Availability Zones Cheat Sheet (2026)

Question Answer (Beginner-Friendly)
What is an AZ? Physically separate data center(s) inside a Region
How many AZs per Region? Minimum 3 (most have 3–6)
Hyderabad Region AZs? ap-south-2a, ap-south-2b, ap-south-2c
Why spread across AZs? Survive failures in one AZ (power, network, flood, etc.)
Communication speed between AZs? Ultra-fast (<2 ms) – private metro fiber
Best practice for production? Always multi-AZ (at least 2–3) for HA

Teacher’s final note: Availability Zones are how AWS achieves true high availability — not by magic, but by spreading your app across physically separate buildings. Single-AZ = single point of failure. Multi-AZ = real cloud resilience.

Got it? This is the “don’t put all your biryani in one tiffin box” lesson.

Next?

  • How to design a real multi-AZ architecture (EC2 + RDS + ALB)?
  • What happens during AZ failure (real outage stories)?
  • Or difference between AZ failure vs Region failure?

Tell me — next class ready! 🚀🏙️

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *