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.

preguntada hace 7 meses266 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace 7 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas