Skip to main content
Career Paths
Concepts
Regions Availability Zones
The Simplified Tech

Role-based learning paths to help you master cloud engineering with clarity and confidence.

Product

  • Career Paths
  • Interview Prep
  • Scenarios
  • AI Features
  • Cloud Comparison
  • Resume Builder
  • Pricing

Community

  • Join Discord

Account

  • Dashboard
  • Credits
  • Updates
  • Sign in
  • Sign up
  • Contact Support

Stay updated

Get the latest learning tips and updates. No spam, ever.

Terms of ServicePrivacy Policy

© 2026 TheSimplifiedTech. All rights reserved.

BackBack
Interactive Explainer

Regions & Availability Zones

Cloud regions, availability zones, and data residency — where your workloads physically run, how AZ isolation prevents outages, and what data residency means in practice for compliance.

🎯Key Takeaways
A region is a geographic area with multiple isolated data centres called Availability Zones
AZs share low-latency links but have independent power and cooling — a failure in one AZ does not affect others
Multi-AZ is the production baseline; multi-region is for DR or global latency requirements
Cross-AZ data transfer costs $0.01/GB each direction — design to minimise unnecessary cross-AZ traffic
Data residency regulations (GDPR, PIPL) mandate specific regions; verify service availability in those regions before designing

Regions & Availability Zones

Cloud regions, availability zones, and data residency — where your workloads physically run, how AZ isolation prevents outages, and what data residency means in practice for compliance.

~8 min read
Be the first to complete!
What you'll learn
  • A region is a geographic area with multiple isolated data centres called Availability Zones
  • AZs share low-latency links but have independent power and cooling — a failure in one AZ does not affect others
  • Multi-AZ is the production baseline; multi-region is for DR or global latency requirements
  • Cross-AZ data transfer costs $0.01/GB each direction — design to minimise unnecessary cross-AZ traffic
  • Data residency regulations (GDPR, PIPL) mandate specific regions; verify service availability in those regions before designing

What Regions and AZs Actually Are

A cloud region is a distinct geographic area — a named cluster of data centers owned and operated by one cloud provider. Regions are completely isolated from each other: separate power grids, separate networks, and often separate legal jurisdictions. AWS has 33 launched regions (2025); GCP has 40+; Azure has 60+.

An Availability Zone (AZ) is one or more physically separate data centers within a single region. AZs in the same region are connected by high-bandwidth, ultra-low-latency private fiber (typically <2ms), but each has its own power, cooling, and physical security. If one AZ floods, the others in the region keep running.

Why the distinction matters operationally

Most cloud HA (high availability) patterns deploy across multiple AZs in the same region — this protects against hardware failures, power outages, and network issues in a single data centre. Multi-region is reserved for disaster recovery (DR) scenarios where an entire geographic area becomes unavailable or for global latency requirements. AZ-level HA is the baseline; multi-region is the advanced play.

ScopeWhat it protects againstExamplesTypical use
Single AZNothing — single point of failureeu-west-1a onlyDevelopment environments only
Multi-AZ (same region)Data centre failure, power outage, AZ-level network issueeu-west-1a + eu-west-1b + eu-west-1cProduction HA baseline
Multi-RegionFull region outage, regional internet disruption, catastrophic eventsus-east-1 + eu-west-1Disaster recovery, global latency, compliance

Multi-AZ Architecture Patterns

Deploying across multiple AZs is the most common resilience pattern in cloud architecture. Managed services handle AZ distribution for you — but only if you configure them correctly.

Key services and their multi-AZ behaviour

  • Elastic Load Balancer (ALB/NLB): AZ-aware by default — An ALB deployed across 3 AZs automatically distributes traffic to healthy targets in all AZs. If AZ-A goes down, the ALB stops routing to it. Enable "cross-zone load balancing" to ensure even distribution even if one AZ has fewer instances.
  • RDS Multi-AZ: synchronous standby in a second AZ — RDS Multi-AZ creates a synchronous replica in a second AZ. Failover is automatic and typically takes 60–120 seconds. Data is never lost (synchronous replication). This is NOT a read replica — the standby is not queryable, only the primary serves reads and writes.
  • Auto Scaling Groups: spread across AZs with rebalancing — An ASG configured for 3 AZs distributes instances as evenly as possible. If one AZ has a capacity issue, ASG launches replacement instances in the other AZs. Always configure ASGs with at least 2 AZs.
  • ElastiCache / Redis Cluster Mode: shards across AZs — Redis Cluster Mode distributes shards (and their replicas) across AZs. A shard failure triggers failover to its replica in a different AZ within seconds.

Cross-AZ data transfer costs money

Traffic between AZs in the same region is NOT free. AWS charges $0.01/GB each way for cross-AZ traffic. In a high-throughput system (e.g. 10 TB/day of inter-service traffic across AZs), this adds up to ~$100/day just in cross-AZ transfer. Design to minimise cross-AZ traffic: co-locate compute and its primary database replica in the same AZ when possible.

check-multi-az.sh
1# Verify an ALB is deployed across multiple AZs
An ALB should span all available AZs in the region for maximum resilience
2aws elbv2 describe-load-balancers \
3 --names my-production-alb \
4 --query 'LoadBalancers[0].AvailabilityZones[*].ZoneName' \
5 --output text
6
7# Check which AZs an RDS Multi-AZ instance uses
SecondaryAvailabilityZone is the standby AZ — should be different from the primary
8aws rds describe-db-instances \
9 --db-instance-identifier my-production-db \
10 --query 'DBInstances[0].{AZ:AvailabilityZone,MultiAZ:MultiAZ,SecondaryAZ:SecondaryAvailabilityZone}'
11
12# Describe AZs available in the current region
13aws ec2 describe-availability-zones \
14 --query 'AvailabilityZones[*].{Name:ZoneName,State:State}' \
15 --output table

Data Residency and Compliance

Data residency is the requirement that certain data must be stored and processed within a specific geographic boundary — most commonly a country or jurisdiction. Cloud providers do not move data between regions unless you explicitly configure cross-region services.

RegulationGeographic scopeKey requirementCloud impact
GDPR (EU)European Economic AreaPersonal data of EU residents must be processed lawfully; transfers outside EEA require adequacy decision or SCCsUse EU regions (eu-west-1, eu-central-1, etc.); avoid logging PII in US-region CloudWatch
UK GDPRUnited KingdomUK-equivalent of GDPR post-BrexitSeparate UK regions (eu-west-2 London for AWS)
China PIPLChinaPersonal data of China residents must be stored in ChinaMust use AWS cn-north-1 or cn-northwest-1 (separate entity from global AWS)
India DPDPIndiaFinancial and health data may need to remain in IndiaUse ap-south-1 Mumbai
FedRAMP (US Gov)United States government dataFederal data must stay in FedRAMP-authorized regionsAWS GovCloud (us-gov-west-1, us-gov-east-1)

Always verify which services are available in your required region before designing the architecture

Not every AWS/GCP/Azure service is available in every region. AWS has 200+ services but many are only in us-east-1 first, and some regions (especially newer ones or gov cloud) have a significantly smaller service catalog. Check the regional availability matrix before choosing a region for a compliance-constrained project.

How this might come up in interviews

Cloud engineer, solutions architect, and DevOps interviews always include AZ and region questions. Expect to design a multi-AZ architecture and explain failover behaviour for each tier.

Common questions:

  • Explain the difference between a region and an availability zone.
  • You are designing a highly available web application. What is the minimum number of AZs you would use and why?
  • A customer requires all data to stay in the EU. How would you design the architecture?
  • What is the cost implication of running a multi-AZ architecture?

Strong answer: Immediately asks about RTO/RPO when multi-region is mentioned. Distinguishes between AZ-level HA (common) and region-level DR (expensive, complex). Mentions specific services (ALB, RDS Multi-AZ, ASG) and their AZ behaviour.

Red flags: Confuses AZs with regions. Does not mention data residency when discussing EU deployments. Thinks "multi-AZ" and "multi-region" mean the same thing.

Match the cloud component to its AZ/Region role

0 / 6 matched

Match each AWS service or concept on the left with its correct availability and failover characteristic on the right.

Quick check · Regions & Availability Zones

1 / 5

An EC2 instance in AZ us-east-1a goes down. You have an ALB routing to this instance and two other instances in us-east-1b and us-east-1c. What happens?

Key takeaways

  • A region is a geographic area with multiple isolated data centres called Availability Zones
  • AZs share low-latency links but have independent power and cooling — a failure in one AZ does not affect others
  • Multi-AZ is the production baseline; multi-region is for DR or global latency requirements
  • Cross-AZ data transfer costs $0.01/GB each direction — design to minimise unnecessary cross-AZ traffic
  • Data residency regulations (GDPR, PIPL) mandate specific regions; verify service availability in those regions before designing
Before you move on: can you answer these?

What is the single configuration that makes a subnet "public" in AWS?

A route table entry with destination 0.0.0.0/0 pointing to an Internet Gateway. Without this route, even a subnet labelled "public" is not internet-reachable.

Your RDS Multi-AZ instance fails over. Application reconnection takes 8 minutes. What is most likely wrong?

The application is caching the resolved IP address of the RDS endpoint DNS name instead of re-resolving it. RDS failover works by updating the DNS record; if the app caches the IP, it keeps connecting to the failed AZ. Fix: reduce DNS TTL and use RDS Proxy for connection pooling.

🧠Mental Model

💡 Analogy

Think of regions as different cities, and AZs as different buildings within each city. If a building catches fire, the other buildings in the same city are fine (multi-AZ resilience). If a natural disaster hits the entire city, you need your backup office in a different city (multi-region DR). Most of the time, having offices in multiple buildings of the same city is sufficient protection.

⚡ Core Idea

AZs protect against hardware and data centre failures (the common case). Regions protect against geographic-scale events (the rare but catastrophic case). Multi-AZ is the baseline for any production workload; multi-region is for DR or global user bases.

🎯 Why It Matters

Virtually every cloud architecture interview question assumes you know to deploy across multiple AZs. Deploying in a single AZ is considered a design defect in production. Understanding the cost (cross-AZ transfer fees) and how managed services handle AZ failures distinguishes senior engineers from juniors.

Related concepts

Explore topics that connect to this one.

  • High availability (HA) & resilience
  • Disaster Recovery (DR)
  • What is networking?

Ready to see how this works in the cloud?

Switch to Career Paths for structured paths (e.g. Developer, DevOps) and provider-specific lessons.

View role-based paths

Sign in to track your progress and mark lessons complete.

Discussion

Questions? Discuss in the community or start a thread below.

Join Discord

In-app Q&A

Sign in to start or join a thread.