Lesson 6 of 6 Amazon EC2

Extending Compute with Local Zones, Wavelength and Outposts

This lesson explains how AWS Local Zones, Wavelength Zones and Outposts bring compute closer to users or on-premises systems than a Region can, which the exam guide lists under edge processing and hybrid compute.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish Local Zones, Wavelength Zones and Outposts.
  • Choose between them from where the latency or data requirement lies.

The three options

AWS Local Zones place a subset of AWS services, such as EC2, EBS and some database services, in large metropolitan areas outside a Region, giving users there single-digit millisecond latency, for example for media rendering or real-time gaming. A Local Zone is enabled for the account, and a subnet is created in it within an existing VPC. AWS Wavelength embeds compute in telecommunications providers' 5G networks, so that mobile devices reach applications without leaving the carrier network, for ultra-low-latency mobile use cases such as connected vehicles or augmented reality.

AWS Outposts brings AWS infrastructure, services and APIs into the customer's own data centre as AWS-managed racks or servers. It suits workloads that need very low latency to on-premises systems, local data processing or data residency, while using the same tools as in the Region. VMware Cloud on AWS is a related option for running existing VMware workloads on AWS infrastructure. The following table compares the options.

OptionWhere it runsChoose for
Local ZonesAWS infrastructure in a metropolitan area, attached to a parent RegionSingle-digit millisecond latency for users in that city
Wavelength ZonesInside a carrier's 5G networkUltra-low latency for mobile and 5G devices
OutpostsAWS-managed hardware in your data centreLow latency to on-premises systems, local processing, data residency
CloudFront edge locationsAWS edge networkCaching and lightweight edge logic, not general compute

The following diagram shows where each option runs in relation to its parent Region.

Where the three options run in relation to a Region. A Local Zone is AWS infrastructure in a metropolitan area, attached to a parent Region, for single-digit millisecond latency in that city. A Wavelength Zone sits inside a carrier's 5G network for mobile devices. Outposts are AWS-managed racks or servers in the customer's own data centre.
All three extend the same VPC, APIs and tools, so workloads use the same services as in the Region.
Sort into groups

Where should it run?

Exam skills 3.4.3

Choose the location option for each workload.

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

Choosing between them

The deciding factor is where the latency or data requirement lies. If end users in a particular city need low latency, a Local Zone is the answer. If the clients are mobile devices on a 5G network, Wavelength fits. If the application must stay close to systems or data in the company's own facility, or data must not leave the premises, Outposts is the answer. When the requirement is to cache content or run small functions close to viewers, CloudFront with CloudFront Functions or Lambda@Edge is simpler and cheaper than running instances at the edge.

Worked example

A manufacturer runs a quality inspection application that must process images from factory cameras within a few milliseconds, and regulations require the images to stay on site. The company wants to use the same EC2 instances, EBS volumes and APIs that it uses in its AWS Region. Which option fits?

The requirements are very low latency to on-premises equipment and data that must stay on site, while keeping AWS APIs and tools. AWS Outposts installs AWS-managed infrastructure in the factory, where EC2 instances and EBS volumes run locally and are managed from the parent Region. A Local Zone is in a city data centre, not on the factory floor, so the data would leave the site. Wavelength serves 5G mobile devices. CloudFront caches content and does not run the inspection application.

Check yourself

Which option runs AWS infrastructure in a customer's own data centre?

Show answer

AWS Outposts. Local Zones and Wavelength Zones are run by AWS in metropolitan areas and in telecommunications networks.

Exam Tips

Remember for the exam

  • For single-digit millisecond latency to users in a specific city, use a Local Zone.
  • For ultra-low latency to 5G mobile devices, use Wavelength.
  • For AWS services on premises, low latency to local systems or data residency, use Outposts.
  • Outposts and Local Zones extend a VPC from a parent Region with subnets.