Migrate from one AWS region to another (ap-south-1 to eu-west-1) for compliance. What's your plan?
AdvancedScenarioMigrations
Answer
Situation read → A region move is a full rebuild plus a data move. IaC quality decides whether it takes weeks or months.
What I'd do →
- Inventory everything in the source region, including manual resources (use AWS Config or Resource Explorer). Import untracked resources into Terraform.
- Check service and instance-type availability and quotas in the target region.
- Deploy the infrastructure in the target region from the same Terraform modules with region-specific variables. Replicate AMIs and ECR images (ECR replication rules).
- Data: S3 Cross-Region Replication, RDS cross-region read replica then promote, DynamoDB global tables, EBS snapshot copy.
- Cut over with DNS (low TTL), verify, keep the source read-only for a rollback window.
- Check region-specific details: KMS keys are regional, ACM certificates are regional (except CloudFront's in us-east-1), and hard-coded ARNs.
Why → KMS and ACM being regional catch many teams by surprise mid-migration.
Interview tip → Mention hard-coded region strings and ARNs in code; they always exist.
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