Replication
Cheat sheet · https://pcornel.dk/topic.php?topic=4168
Answer
Object replication copies objects automatically to another bucket, region or site, for example S3 Cross-Region Replication, to protect against site loss or keep data close to users.
Remember
- Replication needs versioning.
- Existing objects may need batch replication.
- Delete markers replicate depending on settings.
First checks
aws s3api get-bucket-replication --bucket <b>— rulesaws s3api head-object --bucket <b> --key <k> | grep ReplicationStatus— per-object statusradosgw-admin sync status— Ceph multisite
Verify in this order
object write → replication rule → destination
Where it usually breaks
First mismatch in DNS/TLS → authentication/signing → bucket/container policy → object key/version → gateway → backend placement → GET/HEAD read-back; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4168