Lesson 4 of 4 Scaling Compute, Caching and Global Deployment

Deploying Workloads Across Multiple Regions for Global Scale

Some workloads must serve users worldwide with low latency or exceed what one Region should carry. Deploying to multiple Regions for scale raises different questions from disaster recovery: how users are routed, how data is shared, how releases are rolled out safely to many Regions, and how the system is partitioned to limit blast radius. This lesson explains these design and deployment patterns.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain why and when workloads are deployed to multiple Regions for scale and latency.
  • Describe routing options for directing users to the nearest healthy Region.
  • Explain Regional independence, static stability and the difference between control plane and data plane operations.
  • Explain data strategies for global applications, including home-Region writes and global replication.
  • Describe how pipelines, StackSets and cell-based architectures deploy and isolate multi-Region workloads.

Why Multiple Regions for Scale

Users far from a Region experience latency of hundreds of milliseconds per round trip, which edge caching cannot remove for dynamic requests. Data residency rules may require that data stays in a geography. A single Region also represents a large blast radius and has finite quotas. Running the workload in several Regions, each serving nearby users, addresses all three, at the cost of operating several copies and designing for distributed data.

Routing Users to Regions

Route 53 latency-based routing sends each user to the Region with the lowest measured latency, with health checks removing unhealthy Regions. Geolocation routing sends users by country or continent, which supports data residency. Geoproximity routing sends users by distance with adjustable bias, which can move load between Regions. CloudFront in front of several Regional origins accelerates dynamic requests over the AWS network and caches what it can. API Gateway regional endpoints with custom domain names in each Region, combined with Route 53 latency records, give a single API name served globally.

The routing options answer different requirements, so the decisive requirement in a scenario selects the option, as compared below.

Latency routing
Decides byMeasured network latency
StrengthBest performance per user
Unmatched usersNot applicable
Choose when Lowest latency is the requirement.
Geolocation routing
Decides byThe user's country or continent
StrengthCompliance and residency
Unmatched usersA default record is needed
Choose when Users from a country must be served by a specific Region.
Geoproximity routing
Decides byDistance, adjusted by a bias
StrengthShifting load between Regions
Unmatched usersNot applicable
Choose when Load must be moved gradually between Regions.
CloudFront with Regional origins
Decides byEdge location, then origin rules
StrengthCaching and accelerated dynamic requests
Unmatched usersNot applicable
Choose when Content is cacheable or global users need an accelerated path.

Regional Independence and Static Stability

A multi-Region deployment improves scale and blast radius only if each Region can work on its own. A hidden cross-Region dependency, such as an authentication service, a configuration store or a secret that exists in only one Region, turns that Region into a single point of failure for all the others. Each Region's request path should therefore use only resources in the same Region: Regional STS endpoints rather than the global endpoint, replicated secrets and parameters, Regional copies of container images, and local queues and caches.

Static stability, introduced for Availability Zones in the resilience module, applies to Regions in the same way. It depends on a distinction between the control plane, the APIs that create, modify and delete resources, and the data plane, the resources that serve traffic once they exist. Data planes are designed for higher availability than control planes. A statically stable multi-Region design provisions enough capacity in each Region in advance to absorb traffic from a failed Region, and fails over with data plane operations such as Route 53 health checks or ARC routing controls, rather than relying on launching instances or changing DNS records through control plane APIs during an event. This is why pre-provisioned capacity and health-check-based routing are preferred in scenarios that require the most reliable failover.

Data for Global Applications

Data design determines how far a global architecture can go. Several patterns exist.

  • Global replication with local reads: Aurora Global Database or ElastiCache Global Datastore serve fast local reads in every Region, while writes go to the primary Region, with write forwarding where supported.
  • Multi-active writes: DynamoDB global tables accept writes in every Region with last-writer-wins conflict resolution or multi-Region strong consistency.
  • Home-Region partitioning: each user or tenant is assigned a home Region where its data lives and is written; requests are routed there, which avoids conflicts and supports residency.
  • Replicated reference data: product catalogues and configuration replicated everywhere, with S3 replication or DynamoDB global tables.

Supporting resources must exist in every Region: container images through ECR replication, secrets through Secrets Manager replication, multi-Region KMS keys for data that moves between Regions, AMIs copied by EC2 Image Builder distribution, and quotas raised to match.

Sort into groups

Choose the global data pattern

Exam skills 3.2.4 · 3.1.3

Choose the data pattern for each global application.

Log in to try this activity Interactive activities are free with an account.

Deploying to Many Regions Safely

A release to many Regions should not change them all at once. Pipelines deploy in waves: first to a single low-traffic Region, then after a bake period with alarm monitoring to a few more, then to the rest, as described in the CodePipeline cross-Region lesson. CloudFormation StackSets deploy a template to many Regions with sequential Region order and failure tolerance, and CDK Pipelines express waves directly. The same artifact is promoted to every Region, and configuration differences between Regions are parameters, never separate code.

Cell-based architecture extends this idea within and across Regions: the workload is divided into independent cells, each a complete copy of the stack serving a subset of customers, with a thin routing layer that maps customers to cells. A failure or a faulty deployment affects only one cell, and capacity grows by adding cells rather than by enlarging a single shared system. Deployments proceed cell by cell.

Worked example

Expanding a SaaS Platform Globally

A SaaS platform in us-east-1 is adding customers in Europe and Asia. European customer data must stay in the EU, Asian customers complain about latency, and releases have occasionally broken all customers at once.

  1. Regions and routing

    Deploy the stack to eu-central-1 and ap-southeast-1. Use Route 53 geolocation for European customers and latency routing for others, with health checks.

  2. Data

    Assign each tenant a home Region; tenant data lives only there. Replicate the global product catalogue with DynamoDB global tables.

  3. Supporting resources

    Enable ECR and Secrets Manager replication and raise quotas in the new Regions.

  4. Releases

    Deploy through CodePipeline in waves: one cell in ap-southeast-1, then the remaining cells of that Region, then eu-central-1, then us-east-1, each with a bake period and alarm-based rollback.

Check yourself

Why should a multi-Region release pipeline deploy Regions in successive stages rather than in parallel actions of one stage?

Show answer

Successive stages with bake periods limit the blast radius: if the release is faulty, alarms in the first Region stop the pipeline before other Regions are changed.

Exam Tips

Remember for the exam

  • Latency routing serves users from the nearest healthy Region; geolocation supports data residency.
  • Keep each Region's request path within the Region; statically stable designs pre-provision capacity and fail over with data plane mechanisms such as health checks and ARC routing controls.
  • Global data patterns: local reads from global databases, multi-active DynamoDB global tables, or home-Region partitioning to avoid conflicts.
  • Replicate supporting resources (ECR images, secrets, KMS multi-Region keys, AMIs) and raise quotas in every Region.
  • Deploy to Regions in waves with bake periods; cell-based architectures limit blast radius and scale by adding cells.