Choosing Migration Strategies from the 7 Rs
This lesson explains the seven migration strategies, the 7 Rs, and how choosing the right one for each application balances speed, cost and long-term benefit.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish the 7 Rs.
- Explain how migration waves group dependent applications.
- Describe the common rehost-then-optimise path.
The 7 Rs
A migration assigns each application one of seven strategies, from doing nothing to rebuilding it. Retire switches off applications that are no longer used, and retain keeps applications on premises for now, for example because they were recently upgraded or are not ready to move. Rehost, or lift and shift, moves an application to EC2 unchanged, which is fastest. Relocate moves virtual machines at the hypervisor level, for example to VMware Cloud on AWS, without changing them.
Replatform, or lift, tinker and shift, makes small changes to gain managed services, such as moving the database to RDS while keeping the application as it is. Repurchase replaces the application with a SaaS product. Refactor re-architects the application as cloud native, for example with serverless services, when the business needs scalability or agility that the current design cannot provide; it takes the most effort. The following table summarises the strategies.
| Strategy | Meaning | Choose when |
|---|---|---|
| Retire | Switch off | No longer used |
| Retain | Keep on premises for now | Not ready to move, or recently upgraded |
| Rehost | Lift and shift | Speed matters and the app works as is |
| Relocate | Move at the hypervisor level, for example to VMware Cloud on AWS | Moving VMware without changes |
| Replatform | Lift, tinker and shift, for example moving the database to RDS | Gain managed services with small changes |
| Repurchase | Move to SaaS | A SaaS product meets the need |
| Refactor | Re-architect as cloud native | The business needs scalability or agility the design cannot give |
The following diagram arranges the seven strategies from least change to most effort.

The 7 Rs
Migration waves
Large migrations move applications in groups called waves. Applications are grouped with their dependencies, using discovery data about which servers communicate with each other, so that systems that talk to each other frequently move together. Moving only one half of a tightly coupled system would leave its components communicating across the network link between on premises and AWS, adding latency and sometimes breaking the application during the migration.
Planning waves
A common path
Large migrations often follow a two-step path. Applications are first rehosted, moved to AWS largely unchanged, which exits the data centre quickly and with low risk, for example before a data centre lease expires. Once they run on AWS, the applications that benefit most are replatformed or refactored, for example moving databases to Amazon RDS or breaking monoliths into services, when the team has time and cloud experience.
Leaving a data centre in six months
A data centre exit requires a migration strategy for each application. The following table identifies the strategy and tool chosen for each.
| Application | Strategy | Tool |
|---|---|---|
| 200 Windows and Linux servers | Rehost | AWS Application Migration Service |
| MySQL databases | Replatform to RDS | AWS DMS |
| An unused legacy reporting system | Retire | — |
| An in-house email server | Repurchase | A SaaS email product |
| VMware virtual machines | Relocate | VMware-based services on AWS |
With a fixed deadline, rehosting most servers first is the fastest way out; optimisation and refactoring follow once the data centre is closed.
What is the difference between rehosting and replatforming?
Show answer
Rehosting moves an application unchanged, lift and shift. Replatforming makes small optimisations, such as moving a database to RDS, without changing the application's architecture.
Exam Tips
Remember for the exam
- Moving a self-managed database to RDS during a migration is replatforming.
- For the fastest migration of many servers with no code changes, rehost.
- Move dependent applications together, in waves based on discovery data.
- Replacing a custom application with a SaaS product is repurchasing.