In this practical session, we walked through setting up S3 Replication using a source and a target bucket. We tested Cross-Region Replication (CRR), uploaded files, and observed how versioning and delete markers work in replication.


1. Creating Source and Destination Buckets

To start, we created two S3 buckets:

Source bucket: s3-stephane-bucket-origin-v2 (Region: eu-west-1).

Target bucket: s3-stephane-bucket-replica-v2 (Region: us-east-1).

🔹 Note: If both buckets were in the same region, this would be Same-Region Replication (SRR).


2. Enabling Versioning

Before enabling replication, we enabled versioning on both the source and target buckets. This is a mandatory step since replication only works with versioned buckets.


3. Uploading a File to the Source Bucket


4. Configuring Replication Rules

Steps to Enable Replication:

  1. Go to the source bucket (s3-stephane-bucket-origin-v2).
  2. Navigate to Management → Replication Rules.
  3. Click Create Replication Rule and name it "DemoReplicationRule".