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
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.
Note: To subscribe to RSS updates, you must have an RSS plug-in enabled for the browser you are using.
Browse our portfolio of AWS-built solutions to common architectural problems.
Find AWS certified consulting and technology partners to help you get started.
Sign-up and start exploring our services.