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.

posta 7 mesi fa266 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
con risposta 7 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande