Common migration patterns
- Lift and shift – replicate the current environment as-is, then optimize later.
- Blue/green – run old and new stacks in parallel and gradually move traffic.
- Canary – move a small percentage of traffic first and ramp up.
Data migration
For stateful services, plan how data will be synchronized between old and new environments:
- Database replication or logical exports.
- File synchronization using tools like rsync or object storage replication.
Cutover checklist
- Health checks passing on new environment.
- Monitoring and alerts configured.
- DNS or routing changes planned with appropriate TTLs.
- Rollback plan agreed and tested in staging.