Articles → AWS → Cross region replication for S3 buckets in AWS

Cross region replication for S3 buckets in AWS






Purpose





Prerequisite for CRR (Cross region replication)




  1. Both buckets should be public.
  2. Bucket versioning should be enabled for both the buckets.

Creation of buckets




Picture showing the create bucket screen for creating the new bucket

Click to Enlarge



Picture showing unchecking the checkbox - Block all public access to make the bucket public

Click to Enlarge



Picture showing enabling the bucket versioning

Click to Enlarge



Picture showing creating the destination bucket for CRR

Click to Enlarge



Picture showing the source and the destination bucket created

Click to Enlarge


Add replication rule




Picture showing the Management tab in the bucket detail screen

Click to Enlarge



Picture showing the Replication rules button for adding the new rule

Click to Enlarge



Picture showing the create replication screen in aws

Click to Enlarge



Picture showing the section for the source bucket

Click to Enlarge



Picture showing selecting the destination bucket

Click to Enlarge



Picture showing selecting the IAM role

Click to Enlarge



Picture showing creating the new IAM role in the roles screen

Click to Enlarge




CRR in action




Picture showing image file uploaded on the source bucket

Click to Enlarge



Picture showing the image file copied on destination bucket using CRR

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Sunday, September 26, 2021

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250