Replication Sydney → Auckland
Overview
Section titled “Overview”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.
Lab defaults
Section titled “Lab defaults”| 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 publishwaits until packages and indexes answerHeadObjecton 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.