Skip to content

Replication Sydney → Auckland

Publish only to the Sydney primary. Cross-Region Replication
Cross-Region Replication. S3 copies objects (and versions) from a primary bucket to a replica in another Region.
copies matching keys to Auckland. Consumers there use the replica URL: same key, different hostname.

Both package buckets need versioning on. S3 Replication will not enable without it.

Setting Value
Source Primary ap-southeast-2
Destination Replica ap-southeast-6
Prefix filter repos/
Versioning Enabled on both package buckets
  • Replication is async. demo.sh publish waits until packages and indexes answer HeadObject on the replica.
  • Because versioning is on, teardown has to delete all versions (and delete markers) before the buckets can go away.
  • The replica needs its own Auckland VPCE on the allowlist.
  • The catalog UI bucket is Sydney-only and is not replicated.