“Should we lift-and-shift or refactor” is one of the most argued-over questions in any migration kickoff meeting, and it’s usually argued badly, because the engineers in the room default to refactor (it’s more interesting work) and the finance side defaults to lift-and-shift (it looks cheaper and faster on a timeline). Both instincts are reasonable and both are frequently wrong for the specific application being discussed.
The honest answer is that this decision should be made application by application, using a small number of concrete factors, not as a single company-wide policy.
What Each Approach Actually Means
Lift-and-shift means moving an application to cloud infrastructure with minimal changes to its architecture — same database engine, same application structure, same deployment model, just running on cloud virtual machines instead of on-premises hardware. It’s the fastest path to “out of the data center” and the lowest-risk option in terms of unexpected behavior changes, because you’re not changing how the application works, only where it runs.
Refactoring means restructuring the application to take advantage of cloud-native patterns — breaking a monolith into services, moving to managed databases, adopting autoscaling, rebuilding around managed queues instead of a self-hosted message broker. It takes longer and costs more upfront, but it’s what actually unlocks the cost and operational benefits people associate with “being in the cloud” in the first place.
The Honest Trade-Off Nobody Likes to Say Out Loud
Lift-and-shift gets you out of a bad situation fast — an expiring data center contract, aging hardware, a lease that’s ending — but it often doesn’t reduce your operating costs much, and sometimes increases them, because you’re paying cloud infrastructure prices for an application that wasn’t designed to use cloud resources efficiently. You’ve moved the furniture into a new house without rearranging it for the new floor plan.
Refactoring delivers the cost and scalability benefits everyone wants from the cloud, but it takes real engineering time, carries real risk of introducing new bugs, and delays your exit from whatever situation is forcing the migration in the first place.
A Framework for Deciding, Application by Application
| Factor | Favors Lift-and-Shift | Favors Refactor |
|---|---|---|
| Time pressure | High (contract ending, hardware failing) | Low to moderate |
| Application’s strategic importance | Low, utility application | High, core differentiator |
| Current architecture quality | Reasonably well-structured already | Tightly coupled, hard to maintain |
| Expected lifespan of the app | Short, likely to be retired soon | Long, will be invested in for years |
| Team’s cloud-native experience | Limited | Established |
| Budget available right now | Constrained | Available for upfront investment |
Run every major application through this table honestly. You’ll often end up with a mixed migration — some applications lifted as-is, others refactored, and a few retired outright because the exercise reveals they’re barely used. That mixed outcome is usually the right one, even though it’s less satisfying than a single clean strategy.
The Middle Path Most Teams Underuse
Between the two extremes sits replatforming: lifting the application largely as-is but swapping specific components for managed cloud equivalents, like moving a self-managed database to a managed database service, or swapping a self-hosted cache for a managed one. This captures a meaningful share of the operational benefit of refactoring — automated backups, patching, scaling — without the cost and risk of restructuring the application itself. It’s underused because it doesn’t sound as decisive as either “just move it” or “rebuild it right,” but for a lot of applications it’s the best return on effort.
Cost Reality Over the First Two Years
Lift-and-shift tends to look cheaper in month one and gets more expensive relative to a well-executed refactor over an eighteen-to-twenty-four-month horizon, because an un-refactored application usually can’t take advantage of autoscaling, spot capacity, or managed-service efficiencies. Refactor projects tend to run over their initial budget and timeline estimates, a pattern consistent enough that experienced teams pad their refactor estimates by a wide margin and are still sometimes surprised.
Neither of these is a reason to avoid one approach entirely. They’re both reasons to go in with realistic expectations rather than the optimistic numbers that usually show up in the initial pitch.
Sequencing Matters More Than People Expect
A pattern that works well in practice: lift-and-shift first to get out of the pressing situation, stabilize in the new environment, and then refactor incrementally once the application is already running in the cloud and the team has breathing room. Trying to do both at once — move and restructure simultaneously — multiplies risk and makes it much harder to tell whether a problem came from the move or the restructuring.
Watch for the Sunk-Cost Trap on Both Sides
Teams that commit early to “we’re refactoring everything” sometimes keep investing in a refactor that’s clearly running over budget, rather than stepping back and lifting the remaining pieces as-is. The reverse happens too — teams that commit to lift-and-shift sometimes avoid ever circling back to refactor, even once the pressure that justified lift-and-shift has passed. Revisit the decision at set checkpoints rather than treating the initial choice as permanent.
Frequently Asked Questions
Is refactoring always the “better” long-term choice if cost weren’t a factor? Not always. Some applications, especially ones nearing retirement or with naturally low complexity, gain little from refactoring regardless of budget. The decision should track the application’s strategic value, not a general preference for modern architecture.
How do you estimate refactor timelines more accurately? Base estimates on a similar application your team has already refactored, if one exists, and add contingency of at least 30-40%. Pure top-down estimates for refactor work are notoriously optimistic.
Can lift-and-shift be a permanent end state rather than a stepping stone? Yes, for applications with limited strategic importance or a short remaining lifespan. Not every application needs to eventually become cloud-native.
Does replatforming carry the same risk as a full refactor? Generally less, since you’re changing specific components rather than application structure broadly, but it’s not risk-free — swapping a database engine, for instance, still requires careful data migration and testing.
What’s the most common reason a refactor project gets abandoned partway through? Underestimated scope combined with ongoing pressure to ship feature work in parallel, which splits engineering attention and stretches the refactor timeline well past its original estimate.
Next Step
List your three most business-critical applications and run each one through the decision table above honestly this week, rather than defaulting to a single migration strategy for everything you own.
By CloudVexora Editorial · Updated October 22, 2026
- lift and shift
- cloud refactoring
- migration strategy