Amazon S3 Replication allows automatic copying of objects between buckets to enhance data protection, compliance, and performance.
Amazon S3 Replication enables automatic, asynchronous copying of objects from a source bucket to one or more destination buckets. By configuring replication, you can meet compliance mandates, protect against accidental data loss, and serve data with low latency by placing it closer to your users or workloads.
By default, replication in S3 is one-way: changes in the source bucket propagate to the destination, but updates in the destination do not return to the source. For active-active deployments or automated failover, you can configure bidirectional replication manually to synchronize changes both ways.
Use Case: During a regional failover, promote the replica bucket as primary. Bidirectional replication ensures that changes made in the failover Region synchronize back when the original Region is restored.
New vs. Existing Objects: Only objects created after replication configuration are auto-copied. To migrate existing objects, use a one-time Batch Operations job.
Encryption: Objects encrypted with SSE-S3, SSE-KMS, or client-side encryption replicate transparently.
Glacier Classes: Objects in Glacier Flexible Retrieval and Glacier Deep Archive replicate like standard objects, but you must restore them before access.
Metadata & Tags: All object metadata, ACLs, and tags are preserved during replication.
Storage Class Overrides: Optionally, convert storage classes on the destination—for example, replicate S3 Standard to S3 Standard-IA in the target bucket.
Delete Markers: Not replicated by default. You can enable marker replication if your workflow requires it.
Version Deletions: Removing a specific object version in the source bucket does not delete it in the destination—protecting against accidental or malicious data loss.
Replication Latency and Replication Time Control (RTC)
Replication is inherently asynchronous and may take minutes or hours, depending on object size and count. If you require replication within 15 minutes to fulfill strict SLA or regulatory requirements, enable Replication Time Control (RTC).
Replication Time Control (RTC) guarantees that new objects are copied within 15 minutes of creation. This feature incurs additional costs—see the Amazon S3 Pricing page for details.