Choosing Hybrid Compute: Outposts, Local Zones and ECS or EKS Anywhere
This lesson compares Outposts, Local Zones, ECS Anywhere, EKS Anywhere and EKS Hybrid Nodes for workloads that must run outside AWS Regions.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish Outposts, Local Zones and the Anywhere options by hardware, services and drivers.
- Choose a hybrid compute option from latency, residency and existing hardware requirements.
- Identify design considerations for workloads outside Regions.
AWS infrastructure in more places
AWS Outposts
Outposts installs AWS-managed racks or servers in the customer's data centre or colocation site. Outposts racks run EC2, EBS, S3 on Outposts, ECS, EKS, RDS, ElastiCache and other services with the same APIs and tools as the parent Region, to which they stay connected. They suit low-latency access to on-premises systems, local data processing and data that must stay on site. The customer provides space, power and network, and plans capacity in advance.
AWS Local Zones
Local Zones are AWS-operated extensions of a Region in large metropolitan areas that bring compute, storage and selected services within single-digit milliseconds of nearby users, for example for media rendering, real-time gaming or trading, without the customer hosting any hardware. A VPC is extended into the Local Zone with a subnet.
Which hybrid compute option?
AWS management for customer hardware
Amazon ECS Anywhere installs the ECS and Systems Manager agents on customer-managed servers or VMs and registers them as external instances, so the same ECS control plane, task definitions and tooling schedule tasks on premises and in AWS. Amazon EKS Anywhere creates and operates Kubernetes clusters on customer infrastructure, such as VMware vSphere or bare metal, with an optional support subscription, and EKS Hybrid Nodes join on-premises machines to an EKS cluster whose control plane runs in AWS. The customer remains responsible for the hardware and its availability.
Design considerations
- Plan for the link to the parent Region: Outposts and Anywhere workloads depend on it for management, and some need it for operation.
- Size Outposts capacity for failures, because capacity cannot be added on demand.
- Keep the same IaC, pipelines and monitoring across Regions, Outposts and on-premises clusters.
- Check which services and instance types are available in each Local Zone or Outpost.
Three sites, three answers
A manufacturer has a factory whose quality inspection must keep working when its WAN link fails and whose images must stay on site, a design studio in a city far from a Region that needs low-latency rendering, and 200 small branch servers that run containerised apps.
The factory gets an Outposts rack running EKS and S3 on Outposts, sized for a node failure.
The studio uses EC2 GPU instances in the Local Zone in its city, reached over Direct Connect. The branch servers are registered with ECS Anywhere, so the same task definitions and pipeline deploy to branches and to the Region.
Data must stay in the customer's own building but use EC2 and EBS APIs. Which option fits?
Show answer
AWS Outposts, which installs AWS-managed infrastructure on the customer's premises with the same APIs as the Region. Local Zones are AWS facilities.
Exam Tips
Remember for the exam
- AWS services with the same APIs on premises for residency or local latency: Outposts.
- Single-digit millisecond latency to a city without owning hardware: Local Zones.
- Run containers on existing on-premises servers from one control plane: ECS Anywhere or EKS Anywhere.
- Join on-premises machines to an EKS cluster in AWS: EKS Hybrid Nodes.