AWS Global Infrastructure
Regions, AZs and edges — where things actually run
AWS regions, AZs, local zones and edge locations form a geography of isolation and acceleration. Knowing which layer hosts what matters for latency, residency and DR.
What you will learn
- Explain AWS's region/AZ/edge hierarchy
- Match deployment layers to use cases
- Apply region placement for residency and latency requirements
What is this?
AWS geography is layered. Regions contain at least 2 physically isolated AZs; AZs are data centers with independent power/cooling/network connected by low-latency links. Local Zones extend regions closer to users; Wavelength zones embed AWS at 5G networks; Outposts put AWS infrastructure on your premises; CloudFront edge locations cache content at hundreds of points of presence. Data stays in its region unless you deliberately replicate.
Why do you need it?
- AZ awareness turns redundancy into real availability — no single facility failure takes you down.
- Regions control latency (physics) and residency (law) simultaneously.
- Local zones/outposts serve ultra-low-latency or on-prem-required workloads that can't live in a regional data center.
- Edge locations give your CDN and global accelerator speed without hosting durable state.
Mental model
A city, its hospitals, and ambulance outposts
Region, AZs, and edge locations
The city (region) covers residency; independent hospitals (AZs) mean one fire can't take the whole city down; outposts near where people are (edges) shorten response times.
How it works
- You pick a region per workload; services are regional (buckets, DNS) or global (IAM, CloudFront) depending on service.
- Within a region, distribute instances across at least 2 AZs so capacity survives one AZ's failure.
- AZ interconnect uses low-latency private links, which is why synchronous database replicas work across AZs.
- Local zones/outposts present region-like APIs but place hardware closer or on-prem.
- Edge locations accelerate via Route 53/CloudFront/Global Accelerator but never hold your source of truth.
AWS geographic layers.
In production
- A SaaS runs its API in ap-southeast-2 spread over two AZs, with CloudFront caching static assets at edge PoPs worldwide.
- A telco embeds a 5G app in a Wavelength zone to keep gaming round-trips under 20ms.
- A factory runs Outposts on-site for machine-data capture, syncing aggregates to the parent region.
Best practices
- Place state where compliance says it must live; place compute near the state, not near you.
- Design every regional service to survive one AZ loss and test that in a game day.
- Use edge layers to accelerate, never to store the authoritative copy.
- Review the region map annually — new regions and zones appear and change the trade-offs.
Common mistakes
- Putting replicas in the same region 'because it's cheaper' — data residency says otherwise.
- Confusing 'multi-region' with global redirects in a single-region active design.
- Using one AZ for instance fleets and hoping for the best.
- Choosing a region by habit while users are on another continent.
Common issues
CloudFront URL resolves but content is staleEdge cached an old version past TTL
Invalidate the cache or use versioned object keys (cache-busting) for updates.
Replicas all fail at onceInstances falsely promised multi-AZ but share one subnet
Verify each replica's actual AZ/subnet and spread them across at least 2 AZs.
Local zone workload can't reach regional servicesLocal zones need explicit VPC routing to the parent region
Check route tables and security groups for the parent-region path.
Debugging tips
- Measure latency from the user's region, not from your office.
- On an AZ anomaly, shift traffic by adjusting Route 53/LB weights rather than redeploying.
- Verify replicas are in distinct AZs by listing actual placement, not by trusting a label.
- Check whether a service is regional or global before troubleshooting cross-region surprises.
Interview checkpoint
Quick quiz
Which AWS layer caches content near users but hosts no authoritative data?
Data automatically replicates between AWS regions.