Architect apps for Wavelength - AWS Wavelength

Architect apps for Wavelength

Wavelength Zones are designed for the following workloads:

  • Applications that require edge resiliency across existing AWS hybrid and edge infrastructure deployments

  • Applications that need to connect to compute from 4G or 5G mobile devices with ultra-low latency

  • Applications that need consistent data rates from mobile devices to compute in a Wavelength Zone

Review Quotas and considerations for Wavelength Zones, which includes information about available Wavelength Zones, service differences, and Service Quotas.

Consider the following factors when using Wavelength Zones:

  • AWS recommends that you architect the edge applications in a hub and spoke model with the Region to provide the most scalable, resilient, and cost-effective options for components. For more information, see Workload placement

  • Services that run in Wavelength Zones have different compliance than services in an AWS Region. For more information, see Compliance validation for AWS Wavelength.

Wavelength Zones have network access that is specific to a telecommunication carrier and location. Therefore, you might need to have multiple Wavelength Zones for your latency-sensitive applications to meet your latency requirements. For more information, see Networking considerations.

Discover the closest Wavelength Zone endpoint

You can use the following procedures to have client devices discover the closest Wavelength Zone endpoint, for example an Amazon EC2 instance:

  • Register the instance with a discovery service such as AWS Cloud Map. For information about how to register an instance, see Registering Instances in the AWS Cloud Map Developer Guide.

  • Another approach is to use multiple Wavelength Zones across your deployment and utilize adjacent Zones, powered by carrier-developed edge discovery services to route mobile traffic. For more information, see Deploying dynamic 5G Edge Discovery architectures with AWS Wavelength.

  • Applications that run on client devices can run latency tests such as ping from the client to select the best endpoint that is registered in AWS Cloud Map, or can use the geolocation data from the mobile device.

Load balancing

Application Load Balancer (ALB) is supported in select Wavelength Zones. Load balancers distribute your incoming traffic across multiple targets, such as Amazon EC2 instances, containers, and IP addresses, within the Wavelength Zone. Key considerations include:

ALB is available in the following Wavelength Zones:

  • All Wavelength Zones in the us-east-1 Region.

  • All Wavelength Zones in us-west-2 Region.

  • All Wavelength Zones in the ap-northeast-1 Region.

  • All Wavelength Zones in the eu-central-1 Region.

High availability

Follow these strategies to deploy highly available architectures at the edge.

Deployment

Consider the following:

  • Multiple Wavelength Zones within a given VPC: using techniques highlighted in the Discover the closest Wavelength Zone endpoint section, you can steer traffic to the optimal Wavelength Zone based on latency or application health.

  • Combine Wavelength Zones with other AWS hybrid and edge locations: you can combine AWS Local Zones subnets with AWS Wavelength Zones subnets to create highly-available deployments within a given geography. For example, you can create an Atlanta AWS Local Zone subnet (us-east-1-atl-2a) alongside an Atlanta Wavelength Zone subnet (us-east-1-wl1-atl-wlz-1) within the same VPC.

DNS resolution

One way to create both physical and logical redundancy across your high-availability edge deployments is to utilize the parent Region as the failover, using simple RouteĀ 53-based failover policies to steer traffic to an available endpoint. For more information, see Configuring DNS failover in the Amazon RouteĀ 53 Developer Guide.

Workload placement

Run the following components in the Region:

  • Components that are less latency sensitive

  • Components that need to be shared across Zones

  • Components that need to persist state, such as databases

Run the application components that need ultra-low latency and higher bandwidth over 5G mobile networks in Wavelength Zones.

For optimal throughput, AWS recommends that you use a public service endpoint when applications in the Wavelength Zone need to connect to AWS services in the parent Region.