Amazon S3 Replication
S3 Replication involves copying objects from one S3 bucket to another, which can be within the same region (SRR) or across different regions (CRR).
Key Points
- Versioning Requirement: Both source and destination buckets need to have versioning enabled.
- Types of Replication: CRR (Cross-Region Replication) and SRR (Same-Region Replication).
- Asynchronous Copying: Replication occurs in the background and is asynchronous.
- IAM Permissions: Proper IAM roles must be set to allow S3 to read from the source and write to the destination bucket.
- Ownership: Buckets that are configured for object replication can be owned by the same AWS account or by different accounts.
- Destination Buckets: You can replicate objects to a single destination bucket or to multiple destination buckets.
- Replication Types: Amazon S3 Replication is an elastic, fully managed, low-cost feature that replicates objects between Amazon S3 buckets.
- Replication Types: Amazon S3 Replication is an elastic, fully managed, low-cost feature that replicates objects between Amazon S3 buckets. S3 Replication offers the most flexibility and functionality in cloud storage, giving you the controls you need to meet your data sovereignty and other business needs.
- Replication Ownership: Buckets that are configured for object replication can be owned by the same AWS account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets.
- Replication of Existing Objects: To replicate existing objects to a different bucket on demand, use S3 Batch Replication. This can be used to backfill a newly created bucket with existing objects, retry objects that were previously unable to replicate, or migrate data across accounts.
- Replication Monitoring: Amazon S3 Replication provides detailed metrics and notifications to monitor the status of object replication between buckets. You can monitor replication progress by tracking bytes pending, operations pending, replication latency, and operations failed replication.
- Data Sovereignty: S3 Replication offers the most flexibility and functionality in cloud storage, giving you the controls you need to meet your data sovereignty and other business needs.
Key Points on S3 Replication
- Post-Enablement Replication: Only new objects added to the source bucket are automatically replicated after replication is enabled.
- Replicating Existing Objects: Use S3 Batch Replication to replicate pre-existing objects and ones that have failed to replicate previously. This can be used to backfill a newly created bucket with existing objects, retry objects that were previously unable to replicate, or migrate data across accounts.
- Delete Operations: Delete markers can be replicated from the source bucket to the destination bucket. This replication of deletions is an optional setting.
- Permanent Deletion: Deletions with a version ID are not replicated. This prevents permanent deletions from being propagated, avoiding the risk of malicious deletions across buckets.