Your hypervisor renewal quote arrives, the number is a lot higher than last year, and someone on the board asks why you are not already on AWS. You are not alone in that meeting. A CloudBolt survey of 302 North American IT decision makers, run in January 2026, found 86% are actively shrinking their VMware footprint, and 72% of the workloads that are moving go to public cloud IaaS. TechRadar’s summary of the same study puts the median price increase between 25% and 49%.
A deadline like that forces a strategy question: do you move the servers as they are, change the code on the way, or start over? Each answer has a different price, a different failure mode, and a different kind of regret.
The Three Options Side by Side
| Lift and shift | Refactor | Rebuild | |
|---|---|---|---|
| What changes | Infrastructure only, same OS, same code | Code and architecture change in steps, the application survives | New application, old one retired |
| Typical AWS target | EC2 via AWS Application Migration Service | Managed databases, containers, serverless pieces | New stack designed for AWS |
| Time to production | Weeks to a few months | Months, in phases | Many months, often more than a year |
| Upfront effort | Lowest | Medium to high | Highest |
| Run cost on day one | Often the same or higher than on premises | Lower after the work lands | Lowest, if the rebuild succeeds |
| Main risk | You pay cloud prices for data center architecture | Two changes at once, no safety net | Years of business rules lost in translation |
AWS names seven migration strategies in its Prescriptive Guidance: retire, retain, rehost, relocate, repurchase, replatform, and refactor. Lift and shift is rehost. Refactor and rebuild both live under AWS’s refactor label, which is why teams argue past each other about them. Replatform, the quiet middle option, shows up later because it often wins.
Lift and Shift: Fast, Cheap to Start, Expensive to Forget
What makes it attractive
It is the only option that matches a calendar. You get a fixed cutover date, little change to application behavior, and a story the board understands. AWS says rehost lets you move large numbers of machines from physical, virtual, or other cloud sources without worrying about compatibility, performance disruption, or long cutover windows.
Where it fits
Picture a company with 180 VMs, a data center lease ending in nine months, and a vendor application nobody has source code for. Rehost is the only option that finishes in time. It also fits the long tail of internal tools that work, have no owner pushing for change, and cost little to run. Large programs lean this way too: AWS guidance lists rehost, replatform, relocate, and retire as the common strategies for large migrations, and says refactor is not recommended there because it adds modernization risk to every application in the wave.
Where it is the wrong call
Three situations come up repeatedly:
- Zombie servers. AWS flags applications averaging below 5% CPU and memory as retirement candidates. Migrating them as is means paying EC2 rates for hardware you already over bought.
- Licensing heavy stacks. A Windows Server plus SQL Server estate carries its license cost onto EC2 unchanged. You moved the bill, not shrank it.
- Components near end of support. AWS’s replatforming guide recommends replatforming applications built on components that reached or approach end of support.
What forces it
A lease or contract expiry, no source code, a vendor that supports only specific configurations, or a team too small to change code and run a migration at the same time.
Refactor: Where the Long Term Savings Live
What makes it attractive
The savings are real and recurring. Moving a self managed database to Amazon RDS removes patching and backup work. Moving .NET Framework to cross platform .NET lets you drop Windows licenses. AWS says its Transform agent for .NET can cut licensing costs by up to 40%, and a later AWS post claims up to 5x faster transformation of full Windows stacks. Treat those as vendor numbers, but the direction is correct.
Where it fits
A product team with active developers, a roadmap, and one painful bottleneck. Think a SaaS billing service on a .NET Framework 4.5 monolith where deployments take a weekend and the SQL Server license is the largest line item. An AWS partner, Axcess.io, reports using AWS Transform for .NET to move a core HRMS system for an Indian NBFC from .NET Framework 4.5 to .NET 8 on AWS. That is the shape of a good refactor: one app, one owner, one clear target.
Where it is the wrong call
Refactoring during a deadline driven migration stacks two risks on one cutover. When something breaks, you cannot tell whether the cause is the new platform or the new code. It also fails without automated tests. Mainframe work shows the scale of that problem: AWS says testing typically consumes over 50% of project duration in mainframe modernization, and BMW Group reported cutting testing time by 75% with AWS Transform for mainframe. If you have no tests, your first refactor milestone is writing them.
What forces it
A licensing cliff, an end of support date, a scaling ceiling that bigger instances cannot fix, or a hiring problem because nobody wants to maintain the old stack.
Rebuild: The Most Tempting Option and the Easiest to Regret
What makes it attractive
A clean slate. No inherited decisions, a modern stack, an architecture diagram you are proud of, and a pitch that ends technical debt for good. Engineers love it and executives hear “modern.”
Where it fits
Rebuild works when the business changed more than the code did. A company pivots its product, the old domain model no longer matches the market, and the legacy system encodes rules nobody wants to keep. It also fits small applications where a rewrite costs less than understanding the old code. And sometimes the right rebuild is a purchase: AWS’s repurchase strategy, replacing a custom app with a SaaS product, often reduces maintenance, infrastructure, and licensing costs.
Where it is the wrong call
Any running system with years of embedded business rules. The old application is the only complete specification of what your business does, and a rewrite has to rediscover every rule, usually in production. Rebuild also means running two systems and freezing features on the old one while the new one catches up.
Even Amazon gets this wrong in the other direction. Prime Video’s video quality team started with a distributed serverless design and, as The New Stack reported, cut infrastructure costs by 90% by moving back to a monolithic process. The engineer behind it said the choice between microservices and a monolith must be made case by case. A modern architecture is not a goal. It is a cost that has to earn its place.
What forces it
A runtime or language with no security patches and no hiring pool, lost source code with documented requirements, or an acquisition that consolidates two products into one.
Factors That Override Your Preference
Most teams do not choose a strategy. Constraints choose it for them.
| Constraint | Pushes you toward |
|---|---|
| Hard deadline under 12 months (lease, licensing renewal) | Lift and shift |
| No source code, or vendor supported configuration only | Lift and shift or repurchase |
| OS or database past end of support | Replatform, or rehost first and upgrade after |
| App below 5% CPU and memory utilization | Retire |
| License cost dominates the bill (Windows, SQL Server, Oracle) | Refactor or replatform |
| Active dev team and a clear bottleneck | Refactor |
| No tests and undocumented business rules | Lift and shift now, build tests, refactor later |
| Product direction changed | Rebuild or repurchase |
| Team under 10 engineers | Lift and shift, then one refactor at a time |
Mistakes That Cost Teams the Most
Picking one strategy for the whole portfolio. AWS’s guidance applies the seven strategies per application for a reason. A real portfolio typically contains a few retire candidates, a large rehost group, a small replatform set, and one or two applications worth refactoring.
Treating lift and shift as the finish line. The second phase of AWS infrastructure modernization (rightsizing, Savings Plans, managed services) is where the money comes back, and it rarely gets funded once the migration party is over. Put a dated optimization milestone and a named owner in the plan, ideally 60 to 90 days after cutover.
Using last year’s cost model for refactor. The economics have moved for specific stacks. AWS reports that AWS Transform migrated tens of thousands of VMs and processed over 4.5 billion lines of code in its first year, saving a claimed 1.69 million hours of manual effort across mainframe, .NET, infrastructure, and custom code work. The service covers VMware, mainframe, and Windows and .NET paths. Its VMware path requires AWS Application Migration Service in the target accounts, so the “lift” and the “tinker” now share tooling. Tooling shortens assessment and conversion. It does not write your tests or give the code an owner.
Migrating before retiring. Every zombie you move costs migration effort and a monthly bill.
Rebuilding because the diagram is ugly. Ask what business outcome the rebuild changes. If the answer is “cleaner code,” price the refactor next to it.
A Three Question Filter for Each Workload
Run these in order, per application:
- Does it need to exist? If utilization is near zero or nobody owns it, retire it.
- What is the deadline, and who sets it? A hard external date means lift and shift first, regardless of how ugly the result is.
- Does someone own the code, and can they test it? Yes means refactor candidate. No means rehost, add tests, and revisit.
If you bring in AWS migration strategy consulting, ask for this scoring per workload, with named owners and dates, not a single recommendation for the whole company. Good modernization happens in waves: rehost to hit the date, then fund the refactors that earn their cost, and treat a rebuild as the exception that needs a business case, not an engineering preference.