DEV Community

Cover image for How to enable AWS S3 replication between Global AWS Region and AWS China
Yaroslav Yarmoshyk
Yaroslav Yarmoshyk

Posted on

How to enable AWS S3 replication between Global AWS Region and AWS China

Recently I was struggling to enable S3 replication from China to EU region and I made it work using the Data Transfer Hub.

Actually it is not an AWS managed solution. It consists of the number of AWS resource such as EC2, SQS, Lambda functions and DynamoDB table.

I didn't need a fancy UI so I used the simplified s3-plugin approach

It is well documented so there is not much to add, however I'd like to outline couple of points:

  1. You need to deploy the stack into global region.
  2. The IAM user has to be created in China.
  3. The entire solution is automated in Cloudformation.
  4. The DataTransferS3Stack.template didn't work for me. There is something wrong with IAM policy on line #1866. Everything worked out without this resource.

The actual resource composition diagram is the following:
Data Transfer Hub AWS resources

Top comments (0)