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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인