Lesson 4 of 6 Migration Assessment and Planning

Choosing a Migration Strategy from the 7 Rs

This lesson explains how each application is given one of the 7 Rs, which determines the effort, speed, risk and benefit of the move, and how to choose correctly from a scenario's constraints.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish the 7 Rs.
  • Identify the strategy that scenario constraints suggest.
  • Explain the approach to deadline-driven exits.
  • Explain how strategies combine within one application.

The 7 Rs

Each application is assigned one of seven strategies, ordered roughly by effort. Retire switches off applications no longer needed, such as an unused reporting tool. Retain keeps an application on premises for now, because of dependencies or recent investment. Rehost, or lift and shift, moves servers to EC2 unchanged, usually with AWS Transform MGN, and is the fastest way to move many applications. Relocate moves VMware workloads without changing them, to VMware Cloud on AWS or Amazon Elastic VMware Service.

Replatform, or lift and reshape, makes targeted changes for managed services, such as moving a database to RDS or an application to Elastic Beanstalk or containers, without re-architecting. Repurchase replaces the application with a SaaS product, such as a CRM. Refactor re-architects it as cloud-native, with serverless or microservices, which costs most effort but gives the greatest agility and scalability. The following table summarises the strategies.

StrategyMeaningExample
RetireSwitch offAn unused reporting application
RetainKeep on premises for nowDependencies or recent investment
RehostLift and shiftServers to EC2 with AWS Transform MGN
RelocateMove VMware without changesVMware Cloud on AWS, Amazon Elastic VMware Service
ReplatformLift and reshapeDatabase to RDS; application to Elastic Beanstalk or containers
RepurchaseMove to SaaSA CRM product
RefactorRe-architect as cloud-nativeServerless or microservices

The following diagram orders the seven strategies by effort.

The seven migration strategies ordered roughly by effort: retire, retain, rehost, relocate, replatform, repurchase and refactor. Effort rises from left to right, and so do agility and scalability, with refactoring as cloud-native the most effort and the greatest benefit.
The order is approximate; repurchasing a SaaS product can take more or less effort than replatforming, depending on the data and integrations to move.

Reading the constraints

Scenario wording usually points to one strategy. The following table pairs common phrases with the strategy they suggest.

Scenario saysStrategy
Data centre contract ends in six monthsRehost or relocate at scale
No changes to the applicationRehost or relocate
Reduce database administration effortReplatform to RDS or Aurora
Must scale independently, release features fasterRefactor
The licence for the product is being replaced by a subscriptionRepurchase
Scenario questions

Strategy from constraints

Exam skills 4.1.2 · 4.1.4

Let the constraints in a scenario choose the strategy.

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

Deadline-driven exits

For a data centre exit with a deadline, rehost quickly at scale to meet the date, then optimise (rightsizing, Savings Plans) and modernise selected applications. Refactoring everything first is usually too slow and concentrates risk at the deadline.

Combining strategies

Strategies are not exclusive within one application. A common combination rehosts the application servers with AWS Transform MGN while replatforming the database to Amazon RDS, which removes database administration without changing application code.

Strategies can also be sequenced. Rehosting first and modernising later is often cheaper overall than modernising during the migration, because the second step happens with cloud tooling, managed services and no data centre deadline. Relocating with Amazon Elastic VMware Service keeps existing VMware tools and processes while leaving the data centre, and the workloads can be modernised from there.

Worked example

Choosing an R for each application

A company must leave its data centre in 12 months. The architect assigns strategies by business value and effort, aiming to meet the deadline first and modernise selectively:

Application                        Decision      Reasoning
---------------------------------  ------------  -----------------------------------------------------
Legacy fax gateway                 Retire        No traffic for 6 months in discovery data
Custom CRM                         Repurchase    SaaS CRM meets requirements; licences expiring
200 Linux/Windows app servers      Rehost        MGN at scale meets the deadline
Oracle databases (self-managed)    Replatform    RDS for Oracle; EC2 where OS access is needed  
VMware estate for a subsidiary     Relocate      Amazon Elastic VMware Service, no re-platforming
Customer-facing booking engine     Refactor      Strategic; containers and DynamoDB after migration
Plant-floor control system         Retain        Latency to machinery; revisit with Outposts

Only one application is refactored before the deadline, and even that happens after it has been rehosted. Attempting to refactor the 200 application servers first would have put the data centre exit date at risk; moving them as they are, and modernising selectively afterwards with cloud tooling, meets the deadline and still leads to a modern estate.

Check yourself

What is the difference between repurchasing and replatforming?

Show answer

Repurchasing moves to a different product, often SaaS. Replatforming keeps the application but makes targeted optimisations, such as moving its database to RDS.

Exam Tips

Remember for the exam

  • For a data centre exit with a fixed deadline, rehost first and modernise later.
  • Moving VMware workloads without changes is relocating.
  • Moving a self-managed database to RDS is replatforming.
  • Replacing an application with SaaS is repurchasing.
  • One application can combine strategies, such as rehosting servers and replatforming its database.