What does this AWS Solution do?

This solution automatically provisions and configures all the AWS services necessary to set up a multi-region replication configuration with Amazon S3 buckets.

This solution is designed for workloads that can tolerate lost events and variations in replication speed. For example, you can use this solution to provide local copies of data for multi-regional applications or distributed teams, or to create a global view of applications that run on active/active clusters across multiple regions.

If you must maintain objects in multiple regions to comply with business or regulatory requirements, you can use this solution as a reference to build an architecture that can help automate that process.

AWS Solution overview

The diagram below presents the architecture you can automatically deploy using the solution's implementation guide and accompanying AWS CloudFormation template.

multi-region-asynchronous-object-replication-solution-architecture
 Click to enlarge

Multi-Region Asynchronous Object Replication Solution architecture

The AWS CloudFormation template deploys the AWS Lambda functions and AWS Identity and Access Management (IAM) roles necessary to set up a multi-region asynchronous object replication environment in your account. The template creates four Lambda functions: one function that enables you to create regional Amazon Simple Storage Service (Amazon S3) buckets, one function that enables you to delete regional buckets, one function that configures the regional Amazon DynamoDB tables that track replication changes, and one function that deploys AWS CloudFormation templates that deploy the solution’s base regional resources.

Base regional resources consist of an Amazon S3 bucket, an Amazon Simple Queue Service (Amazon SQS) queue, the queue processor and stream processor Lambda functions, and a DynamoDB table.

When you upload objects to a regional bucket, a message is sent through the Amazon SQS queue to the queue processor. The queue processor adds the message to a DynamoDB global table. The global table replicates the message to all other regions in your configuration which triggers the stream processor functions in those regions. Each stream processor copies the object from the source region to its regional bucket.

Multi-Region Asynchronous Object Replication Solution

Version 1.0
Last updated: 02/2020
Author: AWS

Estimated deployment time: 5 min

Use the button below to subscribe to solution updates.

Note: To subscribe to RSS updates, you must have an RSS plug-in enabled for the browser you are using.  

Features

Automation

Build an architecture that automates the replication of Amazon S3 objects across multiple regions.

Flexibility

You can use this solution for a variety of uses cases including providing local copies of data for multi-regional applications or distributed teams.
Product-Page_Standard-Icons_01_Product-Features_SqInk
Explore all AWS Solutions

Browse our portfolio of AWS-built solutions to common architectural problems.

Learn more 
Next-Steps-Icon_Find-a-Partner-B
Find a Partner

Find AWS certified consulting and technology partners to help you get started.

Learn more 
Product-Page_Standard-Icons_03_Start-Building_SqInk
Start building in the console

Sign-up and start exploring our services.

Get started