Azure for AWS professionals - Storage - AWS - 06 Configuring replication on S3 buckets

@20aman    Sep 25, 2019

Note that this post is a part of the series. You can view all posts in this series here: Azure for AWS professionals - Index

For any S3 bucket with critical objects, you should always set up the data to replicate to a different bucket in a different region. You can do both cross-region replication or same-region replication using the replication rules.

To begin, navigate to your S3 bucket and click on the "Management" tab. Then click on the "Replication" settings. Click on the "+ Add rule" to create a new rule.

Replication

Pre-requisite: Versioning is a pre-requisite on the S3 bucket for you to be able to set up replication. If you haven't done so the wizard will give you an option to enable this setting here.

Versioning Requirements

Next, while setting sources, you can either set to replicate all the objects in the bucket or filter objects to be replicated based on the prefix or tags that they have.

Set source

Next, you have to select a destination bucket. This can be in the same region or a different region. This can even reside in a different account altogether.

Destination bucket

If you don't have any bucket in the destination then you can create one right here while setting the destination.

Creating new bucket in the destination

While creating a new destination bucket, you can set its options like Storage class, object ownership, replication time control, etc.

Destination options

Next up we have IAM role using which the data will be replicated. This should have appropriate access in both source and destination.

IAM rule

Finally, you review and create the replication rule.

Review and create

Once the rule is set up the data will start getting copied over and protected.





Comments powered by Disqus