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.

已提問 7 個月前檢視次數 266 次
1 個回答
1
已接受的答案

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
專家
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南