Volume 1 · Chapter 2 — AWS Foundations and Cloud Computing
AWS Global Infrastructure
2.1 Introduction
Every resource you create in AWS runs somewhere physical, and understanding that geography is essential to designing systems that are available, fast, compliant, and recoverable. AWS organizes its global footprint into a deliberate hierarchy: Regions, Availability Zones, and edge locations. These are not marketing terms - they are the units you make real architectural decisions with. Which Region you choose determines data residency and latency; how you spread across Availability Zones determines your resilience to failure; and edge locations determine how close cached content sits to your users. This chapter builds the mental model you’ll rely on for the rest of the series.
2.2 Regions
A Region is a separate geographic area - such as Ireland, North Virginia, or Canada Central - containing a cluster of data centres. Regions are isolated from one another by design: a problem in one Region does not cascade into another, and by default your resources and data stay in the Region you create them in unless you explicitly copy them elsewhere. You choose a Region for four main reasons: data residency and compliance (a bank may be legally required to keep customer data in-country), latency to your users (closer is faster), the availability of specific services (not every service launches everywhere at once), and cost (prices vary by Region). For a regulated institution the compliance driver often dominates - which is why a Canadian bank runs its workloads in a Canadian Region so customer data never leaves the country.
2.3 Availability Zones
Within each Region are multiple Availability Zones (AZs) - typically three or more. An AZ is one or more physically separate data centres with independent power, cooling, and networking, located far enough apart that a fire, flood, or power failure in one won’t affect the others, yet connected to the other AZs in the Region by high-bandwidth, low-latency private links. This design is the single most important tool for high availability in AWS: by running your application across multiple AZs, you ensure that losing an entire data centre - which does happen - takes out only part of your capacity, not your whole system. The low-latency links between AZs make synchronous replication practical, so a managed database can keep a standby copy in a second AZ and fail over to it in seconds.
flowchart TB
subgraph Region[Region: ca-central-1]
subgraph AZa[Availability Zone A]
APP1[App instance] --- DBP[(Primary DB)]
end
subgraph AZb[Availability Zone B]
APP2[App instance] --- DBS[(Standby DB)]
end
subgraph AZc[Availability Zone C]
APP3[App instance]
end
DBP -. synchronous replication .-> DBS
LB[Load Balancer] --> APP1 & APP2 & APP3
end 2.4 Edge Locations and the Global Network
Beyond Regions and AZs, AWS operates a much larger network of edge locations - points of presence in many cities worldwide - used primarily by content delivery (CloudFront) and DNS (Route 53) to serve users from a location physically near them. When a customer loads static content or a cached API response, it can be delivered from a nearby edge location rather than travelling all the way to the Region, cutting latency dramatically. Edge locations also provide the entry point to AWS’s private global backbone, so traffic between your users and your Region can travel over AWS’s own optimized network rather than the public internet for much of its journey.
2.5 Connecting a Corporate Network to AWS
Enterprises rarely run purely in the cloud; they connect their existing corporate network and branches to AWS. There are two primary options. A Site-to-Site VPN creates an encrypted tunnel over the public internet between the corporate network and the AWS Region - quick to set up and inexpensive, but subject to internet variability. AWS Direct Connect provides a dedicated private physical connection between the corporate data centre and AWS, delivering consistent low latency, higher bandwidth, and traffic that never touches the public internet - which is why banks favour it for connecting branches and core systems, often with a VPN as an encrypted backup. (These are covered in depth in the networking volume.)
2.6 Banking Production Scenario
A Canadian bank deploys its core banking application into a Canadian Region to satisfy data-residency regulations. Within that Region it spreads application instances across three Availability Zones behind a load balancer, and runs its managed database with a synchronous standby in a second AZ. Branch offices connect to the Region over Direct Connect for consistent, private, low-latency access, with a Site-to-Site VPN configured as automatic failover. Customer-facing static content is served from edge locations near each city. The result: the loss of a single data centre degrades capacity but causes no outage, customer data never leaves the country, and branches get reliable performance - all consequences of deliberate use of the global infrastructure hierarchy.
2.7 Troubleshooting: Single-AZ Assumptions
The most common resilience failure is accidentally running in a single AZ. Teams launch instances, databases, and load-balancer targets without spreading them across zones, and everything works fine - until that one AZ has an issue and the whole system goes down. The fix is to always design multi-AZ: subnets in at least two (ideally three) AZs, a load balancer spanning them, managed databases configured with a standby in another AZ, and Auto Scaling groups told to balance across zones. A second common mistake is assuming resources or data replicate across Regions automatically - they do not. Cross-Region copies (for disaster recovery or global reach) must be configured explicitly, and forgetting this leaves a supposed DR plan that doesn’t actually exist.
Explain the difference between a Region and an Availability Zone, and why running across multiple AZs matters.
A Region and an Availability Zone are two levels of AWS’s physical hierarchy that solve different problems. A Region is a separate geographic area - such as Canada Central or Ireland - that contains a cluster of data centres, and Regions are isolated from one another so that a failure or event in one does not affect another, with your data staying in its Region unless you explicitly copy it elsewhere. You choose a Region primarily for data residency and compliance, latency to your users, service availability, and cost. An Availability Zone is a level below that: within each Region there are multiple AZs, and each AZ is one or more physically separate data centres with independent power, cooling, and networking, placed far enough apart to be isolated from each other’s local failures, but connected to the other AZs in the same Region by high-bandwidth, low-latency private links. So a Region is a geographic area for locating and isolating your whole footprint, while AZs are the isolated failure domains inside that area that you spread a single system across for resilience. Running across multiple AZs matters because it is the primary mechanism for high availability within a Region. Data centres do fail - power events, fires, network problems - and if your application, database, and load-balancer targets all live in one AZ, that single failure takes your entire system down. By deploying instances across two or three AZs behind a load balancer, and running your managed database with a synchronous standby in a second AZ, the loss of an entire AZ removes only part of your capacity: the load balancer routes around the failed zone, the database fails over to its standby in seconds, and Auto Scaling replaces lost instances - so you degrade rather than go dark. The low-latency private links between AZs are what make this practical, because they allow synchronous replication and fast failover without the latency penalty you’d get spanning Regions. The key distinction to land is that multi-AZ protects you from data-centre-level failure within a Region and is the default for any production system, whereas multi-Region protects you from a whole-Region event and addresses data residency or global latency - a bigger, more complex step. Crucially, none of this is automatic: you must explicitly design subnets, load balancers, databases, and scaling groups to span multiple AZs, and the most common resilience bug is unknowingly running everything in one zone.
How do you decide which Region to deploy a banking workload in?
I decide based on four factors, and for a regulated banking workload one of them usually dominates. The first and often decisive factor is data residency and compliance: banks are frequently required by law or regulator to keep customer data within a specific country or jurisdiction, so a Canadian bank deploys into a Canadian Region to ensure customer data never leaves the country, and that legal constraint can override every other consideration. The second is latency to users: a Region physically close to the customers or branches served gives lower latency and a better experience, so I pick a Region near the primary user base rather than one far away. The third is service availability: not every AWS service or feature launches in every Region simultaneously, so if the workload depends on a specific service, I confirm it’s available in the candidate Region before committing. The fourth is cost: prices vary by Region, so where compliance and latency permit a choice, cost can be a tiebreaker. For a bank the decision typically runs: first narrow to Regions that satisfy data-residency law, then among those choose the one closest to users that offers the services I need, then consider cost. I’d also think about disaster recovery from the start - which second Region I would replicate to for a Region-level DR strategy, again constrained by residency (the DR Region may need to be in the same country). And I’d verify the Region has enough Availability Zones to run multi-AZ, since resilience within the Region depends on that. So the framing is that Region selection is primarily a compliance and latency decision bounded by service availability and cost, and for banking the residency requirement usually leads - you don’t chase the cheapest Region if it would put customer data in the wrong jurisdiction.
What are edge locations, and how do CloudFront and Route 53 use them?
Edge locations are a large network of points of presence that AWS operates in many cities around the world, separate from and far more numerous than its Regions and Availability Zones. Their purpose is to put AWS infrastructure physically close to end users so that certain traffic can be served from nearby rather than travelling all the way to a Region. CloudFront, AWS’s content delivery network, uses edge locations to cache and serve content - static assets like images, scripts, and video, and even cacheable API responses - from the edge location nearest each user. When a user requests that content, CloudFront serves it from the local edge if it’s cached, which dramatically reduces latency and offloads traffic from the origin in the Region; only cache misses travel back to the origin. Route 53, AWS’s DNS service, uses the edge network to answer DNS queries quickly from locations near the user and to implement smart routing policies - for example latency-based routing that directs a user to the Region that will serve them fastest, or failover routing that sends traffic to a healthy Region if the primary is unhealthy. Edge locations also serve as the on-ramp to AWS’s private global backbone network, so traffic entering at an edge can travel across AWS’s own optimized network rather than the public internet for much of the path, improving performance and consistency. The mental model is a three-tier geography: Regions are where your applications and data live, Availability Zones are the isolated failure domains within a Region that you spread a system across for resilience, and edge locations are the many nearby caching and DNS points that bring content and entry points close to users. So CloudFront and Route 53 are the primary services that exploit edge locations - one to cache and deliver content close to users, the other to resolve DNS and route intelligently - and together they reduce latency and improve the resilience and reach of a global application.
Chapter Revision Notes
- Region = isolated geographic area of data centres; chosen for residency/compliance, latency, service availability, and cost.
- Availability Zone = physically separate data centre(s) within a Region with independent power/cooling/network, linked by low-latency private links.
- Multi-AZ is the primary high-availability mechanism; multi-Region addresses whole-Region failure and data residency.
- Edge locations power CloudFront (content caching) and Route 53 (DNS/routing) to serve users from nearby.
- Nothing replicates across AZs or Regions automatically - you must design it explicitly.