An architecture overview of Couchbase Server and Couchbase Sync Gateway deployment on AWS Local Zones for low latency edge use case. AWS Cloud 2 AmazonCloudWatch Parent Region (us-east-1) VPC 1 3 Amazon Route 53 Amazon S3 4 Availability Zone 1 Private subnet Availability Zone 2 Private subnet Couchbase Server Public subnet Auto Scaling group Couchbase Server Public subnet 5 6 VPC endpoints Local Zone 1 (us-east-1-bos-1a) Private subnet Local Zone 2 (us-east-1-mia-1a) Private subnet Bastion host Couchbase Sync Gateway Auto Scaling group Auto Scaling group Bastion host 7 Couchbase Sync Gateway NAT Gateway Application Load Balancer Internet gateway NAT Gateway Reviewed for technical accuracy December 25, 2021 © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Couchbase Server Sync 9 Public subnet Couchbase Sync Gateway 8 Edge Cluster Internet gateway Sync 11 Couchbase Server Public subnet Couchbase Sync Gateway Edge Cluster Internet gateway Internet SSL Couchbase Lite clients 10 Client Mobile Sync Embedded AWS Reference Architecture 2 3 4 5 6 7 8 9 10 11 Amazon Virtual Private Cloud (Amazon VPC) can be extended from the parent region into multiple AWS Local Zones. Couchbase metrics and logs can be sent to Amazon CloudWatch for centralized log management and alerts. Amazon Route 53 uses geolocation based routing to route clients to the nearest AWS Local Zone or the AWS Parent Region. Couchbase Server backups can be taken directly to an Amazon Simple Storage Service (Amazon S3) bucket. Couchbase Server multi–Availability Zone (AZ) deployment provides high availability and automatic failover. Couchbase Server in the private subnet can connect to internet using NAT Gateway. Bastion host in the public subnet provides access to the Couchbase Server from an external network. VPC endpoints enable private connection between VPC and AWS services without requiring access over the internet. Couchbase Sync Gateway multi-AZ deployment with Application Load Balancer (ALB) in front provides high availability and automatic failover. Edge cluster made of Couchbase Server and Couchbase Sync Gateway on AWS Local Zone. Inter-Sync Gateway Replication between the Couchbase Cluster in the parent region using internal ALB, and edge cluster in the AWS Local Zone using private IP addresses, keeps the communication with the VPC. Couchbase Lite clients such as mobile, desktop, and embedded devices run an embedded NoSQL database, Couchbase Lite, and provides