Lesson 2 of 3 Migration Services

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.

StrategyMeaningChoose when
RetireSwitch offNo longer used
RetainKeep on premises for nowNot ready to move, or recently upgraded
RehostLift and shiftSpeed matters and the app works as is
RelocateMove at the hypervisor level, for example to VMware Cloud on AWSMoving VMware without changes
ReplatformLift, tinker and shift, for example moving the database to RDSGain managed services with small changes
RepurchaseMove to SaaSA SaaS product meets the need
RefactorRe-architect as cloud nativeThe business needs scalability or agility the design cannot give

The following diagram arranges the seven strategies from least change to most effort.

The seven migration strategies, from doing nothing to rebuilding: retire, retain, rehost, relocate, replatform, repurchase and refactor. Rehosting is the fastest way to move, while refactoring as cloud native takes the most effort and is chosen when the business needs scalability or agility the current design cannot give.
The order is approximate; repurchasing can take more or less effort than replatforming, depending on the data and integrations to move.
Match the pairs

The 7 Rs

Exam skills 4.1.7 · 2.2.7

Match each situation with its migration strategy.

Log in to try this activity Interactive activities are free with an account.

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.

Scenario questions

Planning waves

Exam skills 4.1.7

Plan migration waves and paths.

Log in to try this activity Interactive activities are free with an account.

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.

Worked example

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.

ApplicationStrategyTool
200 Windows and Linux serversRehostAWS Application Migration Service
MySQL databasesReplatform to RDSAWS DMS
An unused legacy reporting systemRetire—
An in-house email serverRepurchaseA SaaS email product
VMware virtual machinesRelocateVMware-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.

Check yourself

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.