Cloud Migration Strategy: A Practical Guide to the 7 Rs and a Phased Plan
How to migrate to the cloud: choose a strategy per application (the 7 Rs), follow four phases, budget for the real cost drivers and keep security intact.

A cloud migration strategy is the decision, for each application, about how much to change it on the way to the cloud. Cloud migration itself is moving applications, data and infrastructure from on-premises servers (or another cloud) to a cloud platform. AWS names seven options for each workload, known as the 7 Rs: retire, retain, rehost, relocate, repurchase, replatform and refactor. Most real migrations mix several. A sound plan runs in four phases: assess, plan, migrate and optimize.
This guide explains the 7 Rs in plain language, lays out a phased approach, shows what drives the cost, lists the mistakes that cause trouble and covers how security and compliance are handled while you move. It ends with how to tell when modernizing the application is the better answer than moving it as it is. Nebustream works on AWS, so the examples lean that way, but the logic applies on any major cloud.
What Is Cloud Migration?
Cloud migration is the process of moving workloads such as applications, databases, files and the infrastructure behind them into a cloud environment. The source can be a server room, a data center, a hosting provider or another cloud. AWS defines a migration strategy as the approach used to migrate a workload into the cloud.
Two ideas matter before you pick a tool or a vendor:
- A migration is a portfolio decision. You rarely move one thing. You have many applications, each with a different age, owner, risk and value, so each gets its own strategy.
- Moving is not the same as modernizing. You can move an application unchanged, change a few parts or rebuild it for the cloud. Each choice has a different cost, speed and payoff.
The Migration Strategies: The 7 Rs Explained
There are two well-known framings: Gartner's lists of options for modernizing legacy systems, and AWS's 7 Rs. This guide uses the AWS 7 Rs, because they are written specifically for moving applications to the cloud and are documented in detail. AWS says its strategies build upon the 7 Rs that Gartner identified in 2019, so the two lists overlap.
The table below paraphrases AWS's migration strategies guide.
| Strategy | What it means | Typical fit |
|---|---|---|
| Retire | Decommission or archive the application | No business value, or an unsupported system that adds risk |
| Retain | Keep it where it is, for now | Data residency rules, high-risk systems that need more planning, specialized hardware, recent upgrades |
| Rehost ("lift and shift") | Move it with no changes | Fast moves of many servers, or a first step before optimizing |
| Relocate | Move servers or instances to the cloud version of the same platform, or between accounts and regions | Large moves where the architecture should not change |
| Repurchase ("drop and shop") | Replace it with a different product, often SaaS | Licensed software with a good SaaS equivalent |
| Replatform ("lift, tinker and shift") | Move it and make some optimizations | For example, moving a self-run SQL Server to a managed database service |
| Refactor / re-architect | Redesign it to use cloud-native features | Monoliths that block delivery, or systems that can no longer scale |
Some points from the AWS guide are worth remembering:
- Retire first. AWS describes "zombie" applications as those with average CPU and memory use under 5 percent, and "idle" ones as those between 5 and 20 percent over 90 days. An application with no inbound connections for 90 days is another candidate. Every application you retire is one you never pay to migrate.
- Rehost is quick but captures little of the cloud's benefit. AWS's guidance for Windows workloads says rehosting is typically faster and lower risk, but it does not take full advantage of cloud benefits. The same guide calls replatforming generally more cost-effective than rehosting but slower, and refactoring generally the most cost-effective in the end but needing more advanced skills and time.
- Refactor is the most complex and costly. AWS says that for a large migration, refactor only when the other strategies are not acceptable.
AWS's own advice for large migrations: rehost, relocate, replatform or retire first, then modernize after the move is complete. Mixing a redesign into the migration makes it harder to manage across many applications.
A Phased Approach: Assess, Plan, Migrate, Optimize
AWS divides a large migration into three phases: assess, mobilize, and migrate and modernize. We use four plain-language steps that map onto them: assess, plan (AWS's mobilize), migrate and optimize (AWS's modernize).
1. Assess. Build the business case, check how ready your organization is, and take a first look at the application portfolio. List every application, its owners, its dependencies, its data and what it costs to run today. AWS's portfolio assessment guide treats this discovery as an ongoing activity that feeds every other workstream, not a one-time spreadsheet. Pick a provisional strategy from the 7 Rs for each application here.
2. Plan. Fill the gaps the assessment found. AWS says this phase typically includes building the landing zone (the target environment with its security controls), a more thorough portfolio assessment, the security and operating model, and preparing teams for change. Group applications into waves, starting with lower-risk ones so the team learns before it touches the critical systems.
3. Migrate. Move workloads in waves, with a test and a rollback plan for each. AWS recommends a repeatable pattern with written runbooks and automation. For large migrations, it estimates the initial setup stage at about 1 to 3 months, and the time to implement varies with scope and strategy.
4. Optimize. After workloads run in the cloud, right-size them, adopt managed services, retire what is left over and modernize the applications that deserve it. This is where the savings from the move show up, and where the habits in our cloud cost optimization guide apply.
We do not quote a fixed timeline, because it depends on how many systems you have and how tangled they are. AWS's indicative timeline for large programs puts initial discovery in the first five weeks and wave planning in weeks 8 to 14, and a smaller move can be shorter. On our Cloud & DevOps page we describe working the same way at our scale: inventory what you run, decide what each workload needs, build a secure landing environment in AWS, then migrate in small stages with testing and a demonstration at the end of each.
What Drives the Cost of a Cloud Migration
We do not give a price here, because cost swings with the number of systems, their complexity and the strategy chosen for each. These are the factors that decide it:
- Strategy mix. Rehosting needs the least change up front. Refactoring is, per AWS, the most complex and costly strategy. A migration that retires and replatforms most of its portfolio costs very differently from one that rebuilds it.
- Assessment and planning labor. Discovery, dependency mapping and wave planning take real time, and skipping them moves the cost into surprises later.
- The landing zone and security setup. Networking, identity, logging and guardrails have to exist before workloads arrive.
- Migration labor and tooling. Replication tools, testing, cutover rehearsals and data validation.
- Running two environments. While you migrate in waves, you typically pay for the old and new environments at the same time. A faster, well-planned cutover shortens that overlap.
- Data movement. AWS's Cost Optimization guidance specifically calls out data transfer costs as easy to miss until they show up on the bill. AWS gives a monthly free allowance for outbound internet transfer and tiers the rates beyond it, per its EC2 pricing page.
- Licensing. Moving commercial software may change license terms. Replatforming away from a license is one of the common reasons AWS lists for choosing that strategy.
- Skills and training. Your team must learn to operate the new environment, or you pay someone to do it.
- Ongoing run cost. After the move, the bill is a monthly operating expense. Flexera's 2026 State of the Cloud report puts estimated wasted cloud spend at 29 percent, based on a survey of more than 750 cloud decision-makers and users. That is a self-reported estimate from a vendor survey, but it shows why optimization is part of the plan and not an afterthought.
Common Risks and Mistakes
- Moving everything as is. Lifting every server without asking whether it should exist carries the old costs and problems into a more expensive place. Run the retire question first.
- Missing dependencies. An application that quietly talks to a system you forgot about breaks at cutover. Dependency mapping during assessment prevents most of these.
- A big-bang cutover. Moving everything in one weekend leaves no room to learn. Waves, rehearsals and a rollback path reduce the damage when something goes wrong.
- Redesigning during the move. Combining a refactor with a migration makes both harder to estimate and to test. For large programs AWS recommends migrating first and modernizing after.
- No landing zone or governance. Without agreed networking, identity, tagging and guardrails, every team builds its own, and cost and security drift.
- No cost ownership after cutover. Nobody owns the bill, idle resources pile up and the business case erodes.
- Underestimating people and process. Staff need training, runbooks and a clear owner for each workload. Plan for the change as well as the technology.
Security and Compliance During a Migration
Moving to the cloud changes who is responsible for what, but it does not remove your responsibility. AWS's shared responsibility model splits security into two parts. AWS is responsible for security of the cloud: the hardware, software, networking and facilities behind its services. You are responsible for security in the cloud, and how much that covers depends on the services you use. With a virtual server you manage the guest operating system and applications. With a managed service like S3 you still manage your data, encryption choices and access permissions.
In practice, a migration should treat security as a workstream from the start:
- Build security into the landing zone. AWS lists the security and operating model as part of the mobilize phase. Identity, network boundaries, logging, encryption and backup should be in place before production data moves. AWS also publishes a Secure Migrations Framework on mobilizing security and compliance.
- Classify the data before you move it. Know which systems hold regulated data, and decide what may move and where. AWS lists data residency requirements as a valid reason to retain an application where it is.
- Check regulated workloads against the rules that apply. For health data, see our HIPAA compliance page. Confirm that each cloud service you plan to use is permitted for that data, and that the required agreements are in place, before you migrate.
- Keep records of the change. Approvals, test results and cutover decisions are exactly the change evidence an auditor asks for. If you are pursuing SOC 2, a migration is a good moment to capture evidence the way the audit will want it. Our guide to SOC 2 compliance for startups shows what that involves.
- Scan as you build. Infrastructure defined as code can be checked before it deploys. Our DevSecOps service and information security services cover these checks.
When to Modernize Instead of Just Migrating
Moving an application unchanged is the right call when speed and low risk matter most, or when the application is stable and does its job. It is the wrong call when the application itself is the problem. AWS lists situations where refactoring is justified:
- A legacy mainframe application can no longer meet the demand of the business, or is expensive to maintain.
- A monolith is already slowing down delivery of products or responses to customers.
- Nobody knows how to maintain the application, or the source code is unavailable.
- The application is hard to test, with very low test coverage.
Add a business check: if the system is central to how you earn money and is expected to change often, moving it unchanged only relocates the problem. If it is a commodity function (email, HR, accounting), repurchasing a SaaS product may beat both.
For a system that has to stay running, a staged approach works best. Move it first, or the part of it that is easy to move, then modernize piece by piece while the old system continues to run until each new piece is proven. That is how we approach it on our legacy modernization service: assess, plan, migrate and refactor in two-week sprints that end in working software. For the broader AWS side, see our cloud and DevOps services.
Cloud Migration: Common Questions
What is cloud migration?
Cloud migration is moving applications, data and infrastructure from on-premises systems or another environment to a cloud platform such as AWS. It is usually done application by application, using a strategy chosen for each one.
What are the 7 Rs of cloud migration?
They are the seven strategies AWS describes: retire, retain, rehost, relocate, repurchase, replatform and refactor (also called re-architect). AWS says they build on the 7 Rs Gartner identified in 2019.
What is the difference between rehost and replatform?
Rehost moves the application with no changes, often called lift and shift. Replatform moves it and adds some optimization, for example by replacing a self-managed database with a managed one, without redesigning the application.
What is the best cloud migration strategy?
There is no single best one. Most organizations combine several, choosing per application based on business value, risk, age and how much change they can absorb. For large migrations, AWS suggests retiring, rehosting, relocating or replatforming first and modernizing afterward.
How long does a cloud migration take?
It depends on the number of systems, their dependencies and the strategies chosen, so we do not quote a standard timeline. AWS estimates the initial setup stage of a large migration at about 1 to 3 months, and the rest varies with scope.
How much does a cloud migration cost?
It varies widely with scope and strategy. The main drivers are the strategy mix, planning labor, the landing zone, migration tooling, running two environments during the move, data transfer, licensing and training. Get a scoped estimate after an assessment.
Planning a move to the cloud?
Book a free call with the engineers who would do the work. We will review what you run today and tell you plainly which applications to move, replace, retire or leave alone.
More Articles

DevOps vs DevSecOps: The Difference, a Comparison Table and When You Need It
November 28, 2026
DevOps vs DevSecOps explained: the clear difference, a side-by-side table, what security adds at each pipeline stage and when regulated data requires it.

Stop Polluting Your Machine: Why Devcontainers Are the Way Forward
March 26, 2026
How devcontainers eliminate environment drift, keep projects isolated, and make AWS multi-account workflows painless.

The 2026 Guide to Cloud Cost Optimization: Strategies for Scaling Businesses
March 21, 2026
Cloud cost optimization for scaling teams: rightsizing, Savings Plans, Spot, storage lifecycle, and FinOps habits that cut AWS bills without slowing delivery.