Lesson 4 of 4 Enterprise Integration Architectures

Meeting Data Residency with Regional, Hybrid and Edge Deployments

This lesson covers Regional design for data residency, AWS Outposts, AWS Wavelength and secure routing between environments, for regulation, contracts and latency that require data to be processed in a specific place.

Learning outcomes

After completing this lesson, you will be able to:

  • Meet data residency with Region selection and inference profiles.
  • Process data on premises with AWS Outposts.
  • Serve low-latency mobile inference with AWS Wavelength.
  • Route traffic securely between environments.

Data residency with Regions and inference profiles

The first tool for jurisdictional compliance is Region selection: deploy the application, knowledge bases, logs and backups in Regions inside the required country or geography. For model invocation, use models available in that Region or a geographic cross-Region inference profile whose Regions are all inside the permitted geography; avoid global profiles when data must not leave it. Service control policies with aws:RequestedRegion conditions prevent resources from being created elsewhere, and S3 replication rules must not copy data out of the geography.

AWS Outposts for on-premises processing

AWS Outposts delivers AWS-managed infrastructure into a customer's data centre, running services such as EC2, EBS, ECS, EKS and S3 on Outposts locally with the same APIs and tools as the Region. When data must not leave a facility, for example patient records in a hospital, an open-weight model can be self-hosted on Outposts GPU instances or containers, with embeddings and vector search also local, while management traffic connects to the parent Region. Managed services such as Bedrock are not available on Outposts, so this trades convenience for locality.

The following diagram shows what stays in the hospital and what reaches the Region.

Keeping identifiable patient data in the hospital. An open-weight model is self-hosted on AWS Outposts GPU capacity in the data centre, with local storage for notes and embeddings. Only de-identified operational metrics go to the parent Region; calling Bedrock in the Region would move patient data off premises.
Management traffic connects the Outposts rack to its parent Region.
Sort into groups

Region, Outposts or Wavelength?

Exam skills 2.3.4

Choose where each workload's inference should run.

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

AWS Wavelength for edge inference

Some applications need responses faster than a round trip to an AWS Region allows, particularly for mobile devices. AWS Wavelength embeds AWS compute and storage in telecommunications providers' 5G networks. Applications running in a Wavelength Zone are reached by mobile devices without their traffic leaving the carrier's network, which gives single-digit millisecond latency.

Wavelength Zones offer a limited set of instance types, so the usual design splits the work. Small models for real-time tasks, such as recognising spoken commands, generating live captions for augmented reality or inspecting products on a production line, run in the Wavelength Zone, while heavier work, such as large-model reasoning or retrieval over a full knowledge base, is sent to the parent Region.

Secure routing between environments

Traffic between cloud and on-premises resources should travel over private, encrypted connectivity rather than the public internet, terminating in a VPC. Within AWS, interface VPC endpoints (AWS PrivateLink) give private access to Bedrock and other services, and on-premises clients connected to the VPC can use them through Amazon Route 53 Resolver inbound endpoints for DNS. TLS protects data in transit, IAM and endpoint policies control access, and routing decisions (for example sending EU users' requests only to EU stacks) are made in the application or with Route 53 geolocation routing. The following table summarises the options.

RequirementApproach
Data stays in a country or geographyRegional deployment; geographic inference profile; Region-restricting SCPs
Data stays in a customer facilitySelf-hosted model on AWS Outposts
Ultra-low latency to 5G devicesSmall models in AWS Wavelength Zones
Private access to AWS servicesInterface VPC endpoints and Route 53 Resolver
Route users to compliant stacksRoute 53 geolocation routing or application logic
True or false

Connecting environments securely

Exam skills 2.3.4 · 3.2.1

Check three claims about connecting on-premises and AWS environments for GenAI.

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

Patient data on premises

A hospital group wants to summarise clinical notes with an FM. Its regulator requires that identifiable patient data never leaves the hospital's data centre, but the IT team wants AWS-managed infrastructure.

Bedrock in a Region would move data off premises. The solution self-hosts an open-weight model on AWS Outposts GPU capacity in the data centre, with local storage for notes and embeddings; only de-identified operational metrics go to the parent Region.

Check yourself

Which AWS option gives the lowest latency to applications on 5G mobile devices?

Show answer

AWS Wavelength, which places compute in telecommunications providers' 5G networks.

Exam Tips

Remember for the exam

  • Residency: Regions in the geography plus a geographic (not global) inference profile.
  • Data cannot leave a facility: self-hosted model on Outposts.
  • Lowest latency to 5G mobile devices: Wavelength.
  • Private access to Bedrock: interface VPC endpoints; DNS from on premises via Route 53 Resolver.