Deploy Amazon S3 Object Lock with Cross-Region Replication and KMS encryption using AWS CloudFormation
Storage Blog
This article demonstrates how to deploy Amazon S3 Object Lock with cross-region replication and KMS encryption using three coordinated CloudFormation stacks for compliant, resilient storage.
- Deploy destination bucket with S3 Object Lock, versioning, and KMS encryption in one region
- Create replication role stack with permissions to read source objects and write encrypted replicas
- Deploy source bucket that replicates objects with retention and legal-hold state to destination
- Each region uses separate customer-managed KMS keys for encryption at rest
- Replication role created as separate stack to provide real ARN before source bucket deployment
- Optional S3 Replication Time Control (RTC) ensures 99.9% replication within 15 minutes
- Deployment script automates three-stack orchestration with parameter handoff between regions
The solution provides a repeatable, auditable way to deploy compliant cross-region storage with write-once-read-many protection, ransomware resilience, and per-region encryption using infrastructure as code.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
2026
2026
2026
2025
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.