Cloud
Cloud Migration Strategies: The 7 Rs Explained
Retire, retain, rehost, relocate, repurchase, replatform and refactor: what each cloud migration strategy means, when to use it, its effort and risk, and how to choose one for every application.

In shortThe 7 Rs are the seven ways to handle each application in a cloud migration: retire it, retain it where it is, rehost it unchanged (lift and shift), relocate it at the platform level, repurchase a SaaS replacement, replatform it with small optimizations, or refactor it into a cloud-native design. You choose a strategy per application, not one for the whole company, and most large migrations move first and modernize afterwards.
The framework started as Gartner’s “5 Rs” in 2010. AWS later expanded it to six and then seven, and its Prescriptive Guidance is now the most widely used reference. Other cloud providers use similar lists with slightly different names. The labels matter less than the habit they enforce: deciding deliberately what happens to every system.
The 7 Rs at a glance
| Strategy | Also called | What changes | Effort | Cloud benefit |
|---|---|---|---|---|
| Retire | Decommission | Application is switched off | Very low | Removes cost and risk entirely |
| Retain | Revisit later | Nothing, for now | None | None yet |
| Rehost | Lift and shift | Servers move; code unchanged | Low | Low at first; easier to optimize later |
| Relocate | Hypervisor-level lift and shift | Whole platform moves, e.g. VMware to its cloud equivalent | Low | Low; fastest to exit a data center |
| Repurchase | Drop and shop | Replaced by a SaaS product | Medium (data migration, training) | No infrastructure to run |
| Replatform | Lift, tinker and shift | Small changes, e.g. move to a managed database | Medium | Medium: less operations work, lower cost |
| Refactor | Re-architect | Application redesigned for cloud-native services | High | Highest: scalability, speed of change |
Each strategy, with an example
1. Retire
Switch off applications nobody needs. Every portfolio has them: an old reporting tool replaced years ago but never shut down, or a test server still running. AWS suggests using utilization data to find “zombie” applications with very low CPU and memory use, and checking for applications with no inbound connections for 90 days. Retiring is the cheapest migration there is. Archive the data you are legally required to keep first.
2. Retain
Keep it where it is, for now. Good reasons include data residency rules, dependence on specialized hardware such as factory machines, a recent expensive upgrade, or a vendor that will release a SaaS version soon. Retain is a decision with a review date, not a way to avoid deciding.
3. Rehost (lift and shift)
Move the servers to cloud virtual machines without changing the application. A company’s internal ERP running on three on-premises servers becomes three cloud instances. Rehosting is fast and predictable and can be largely automated, which makes it the workhorse of large migrations. The trade-off: you bring along the same inefficiencies, and a rehosted application running all day on oversized instances can cost more than it did on-premises until you optimize it.
4. Relocate
Move an entire virtualisation platform, such as a VMware environment, to its cloud-hosted equivalent, or move resources between cloud accounts, regions or networks. Nothing is rebuilt, and applications keep serving users during the move. It is the quickest way out of a data center with a hard exit date.
5. Repurchase
Replace the application with a SaaS product: a self-hosted email server becomes a cloud email service, or an old CRM becomes a SaaS CRM. The work shifts from infrastructure to data migration, integrations, single sign-on and user training. Check the new product against your security and compliance requirements before you commit.
6. Replatform
Make targeted changes that unlock real cloud benefits without redesigning the application. Typical examples: moving a self-managed database to a managed database service, packaging an application in containers, or moving from a commercial operating system to Linux to cut license costs. Replatforming often delivers most of the operational savings for a fraction of the effort of a full refactor.
7. Refactor or re-architect
Redesign the application around cloud-native services: breaking a monolith into services, adopting serverless functions, event queues and managed storage. Refactor when the current design is blocking the business, for example when releases take weeks, the system cannot scale for peak demand, or nobody can safely change the code. It is the most expensive and slowest strategy, so reserve it for applications where the business case is clear.
How to choose a strategy for each application
- Build an inventory. List every application, its owner, users, servers, data, dependencies and license terms. Discovery tools help, but talk to the owners too.
- Ask whether it is still needed. If not, retire it.
- Ask whether a SaaS product does the job. If yes, and the application is not a differentiator, repurchase.
- Check for blockers. Data residency, special hardware or a mainframe dependency point towards retain for now.
- Weigh business value against urgency. If time is short, rehost or relocate. If there is a cheap, high-value improvement, replatform. If the architecture itself limits the business, plan a refactor.
- Group by dependencies. Applications that talk to each other constantly should usually move together to avoid latency between on-premises and cloud.
Migrate first, modernize second
AWS’s guidance for large migrations is explicit: refactoring during the move is the most complex option, and for large programs it recommends rehosting, relocating or replatforming first and modernizing after the migration. Changing location and architecture at the same time doubles the number of things that can go wrong. Once an application is running in the cloud, it is easier to measure, right-size and redesign piece by piece.
How each strategy affects cost
The strategy you choose changes both the one-off migration cost and the running cost afterwards. Rehosting is cheap to do but can be expensive to run if instances are never right-sized. Refactoring costs the most upfront but can lower running costs and speed up development for years. Our guide to cloud migration cost covers how to build a budget across both.
Common mistakes
- Picking one strategy for the whole portfolio.
- Rehosting and never optimizing, then blaming the cloud for higher bills.
- Skipping the dependency map and splitting chatty applications across environments.
- Starting with the most complex, business-critical system instead of building experience on simpler ones.
- Forgetting licenses: some software licenses do not transfer to the cloud on the same terms.
Frequently asked questions
What is the difference between rehost and replatform?
Rehost moves the application as it is. Replatform makes a few targeted changes during the move, such as switching to a managed database, to gain cloud benefits without redesigning the code.
Which strategy is the cheapest?
Retire, because the application stops costing anything. Among strategies that keep the application, rehost and relocate have the lowest one-off cost, though not always the lowest running cost.
Are the 7 Rs only for AWS?
No. The ideas apply to any cloud. Microsoft and Google use similar categories in their own migration frameworks.
Can we change strategy later?
Yes, and you usually should. A common path is rehost now, replatform within months, and refactor the parts that limit growth.
Further reading
Plan your migration
VisionColab helps businesses assess their applications, choose the right strategy for each one and carry out the move. See our cloud services or book a free consultation.
Written by the VisionColab team
VisionColab designs and builds AI, web, mobile and cloud software for businesses. Our guides explain the decisions, costs and trade-offs involved in planning a software project.


