Bi directional replication between three buckets

0

I have setup bi directional replication between:

  • Bucket A and bucket B
  • Bucket A and bucket C

This is working as expected:

  • If I add an object to bucket A, it is replicated to both bucket B and C
  • If I add an object to either bucket B or C, the object is replicated to bucket A

However, when I add an object to bucket B, although it is replicated to bucket A, it is not replicated to bucket C.

Is it possible to setup this sort of bi directional replication, ie, B <-> A <-> C?

EDIT

As a clarification, I was looking for some sort of transitive replication, ie, replicate object in C from B using A as an intermediary. That does not seem to be possible. As the answer below explains, we need to set bi directional replication between all buckets.

asked 6 months ago242 views
1 Answer
1
Accepted Answer

Hi,

You have to use the replication toward multiple buckets from 1 source bucket as described in "Amazon S3 Replication Adds Support for Multiple Destination Buckets": https://aws.amazon.com/blogs/aws/new-amazon-s3-replication-adds-support-for-multiple-destination-buckets/

So, you will configure:

  • A -> B,C
  • B -> A,C
  • C -> B,C

Best,

Didier

profile pictureAWS
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions