Amazon S3 Replication: Key Concepts and Best Practices

Amazon S3 Replication enables automatic copying of objects from one bucket (source) to another bucket (destination). This feature is useful for backup, disaster recovery, compliance, and data synchronization across AWS regions or within the same region.


1. How S3 Replication Works


2. Handling Existing and Failed Objects

A. Replicating Existing Objects

If you need to replicate pre-existing objects, use S3 Batch Replication:

B. Replicating Delete Markers

🚀 Example:

If an object is soft deleted (a delete marker is added), this can be replicated.

However, if an object is permanently deleted (with version ID), it will not be replicated.