7Rs of Cloud Migration: Full Guide
In this article
The 7Rs of cloud migration are the seven common strategies for moving an application to the cloud: Rehost, Replatform, Repurchase, Refactor, Retire, Retain, and Relocate. These categories help teams decide the most efficient, cost-effective path for each workload, rather than applying a one-size-fits-all lift-and-shift approach.
Background: Where the 7Rs Came From
The R-framework originated with Gartner, which originally proposed five Rs (Rehost, Refactor, Revise, Rebuild, Replace) in the early 2010s. AWS later expanded and popularized a six-R version (Rehost, Replatform, Repurchase, Refactor, Retire, Retain), and then added Relocate to address the growing use of hyperconverged infrastructure and VMware-based environments. Today, most cloud providers and consultancies use the 7Rs as a standard vocabulary in migration assessments.
The framework exists because not every application benefits from the same migration method. A legacy CRM might need a full rewrite, while a simple web server can be moved as-is. Without a structured set of options, teams tend to default to rehosting everything, which often leaves performance and cost savings on the table.
The 7Rs Explained in Detail
- Rehost (lift-and-shift): Move the application to the cloud without changing its architecture. You copy the virtual machine or container image, adjust networking, and run it on cloud infrastructure. This is the fastest and lowest-risk method, but it rarely reduces costs on its own because you still pay for the same compute and storage capacity.
- Replatform (lift-tinker-and-shift): Make minor cloud-optimized changes without altering the core architecture. Examples include moving from a self-managed database to a managed database service like Amazon RDS, or swapping a custom load balancer for a cloud-native one. This yields moderate cost and operational benefits with limited effort.
- Repurchase (drop-and-shop): Replace the application with a software-as-a-service (SaaS) product. For example, migrating an on-premises HR system to Workday or a legacy email server to Microsoft 365. This eliminates infrastructure management entirely but requires changing business processes and data formats.
- Refactor (re-architect): Modify the application to be cloud-native, typically by breaking it into microservices, using serverless functions, or adopting containers and orchestration. This is the most expensive and time-consuming option, but it can deliver the greatest scalability, resilience, and cost efficiency in the long run.
- Retire: Decommission applications that are no longer needed. During migration assessments, teams often discover that some applications have zero active users or have been replaced by newer tools. Turning these off reduces migration scope and ongoing costs.
- Retain (revisit): Keep the application on-premises or in its current environment for now. Reasons include regulatory data residency requirements, pending vendor contracts, or the application being too tightly coupled to legacy hardware. You can revisit the decision later.
- Relocate: Move the entire environment—including the hypervisor and orchestration layer—to a cloud service that supports the same infrastructure. This is most common with VMware-based workloads moving to VMware Cloud on AWS, Azure VMware Solution, or Google Cloud VMware Engine. It is a form of rehosting but at the infrastructure level, not the application level.
How to Choose the Right R for Each Workload
There is no universal rule, but a practical approach is to score each application on several criteria: business criticality, technical debt, data sensitivity, and future roadmap. A common method is to start with a portfolio assessment, then apply a decision tree.
- Is the application still used? If no, mark it for Retire.
- Does it need to stay on-premises for legal or technical reasons? If yes, Retain.
- Can it be replaced by a SaaS product that meets 80% of requirements? If yes, Repurchase.
- Is the current infrastructure heavily customized (e.g., VMware)? If yes, consider Relocate.
- Does the application need to scale rapidly or handle unpredictable load? If yes, Refactor may be worth the investment.
- Is the codebase modern and well-documented? If yes, Replatform or Rehost are low-effort options.
- If you need speed and minimal risk, choose Rehost first, then optimize later.
In practice, most enterprises use a mix. A typical migration portfolio might be 40% rehost, 30% replatform, 15% repurchase, 10% retire, and 5% refactor, with retain and relocate reserved for special cases.
Common Problems and Misconceptions
The biggest misconception is that the 7Rs are mutually exclusive. In reality, an application can start as a rehost and later be refactored. The framework is a planning tool, not a permanent label.
Another common problem is underestimating the effort of rehosting. Even a lift-and-shift requires reconfiguring networking, identity management, and monitoring. Teams often assume that because the application runs the same, it will behave the same, but latency, IP addresses, and storage performance all change.
Cost surprises are also frequent. Rehosting often increases costs in the short term because you are paying for cloud resources on top of existing on-premises hardware during the transition. A proper TCO analysis must include the cost of running both environments during migration, plus the cost of decommissioning old hardware.
Finally, many teams skip the Retire step. They assume every application must move, but a thorough inventory often reveals that 10-20% of applications are redundant or obsolete. Removing them saves money and reduces migration risk.
Comparing the 7Rs: Effort vs. Benefit
The 7Rs fall on a spectrum from low effort/low transformation to high effort/high transformation.
- Low effort: Retire (no migration), Retain (no change), Relocate (infrastructure move).
- Medium effort: Rehost (VM copy), Replatform (minor changes).
- High effort: Repurchase (process change), Refactor (code rewrite).
The benefit also scales: rehost gives you the same performance at a similar cost, replatform gives you operational savings, repurchase eliminates maintenance, and refactor gives you scalability and elasticity. Relocate gives you the benefit of moving to the cloud without changing application architecture, but it does not provide cloud-native features like auto-scaling or serverless.
A good rule of thumb: if you have a stable, well-performing application with low traffic, rehost or replatform is sufficient. If you have a business-critical application that needs to scale globally, refactor is worth the investment.
Cost and Safety Considerations
Cost is a primary driver, but the 7Rs affect cost differently. Rehosting can increase costs by 20-30% if you do not right-size instances or use reserved capacity. Replatforming can reduce costs by 20-40% by using managed services that eliminate administrative overhead. Refactoring can reduce costs by 50% or more in the long run, but requires significant upfront investment.
Safety in this context means data security and compliance. When migrating, you must ensure that data encryption, access controls, and audit logs are preserved. For regulated industries like healthcare or finance, retaining data on-premises may be mandatory, which is why the Retain option exists. Also, be aware of data residency laws—moving data across borders can violate local regulations.
Another safety concern is downtime. Rehosting typically requires a cutover window, while replatforming may involve data synchronization. Always test rollback procedures before migration, and keep the old environment running until the new one is fully validated.
Alternatives to the 7Rs
Some organizations use a simpler framework like the 4Rs (Rehost, Refactor, Revise, Rebuild) or the 6Rs (without Relocate). Others use a binary approach: move as-is or modernize. The 7Rs are not a standard—they are a guideline, and you can adapt them to your context.
Another alternative is the “strangler fig” pattern, where you gradually replace parts of an application over time, rather than choosing a single R. This is useful for large monoliths that cannot be refactored all at once.
Finally, some teams skip the formal framework and use a cloud provider’s migration assessment tool, which automatically categorizes workloads based on telemetry. These tools can suggest an R for each application, but they still require human judgment.
Frequently Asked Questions
What is the difference between rehost and replatform?
Rehost moves the application exactly as-is, with no changes to code or architecture. Replatform makes small, targeted changes—like switching to a managed database—while keeping the core application logic unchanged. Replatform is slightly more work but often yields better cost and performance.
When should I choose retire over rehost?
Retire is the right choice when an application has no active users, is redundant, or has been superseded by another system. During migration assessments, you should validate usage logs and talk to business owners. If the application is not needed, retiring it saves money and reduces migration effort.
Is rehosting always the cheapest option?
No. Rehosting has the lowest upfront effort, but it can lead to higher ongoing costs because you are paying for the same capacity without cloud optimizations. Replatforming or refactoring can reduce long-term costs, but require more upfront investment. The cheapest option depends on your time horizon and workload characteristics.
Can I combine two Rs for one application?
Yes. For example, you might rehost a monolithic application first, then later refactor parts of it into microservices. The 7Rs are planning categories, not rigid rules. Many real-world migrations start with rehost to gain cloud experience, then move to replatform or refactor in a second phase.
What does relocate mean in VMware cloud migration?
Relocate means moving the entire virtualized environment—including the hypervisor and management tools—to a cloud service that supports the same infrastructure. For example, using VMware Cloud on AWS lets you move your existing VMware workloads without changing the way they are managed. It is essentially a rehost at the infrastructure level.