Mastering the AWS Global Infrastructure
AWS global infrastructure (for example, Availability Zones, AWS Regions, Amazon Route 53)
Mastering the AWS Global Infrastructure
This guide covers the foundational components of the AWS cloud environment, including geographic Regions, isolated Availability Zones, and the global networking services like Amazon Route 53 that tie them together.
Learning Objectives
- Distinguish between AWS Regions, Availability Zones, and Edge Locations.
- Explain the relationship between VPCs, subnets, and Availability Zones.
- Describe the core functions of Amazon Route 53, including DNS management and health checks.
- Identify which AWS services are offered via global edge network locations.
Key Terms & Glossary
- Region: A physical location around the world where AWS clusters data centers.
- Availability Zone (AZ): One or more discrete data centers with redundant power, networking, and connectivity in an AWS Region.
- Edge Location: A site that CloudFront uses to cache copies of your content for faster delivery to users at any location.
- Endpoint: A URL that is the entry point for an AWS web service (e.g.,
ec2.us-east-1.amazonaws.com). - Hosted Zone: A container for records that specify how you want to route traffic for a domain (e.g., example.com).
The "Big Idea"
The "Big Idea" behind AWS infrastructure is Physical Isolation for Logical Resilience. By spreading resources across multiple Availability Zones within a Region, and multiple Regions across the globe, AWS allows architects to build applications that can survive the failure of an entire data center or even an entire geographic area.
Formula / Concept Box
| Level | Component | Scope & Purpose |
|---|---|---|
| Global | Route 53 / CloudFront | Global DNS and content delivery; low-latency access. |
| Regional | AWS Region | Geographic isolation; data sovereignty and compliance. |
| Zonal | Availability Zone | Fault isolation; synchronous replication within the same region. |
| Network | Subnet | Logical slice of a VPC associated with a specific AZ. |
[!IMPORTANT] Port 53: Amazon Route 53 is named after TCP/UDP Port 53, which is the standard port for DNS (Domain Name System) traffic.
Hierarchical Outline
- I. Global Infrastructure Hierarchy
- AWS Regions: Geographic areas (e.g.,
us-east-1,eu-west-1). - Availability Zones (AZs): Sub-units of Regions; physically isolated.
- Edge Locations: Specialized points of presence for Route 53 and CloudFront.
- AWS Regions: Geographic areas (e.g.,
- II. Networking in the Cloud
- VPC (Virtual Private Cloud): A private network defined within a single Region.
- Subnets: IP address blocks mapped to a specific AZ within a VPC.
- III. Amazon Route 53
- Domain Registration: Managing domain ownership.
- DNS Management: Routing users to endpoints via hosted zones.
- Health Checks: Monitoring resource availability and performing automatic failover.
Visual Anchors
AWS Infrastructure Hierarchy
Region vs. AZ Architecture
\begin{tikzpicture} \draw[thick, dashed] (0,0) rectangle (6,4) node[above left] {Region (e.g., us-east-1)}; \draw[fill=blue!10] (0.5,0.5) rectangle (2.5,3.5) node[midway, align=center] {AZ-A \ (Datacenters)}; \draw[fill=blue!10] (3.5,0.5) rectangle (5.5,3.5) node[midway, align=center] {AZ-B \ (Datacenters)}; \draw[<->, thick, red] (2.5,2) -- (3.5,2) node[midway, above, scale=0.7] {High-Speed Fiber}; \node[draw, fill=green!10] at (1.5,1) {Subnet 1}; \node[draw, fill=green!10] at (4.5,1) {Subnet 2}; \end{tikzpicture}
Definition-Example Pairs
- Public Hosted Zone: A container for DNS records accessible via the internet.
- Example: Routing
www.mycompany.comto an Application Load Balancer so global customers can access your website.
- Example: Routing
- Private Hosted Zone: A container for DNS records accessible only within specified VPCs.
- Example: Creating an internal domain like
db.internal.localso your application servers can find the database without exposing its IP to the public web.
- Example: Creating an internal domain like
- Alias Record: A Route 53 specific record type that points to AWS resources.
- Example: Pointing
api.myapp.comdirectly to an S3 bucket or a CloudFront distribution instead of using a standard CNAME.
- Example: Pointing
Worked Examples
Scenario: Designing for High Availability
Problem: You are deploying a web application that must remain available even if a power outage strikes a local data center.
Step-by-Step Solution:
- Select a Region: Choose a region close to your users (e.g.,
us-west-2). - Create a VPC: Define your network space.
- Deploy across AZs: Create at least two subnets, one in
us-west-2aand one inus-west-2b. - Load Balancing: Place an Elastic Load Balancer (ELB) in front of instances in both AZs.
- Route 53 Routing: Configure a Route 53 record pointing to the ELB. If
us-west-2afails, the ELB and Route 53 will ensure traffic only flows to the healthy instances inus-west-2b.
Checkpoint Questions
- What is the difference between a Region and an Availability Zone?
- Which AWS services utilize Edge Locations for lower latency?
- How does a Private Hosted Zone differ from a Public Hosted Zone in Route 53?
- Why is the number "53" significant in the name of the AWS DNS service?
▶Click to see answers
- A Region is a geographic area; an Availability Zone is one or more discrete datacenters within that Region.
- Amazon CloudFront, Amazon Route 53, AWS Shield, and AWS WAF.
- A Public Hosted Zone is accessible via the internet; a Private Hosted Zone is only resolvable within specified VPCs.
- DNS traffic traditionally uses TCP/UDP Port 53.