Replication = Automatically copy objects from one bucket to another
Two Types of Replication
1. Cross-Region Replication (CRR)
What: Copy objects from bucket in one region to bucket in another region
Example:
Bucket in eu-west-1 → Copies to → Bucket in us-east-2
Use Cases:
- Compliance: Some laws require data in specific regions
- Lower latency: Users in US access US bucket, users in Europe access EU bucket
- Replication across accounts: Copy from Account A to Account B
2. Same-Region Replication (SRR)
What: Copy objects from one bucket to another bucket in the SAME region
Example:
Bucket in us-east-1 → Copies to → Another bucket in us-east-1
Use Cases:
- Log aggregation: Combine logs from multiple buckets into one
- Live replication: Keep production and test accounts in sync
- Backup within same region