Migrate an S3 bucket with 500 TB of data to another account. How?
IntermediateScenarioMigrations
Answer
Situation read → At this size, the tool and the cost matter: aws s3 sync from a laptop is not the answer.
What I'd do →
- Set up the destination bucket with encryption, versioning and a bucket policy allowing the source account role.
- For existing objects: S3 Batch Replication or S3 Batch Operations copy. For ongoing changes: a replication rule with ownership override to the destination account.
- KMS: grant the replication role decrypt on the source key and encrypt on the destination key.
- Validate with S3 Inventory reports on both sides comparing counts and sizes.
- Switch apps to the new bucket name, then keep the old one read-only for a while.
- Consider storage class during the copy (Intelligent-Tiering) and transfer cost if crossing regions.
Why → Batch Replication is managed, resumable and tracked, unlike a long-running sync.
Interview tip → Mention object ownership and KMS; cross-account copies fail on them most often.
More on Migrations
Migrate an application from EC2 to EKS with zero downtime. Walk me through it.AdvancedMigrate a database from on-prem MySQL to Amazon RDS with minimal downtime. How?AdvancedYou need to move Terraform state from local files to an S3 backend. How?BeginnerMigrate CI from Jenkins to GitHub Actions for 80 repositories. How do you plan it?IntermediateUpgrade an EKS cluster from 1.30 to 1.31 in production. What's your process?IntermediateMove from a monolith to microservices. What's the DevOps side of the migration?Advanced