Cloud

The 7 Rs of Cloud Migration: Choosing a Strategy for Each Application

Retire, retain, rehost, relocate, replatform, repurchase or refactor: how to choose a migration strategy for each application and sequence the work in waves.

  • DivTech editorial team
  • 6 min read
Retain
Retire
Relocate
Rehost
Cloud · part 2 of 5

Moving to the cloud is not one decision; it is a decision per application. A modern customer portal, a 15-year-old ERP, a reporting database and a file server each have different value, risk and technical constraints. The 7 Rs framework, popularised by AWS and widely used across the industry, gives you seven options and a shared vocabulary for deciding what happens to each one.

This article explains each strategy, how to assess an application portfolio and how to sequence the work into migration waves. It is the approach DivTech uses in cloud consulting and database and cloud transformation projects.

The 7 Rs at a glance

StrategyWhat it meansGood fit whenWatch out for
RetireDecommission the applicationUnused, duplicated or already replacedData retention and audit obligations
RetainKeep it where it is for nowRecently upgraded, hard local dependency, or not worth moving yetRetained systems still need maintenance; revisit regularly
RehostLift and shift to cloud VMs unchangedSpeed matters, such as a data centre exitCarries over inefficiencies; may cost more than expected
RelocateMove at the hypervisor level, such as VMware workloads to a cloud-hosted VMware environmentLarge VMware estates that need a fast moveSpecialised offerings and licensing terms
ReplatformSmall changes to use managed services such as a managed database or containersClear gains for modest effortScope creep into a rewrite
RepurchaseReplace with a SaaS productCommodity functions such as CRM, HR or ticketingData migration, integrations, lock-in, retraining
RefactorRe-architect for cloud-native servicesCore product needing scale, agility or new capabilitiesHighest cost, time and risk

Each strategy in practice

Retire and retain

Portfolio assessments regularly uncover applications nobody uses or several systems doing the same job. Retiring them is the cheapest migration there is; just archive the data you are obliged to keep. Retain is a valid choice too. An application with a recent hardware refresh, strict latency needs to on-site equipment or a vendor that does not support cloud hosting may be better left alone for now.

Rehost and relocate

Rehosting copies servers to cloud virtual machines using replication tools, with a short cutover window. It is fast and predictable, which suits deadline-driven moves. But rehosted applications keep their old shape, often sized for peak load and running around the clock, so plan to optimise them soon after the move. Relocate applies the same idea at the virtualisation layer for VMware estates.

Replatform

Replatforming is often the best balance. The application moves mostly intact, but self-managed pieces are swapped for managed services: a managed PostgreSQL or SQL Server instead of a database on a VM, containers instead of hand-configured servers, object storage for uploaded files. Backups, patching and scaling move to the provider without rewriting business logic. Established Java and .NET applications are frequently good replatforming candidates.

Repurchase

If an application does a commodity job such as email, HR or ticketing, moving to a SaaS product may beat migrating it. Budget for data migration, integrations and training, and check how you would get your data out later.

Refactor

Refactoring rebuilds the application around cloud-native services. It offers the most long-term benefit but needs the strongest business case and the most time. Our guide to web application architecture explains why a well-structured modular monolith is often a better target than microservices.

at a glanceRelative migration effort by strategy
Retain5
Retire10
Relocate25
Rehost30
Replatform50
Repurchase60
Refactor95

DivTech's indicative relative effort for a typical business application on a 0 to 100 scale. Real effort depends on size, dependencies and data volume. Repurchase effort is mostly data migration, integration and change management.

DivTech System

Assessing your portfolio

Before assigning a strategy, build an inventory. For each application, capture:

  • Business value and owner: who uses it, what breaks if it stops and who can make decisions about it.
  • Technical profile: language, framework, operating system, database, age, and whether source code and build scripts are available.
  • Dependencies: what calls it, what it calls, shared databases and file shares. Dependency mapping prevents the classic failure where one application moves and another quietly breaks.
  • Data: volume, sensitivity, residency rules and acceptable downtime for cutover.
  • Licences and contracts: some licences are not portable to the cloud or change cost when moved.
  • Known pain: performance problems, outages and knowledge held by a single person.
decision matrixA starting point for assigning strategies
Business value (low to high) →
Replatform or rehost

Move early with targeted improvements. Good candidates for the first waves.

Refactor, often later

Plan as a project with its own business case; rehosting first and refactoring later is common.

Rehost or repurchase

Move cheaply or replace with SaaS; avoid over-investing.

Retire or retain

Decommission if possible; otherwise leave in place until it can be replaced.

Effort or risk to change (low to high) →

A heuristic, not a rule: compliance, licensing or vendor support can override it.

DivTech System

Planning migration waves

Applications move in waves: groups that can migrate together because they share dependencies, data or a business owner. A sensible sequence looks like this.

timelineA typical wave plan
  1. Wave 0Foundations

    Landing zone: accounts, networking, identity, security baseline, logging and cost tagging.

  2. Wave 1Pilot

    One or two low-risk applications to prove tooling, runbooks and team skills.

  3. Waves 2-3Bulk moves

    Rehost and replatform groups of related applications; optimise after each cutover.

  4. Wave 4 onComplex systems

    Core databases, ERPs and refactors with dedicated plans and rollback.

  5. OngoingOptimise and retire

    Rightsize, adopt more managed services and decommission old infrastructure.

Indicative sequence; the number and length of waves depend on portfolio size.

DivTech System

Every wave needs a runbook: pre-migration checks, the data sync method, cutover steps, validation tests, a communication plan and a rollback plan with a clear go or no-go decision point. For databases, follow our database migration checklist.

Choose the cutover approach per application. A single cutover during a planned maintenance window is simplest when some downtime is acceptable. For systems that cannot stop, replicate data continuously, run the new environment in parallel, shift traffic gradually through DNS or a load balancer and keep the old environment ready for rollback until validation is complete. Whichever you choose, rehearse it: run the full cutover at least once in a non-production environment and time each step, so the real window holds no surprises.

Common mistakes

  • Choosing one strategy for the whole portfolio, usually rehost everything or refactor everything.
  • Skipping the dependency map and discovering hidden connections during cutover.
  • Migrating before a security baseline is in place; see cloud security best practices.
  • Forgetting operations: monitoring, runbooks and on-call change when the infrastructure changes.
  • Under-planning testing: each wave needs functional, performance and security testing in the new environment, which is where software testing and QA support earns its place.
  • Not defining success: agree measures such as cost, performance, deployment frequency or incident counts before the first wave.

DivTech can run a portfolio assessment, recommend a strategy for each application and plan your migration waves with your team. Get a quote or contact us.

Frequently asked questions

What are the 7 Rs of cloud migration?

Retire, retain, rehost, relocate, replatform, repurchase and refactor. Each is a strategy for one application, from switching it off to rebuilding it for cloud-native services.

Is lift and shift a bad strategy?

No. Rehosting is the right choice when speed matters, such as a data centre exit. The risk is stopping there: rehosted workloads should be rightsized and improved after the move.

What is the difference between replatform and refactor?

Replatforming makes limited changes, such as moving to a managed database or containers, without changing the application's design. Refactoring changes the architecture itself, for example splitting it into services or adopting serverless.

How do we decide which applications to migrate first?

Start with low-risk applications that have few dependencies, so the team can prove tooling and runbooks. Move complex, business-critical systems in later waves once the foundations and processes are tested.

  • Cloud migration
  • 7 Rs
  • Migration planning

free consultation

Need help with cloud?

Talk to our Cloud Consulting team. We'll review your situation and suggest a practical next step, free.