AWS Global Infrastructure

Regions, Availability Zones, edge locations, and how to pick where your workload runs.

What is it?

AWS runs its services from sites all over the world. Learn these words first:

  • Region: a separate geographic area (for example us-east-1 or eu-west-1) with several data center clusters. Regions are isolated from each other. Your data stays in a Region unless you move it.
  • Availability Zone (AZ): one or more data centers inside a Region with their own power, cooling and networking, linked to the other AZs by fast, low-latency links. Named as Region plus a letter, like us-east-1a.
  • Edge location: a site that services like CloudFront (CDN) and Route 53 use to deliver content close to users. There are many more edge locations than Regions.
  • Local Zones: small extensions of a Region near large cities, for single-digit-millisecond latency.
  • Outposts: AWS-managed hardware in your data center, giving you AWS APIs on-premises.

Choosing a Region: weigh four factors, usually in this order:

  • Compliance: laws or policies about where data may live come first. They are not negotiable.
  • Latency: pick a Region near most of your users.
  • Service availability: not every service or feature launches in every Region at once.
  • Pricing: the same service costs different amounts in different Regions.

AWS Global Accelerator gives your app two static anycast IP addresses and routes users over the AWS backbone to the nearest healthy endpoint. Unlike CloudFront it does not cache content. It speeds up and steadies TCP/UDP traffic and fails over automatically.

AZs in more detail

  • Regions are designed with at least three AZs. An AZ can be more than one building.
  • AZs are far enough apart that one event is unlikely to hit two of them, so they share no single point of failure. They sit on separate flood plains with their own power substations and backup generators, within roughly 100 km of each other, linked by redundant high-bandwidth metro fiber. Traffic between AZs is encrypted.
  • Running across at least two AZs is the usual high-availability design.
  • AZ names such as us-east-1a are mapped per account. AZ IDs such as use1-az5 point to the same physical AZ in every account.
  • You rarely pick an AZ directly. You pick a subnet, and each subnet lives in exactly one AZ.
  • A fault domain is a part of the system whose failure stays contained. Each AZ is an independent failure zone and the Region is the larger fault boundary. AWS manages finer-grained fault domains for you.

Why use more than one Region? (1) Disaster recovery and business continuity if a whole Region fails, (2) lower latency for users on other continents, (3) data sovereignty and compliance rules that need data in a given country or area, and (4) access to services that launch in some Regions first. Data never leaves a Region unless you copy it.

US East (N. Virginia), `us-east-1` was the first Region. It usually gets new services and features first, has the most AZs, and is where billing data and billing metrics appear. Good to know for the exam.

Regional vs global services: most services are Regional, and the console shows only resources in the selected Region. Global services such as IAM, Route 53 and CloudFront have no Region choice. S3 is a mix: its console is global, but each bucket lives in one Region you pick.

The AWS global network is AWS's private, high-speed backbone linking Regions and edge sites.

  • Points of presence (PoPs): edge locations and regional edge caches. They sit between Regions and users and act as on-ramps to the backbone for faster delivery and uploads.
  • Direct Connect locations: partner colocation data centers where you plug a dedicated line from your premises into AWS.
  • VPC endpoints: keep traffic from your VPC to AWS services on the AWS network instead of the public internet.

Edge and hybrid options compared

  • Local Zones: compute, storage and databases near large cities. Each is attached to a parent Region (named like us-west-2-lax-1a), offers a subset of services, and works like a subnet of that Region. Opt in from the EC2 console or API (no support ticket). Uses: media production, real-time gaming, ad tech, chip design.
  • Wavelength Zones (AWS Wavelength): AWS compute and storage inside telecom carriers' 5G networks, for very low latency mobile apps (game streaming, live video, connected vehicles). Opt in, create a subnet in the Wavelength Zone with a carrier gateway, and launch EC2 there as usual.
  • Outposts: AWS installs and manages its hardware in your data center or colocation site (full 42U racks or smaller 1U/2U servers). Same APIs and tools on-premises; also useful for data residency.
  • VMware Cloud on AWS: run existing VMware vSphere workloads on AWS infrastructure.
  • Edge computing in general means running work close to where data is made or used (phones, IoT devices, telecom sites, edge locations), for example CloudFront Functions or Lambda@Edge.

Residency, sovereignty and special Regions

  • Data residency is where data physically lives. Compliance boundaries are the legal rules on where it may live. Data sovereignty is which country's laws apply because of where the data sits.
  • AWS GovCloud (US): isolated Regions for sensitive US government and regulated workloads (for example ITAR or FedRAMP High). Run by screened US citizens; only vetted US persons can hold accounts. FedRAMP is the US government's standard programme for assessing and authorising cloud services.
  • AWS China Regions (Beijing, run by Sinnet, and Ningxia, run by NWCD): fully separate from global AWS, with separate accounts. They need a Chinese business licence.
  • AWS European Sovereign Cloud: a separate cloud located and run within the EU for strict European sovereignty needs.

High availability is not always automatic. Some services are multi-AZ by default (S3 Standard stores data across several AZs). A single EC2 instance lives in one subnet, so one AZ. Get availability by running instances in several AZs behind a load balancer, or pick an option that does it for you: Elastic Beanstalk's high-availability setting (load balancer plus Auto Scaling group) or the RDS Production template, which turns on Multi-AZ.

Sustainability: Amazon co-founded The Climate Pledge, aiming for net-zero carbon across the company, including AWS, by 2040. AWS focuses on renewable energy, data centers more energy-efficient than typical enterprise ones, and water stewardship (such as recycled water for cooling).

Explain like I'm 10

Think of a worldwide delivery company. A Region is one city's logistics network. An Availability Zone is a warehouse district in that city with its own power and roads, so a blackout in one district does not stop the others. Edge locations are neighborhood pickup lockers holding popular parcels close to customers.

Examples

Exploring Regions and AZs with the CLI

# All Regions enabled for your account
aws ec2 describe-regions --query "Regions[].RegionName" --output text

# AZs in one Region
aws ec2 describe-availability-zones \
  --region eu-west-1 \
  --query "AvailabilityZones[].[ZoneName,State]" \
  --output table

# Make a Region your default for this profile
aws configure set region eu-west-1

Most CLI calls are Region-scoped. Forgetting your Region is the classic cause of 'where did my server go?'

Region-choice worksheet

Workload: customer portal for German retail customers

1. Compliance : customer data must stay in the EU        -> EU Regions only
2. Latency    : users are in Germany                     -> eu-central-1 (Frankfurt)
3. Services   : needs a service launched there?          -> verify in the docs
4. Price      : compare with eu-west-1 if latency is OK  -> decide

How it works

Most Regions have at least three AZs. They are far enough apart not to share one disaster (flood, fire) but close enough for synchronous replication. When you launch a resource you pick a Region, and for many resources an AZ (or a subnet in one AZ).

For high availability, spread copies of your workload across multiple AZs. For disaster recovery or global users, you may use multiple Regions. Edge locations cache and speed up content; they do not run your servers.

A few services are global (IAM, Route 53, CloudFront configuration); most are Regional. Data stays in a Region unless you set up replication or copy it.

            AWS Global Infrastructure
 +------------- Region (eu-west-1) --------------+
 |  +- AZ a -+    +- AZ b -+    +- AZ c -+       |
 |  | data   |====| data   |====| data   |       |
 |  | centers|    | centers|    | centers|       |
 |  +--------+    +--------+    +--------+       |
 |     low-latency, encrypted private links      |
 +-----------------------------------------------+
       ^                              ^
       |                              |
  [Local Zone]                 [Edge locations]
  near a big city              cache near users
       |
  [Outposts] = AWS hardware in your data center

Why does it exist?

One data center is a single point of failure, and one country is far from users elsewhere. Isolated Regions and AZs let you survive failures, meet data-residency laws, and keep latency low.

When to use it

Use multiple AZs for almost any production workload that must stay up. Use multiple Regions for disaster recovery from a Region-wide event, very low latency on several continents, or a legal need for separate geographies. Use Local Zones or Outposts when milliseconds matter or data must stay on your premises.

When not to use it

Do not go multi-Region by default. It adds cost, replication complexity and operational work. For most apps, multi-AZ in one Region is the right first step. Do not pick a Region just because it is the console default.

Common mistakes

  • Choosing a Region only by price, ignoring compliance and latency.

  • Putting everything in one AZ and calling it 'highly available'.

  • Confusing an edge location with an AZ - edge locations do not host your EC2 instances.

  • Not finding a resource in the console because the Region selector is set to another Region.

  • Assuming AZ names (like us-east-1a) map to the same physical data center for every account; they are mapped per account.

  • Thinking Global Accelerator and CloudFront are the same: CloudFront caches content at the edge, Global Accelerator accelerates traffic to your own endpoints.

  • Believing that two resources in the same AZ are highly available - spread them across AZs.

  • Assuming every service is multi-AZ by default: S3 Standard is, a single EC2 instance is not.

  • Thinking Local Zones or Wavelength Zones are available automatically; you must opt in to them first.

  • Expecting a normal AWS account to work in the China or GovCloud Regions; they are separate partitions with their own accounts.

  • Searching a different Region for an S3 bucket - the S3 console is global, but the bucket itself lives in one Region.

Practice exercises

  1. Easy:

    In your own words, explain the difference between a Region, an Availability Zone, and an edge location.

  2. Easy:

    List the four factors for choosing a Region and rank them for an app that stores health records for Canadian patients.

  3. Medium:

    Run the describe-availability-zones command above for two Regions. How many AZs does each have?

  4. Easy:

    Sort these into Regional or global: IAM, EC2, Route 53, RDS, CloudFront, an S3 bucket.

  5. Medium:

    For each, pick Local Zones, Wavelength, Outposts or a normal Region: (a) a mobile AR game on 5G, (b) a factory that must keep data on-site, (c) a film studio in a big city needing low-latency rendering, (d) a standard web shop.

  6. Hard:

    On paper, design a deployment that survives losing one AZ, then extend it to survive losing a whole Region. List the extra cost and complexity each step adds.

Interview questions

What is an Availability Zone?

One or more discrete data centers in a Region with independent power, cooling, and networking, linked to other AZs in the Region by low-latency connections.

How do you choose a Region?

Compliance and data residency first, then latency to users, then which services are available there, then price.

What is the difference between an edge location and a Region?

Regions host your workloads; edge locations are used by services like CloudFront and Route 53 to cache and deliver content close to end users.

Exam-style: A company needs to keep data in a specific country by law. What should it consider first? (A) Price (B) Compliance and data residency (C) Latency (D) Number of edge locations

B. Legal requirements outrank all other Region-selection factors.

Exam-style: Which AWS offering places AWS-managed infrastructure inside a customer's own data center?

AWS Outposts.

Exam-style: Which service delivers AWS compute inside 5G networks for ultra-low latency mobile apps?

AWS Wavelength.

Exam-style: Which service provides static anycast IPs and routes users to the nearest healthy endpoint over the AWS backbone?

AWS Global Accelerator.

Give three reasons to deploy in multiple Regions.

Disaster recovery, lower latency for distant users, and data-residency or compliance requirements.

Exam-style: Which Region usually receives new AWS services first and is where billing metrics are reported?

US East (N. Virginia), us-east-1.

Exam-style: Which AWS Regions are designed for US government agencies and contractors with sensitive, regulated workloads?

AWS GovCloud (US).

Exam-style: A company needs single-digit millisecond latency for users in a large city far from any Region. Which option fits? (A) Outposts (B) Local Zones (C) GovCloud (D) Edge locations

B. Local Zones extend a Region into large metropolitan areas.

Is a single EC2 instance highly available?

No. It runs in one subnet in one AZ; you need instances in multiple AZs behind a load balancer.

What is the difference between data residency and data sovereignty?

Residency is where data physically sits; sovereignty is the legal jurisdiction that governs the data because of where it sits.

How many AZs is a Region designed to have?

At least three, physically separated, with independent power and redundant, encrypted low-latency links.