Migration of Applications: Approaches, Risks and Stages
Migration of applications explained: five approaches, how to match each app, the risks to test for and the stages of a controlled cutover.
More than half of enterprise application estates consisted of legacy applications in a 2020 worldwide survey of 2,500 developers, and approximately 65% of respondents said more than half of their legacy portfolio had already been modernised. Read together, those numbers describe portfolio work. Old systems stay in place for years, and modernisation proceeds in stages instead of one clean replacement.
Most migration risk sits in behaviour, which makes the cloud target the wrong first question. The decision that breaks projects is whether the new system still follows the old system's undocumented rules, exceptions, reports and downstream links. A deployment can succeed while payroll rounds differently, a finance report changes, or a nightly job stops feeding another team. Migration works like relocating a restaurant kitchen: the ovens are new, but every dish still has to taste the way regulars expect. Treat it as a behaviour-preservation problem first and a hosting problem second, and the trade-offs in each approach become easier to weigh.
Five Migration Approaches Compared
In one estate review, presented as a composite example, the "migration" was a hosting change that left the batch scheduler untouched. The servers moved. The risk stayed behind, inside database jobs, identity rules, integrations and reports that still expected the old timing.
Application migration means moving an application's runtime, data or code into a new environment. The chosen approach decides how much else must change, how much testing follows, and how much business behaviour has to be proved again. The right row depends on the application's remaining life and how much change the business can absorb.
The Five Options Side by Side
| Approach | What changes | Effort | What it preserves | Main risk |
|---|---|---|---|---|
| Rehost | Infrastructure only; code and database stay as they are | Low to moderate | Existing logic and data design | Keeps coupling, manual deployments and inefficient data |
| Replatform | Newer runtime, operating system or managed database with minor code changes | Moderate | Most business logic | Hidden incompatibilities in drivers, configuration or runtime |
| Refactor | Internal architecture changes; same product and data model | High | Core product and data model | Regression risk across shared code and slower early delivery |
| Rebuild cloud-native | New stack built around recovered business rules | High to very high | Business rules and data rather than code | Undocumented behaviour missed; longer wait before value |
| Replace with packaged product | Custom application retired in favour of a vendor product | Varies widely | Process outcomes rather than custom code | Customisation gaps, data mapping and vendor lock-in |
Rehosting, often called lift and shift, works like moving a house to a new plot while keeping the same wiring. It is faster because it avoids changing the application. That speed has a price. Old coupling between components, manual deployment steps and inefficient data design travel with the code, so the operational problems arrive at the new address.
Replatforming sits in the middle and can look deceptively simple. A managed database or newer runtime may reduce maintenance, yet a driver difference, a default setting or a character encoding change can break behaviour that code review will not catch. Refactoring and rebuilding cost more and need deeper testing, but they let the team repair structure while users still expect the same outcomes.
Replacing with a packaged product removes custom code. It still leaves data mapping, migration of history, and the process gaps where staff relied on behaviour the product does not have.
Practical rule: If an approach can't state what it preserves and what it puts at risk, it isn't a plan yet.
List each application in scope against the five rows. Mark the likely row, the reason, and what evidence would change the decision. Do not force a final answer. That first pass shows where discovery effort belongs.
Matching Each Application to the Right Approach
The evidence suggests teams have already moved beyond simple copying. In a survey of 211 organisations with at least 1,000 employees across 12 industries.pdf), 42% preferred re-engineering, redevelopment or refactoring, against 20% who chose lift-and-shift rehosting. The same survey found 87% were already using, or planned to use, tools to automate migration partly or fully.
Those figures don't prove refactoring is right for a given estate. They show the business case has shifted. In that survey, 45% identified greater agility in responding to market needs as the leading benefit, and 41% said cloud applications delivered better performance and responsiveness than legacy mainframe applications. Automation helps with repeated tasks, but it doesn't make architectural decisions or approve a production release.
Six Criteria for Sorting an Estate
- Business criticality: What stops if this application fails, and for how long can the business tolerate that?
- Tolerance for change: Can users accept a new workflow, or must behaviour stay identical during the move?
- Number of dependencies: Which applications, files, jobs and reports depend on it, and who owns each one?
- Data sensitivity and location rules: Where may the data sit, who may access it, and what must be proved?
- Available skills: Does the team know the old stack, the target stack, or both well enough to test them?
- Expected remaining life: Is this system worth deep investment, or is retirement already likely?
The criteria sort applications into four bins: move as is, improve in place, rebuild, or retire. A hypothetical retailer with 40 applications might sort 25 into rehost or replatform, 9 into refactor, 2 into rebuild and 4 into retire. Those numbers are illustrative only. The value sits in the recorded reason behind each bin, not in the proportions.
Edge cases matter. A fixed data-centre exit date can justify rehosting first and improving later. A fragile system with undocumented rules shouldn't be rehosted blindly, because the move preserves the fragility. Some workloads should stay in private or hybrid placement where residency or latency rules demand it.
Run a placement test before any rehost decision. List each application that must stay private or hybrid because of data-residency rules or latency needs. For each one, write an exit rule stating when the placement will be reviewed. Record the reason for every choice so it can be revisited when facts change.
Planning Checks Before Any Application Moves
Standard migration checklists ask teams to map dependencies and phase delivery. That advice is necessary, but it leaves one question open: how does a team find behaviour that nobody documented? Hidden rules often surface only when users complain after the switch, and by then the old system may already be off.
The difficulty shows up in the numbers. In Ensono's 2025 modernisation research on refactoring and legacy integration challenges, 52% of respondents called refactoring or re-architecting their largest challenge and 43% struggled to integrate legacy systems with newer tools and platforms. The same research reported 59% operating in hybrid IT environments, which adds more places where undocumented behaviour can hide.

A dependency map works like a building's floor plan. It shows where every door and corridor sits, while the wiring behind the walls stays invisible. Mapping tells a team which systems talk to each other. The tacit rules, exceptions, reports and downstream jobs inside each one stay hidden. So the planning question becomes: how can a team prove a migrated application still preserves those rules before switching users over? A generic test plan cannot answer it, because tests only check behaviour somebody already knows about.
Evidence-Led Discovery in Five Steps
- Reconstruct real workflows from logs, database changes, support tickets and user interviews, not from design documents alone.
- Build a behaviour catalogue of rules, exceptions and reports, with a source recorded for each entry.
- List every downstream job and integration with a named owner who can confirm what correct output looks like.
- Replay representative transactions and run old and new systems in parallel so outputs can be compared directly.
- Define measurable rollback triggers in advance, so the decision to stop doesn't depend on opinion during an incident.
One worked example of this order: Grail Computer Labs audits an inherited platform before rebuilding, covering code, data, infrastructure and product documents left by the previous vendor, then recovers the rules inside the legacy system, rebuilds the software in controlled stages, and proves the new behaviour before release. That sequence suits legacy system migration services for inherited platforms where the original team's knowledge has already left.
Take a hypothetical payroll platform where a rounding rule exists only inside a report script. The dependency map shows the report reads the payroll database. The rule itself stays invisible. Comparing report output between old and new systems, and reading the support tickets where payroll staff questioned past totals, would surface it.
Healthcare platforms, payroll, fintech and marketplaces need this work most, because undocumented exceptions there can cause compliance, payment or service failures. Before any cutover date is set, ask for three outputs: an inventory with owners, a behaviour catalogue, and one named success metric for the move.
Migration speed depends less on converting code than on preserving context and proving the new system behaves the same where it must.
Risks That Stall or Break a Migration
A write freeze that runs longer than the rehearsal predicted is the most common cutover surprise. The freeze itself is rarely what breaks. Instead, it reveals the underlying difficulty: two systems that must agree on data, behaviour and timing under a deadline, while edge cases the new system never reproduced start surfacing. Choosing a cloud target is the easy part of a migration. Finding undocumented rules and proving the new system matches them is where these risks live. Read the table below as a planning checklist, where each risk pairs an early warning sign with the control that contains it.

| Risk | Early warning sign | Control |
|---|---|---|
| Cutover downtime | Write freeze longer than planned in rehearsal | Separate bulk load from change capture so the final synchronisation window stays small |
| Undocumented behaviour | Users report missing reports or exception handling after the switch | Behaviour catalogue built from logs, tickets and interviews; parallel run with output comparison |
| Broken integrations | Downstream jobs fail on the first business day | Map application-to-application dependencies before setting the cutover date |
| Data drift | Row counts or balances differ between old and new stores | Automated reconciliation of counts and business invariants |
| Security and compliance gaps | New environment lacks required controls or data-location rules | Security testing and residency checks before traffic moves |
| Cost after go-live | Spend rises with no named owner | Named post-cutover owner and a scheduled cost review |
| Lock-in to one environment | Moving data or rebuilding elsewhere takes months | Portable infrastructure-as-code, exportable data and tests in a second environment |
Two rows deserve a second look. Undocumented behaviour and data drift are versions of the same problem: the new system must prove it reproduces what the old one did, including rules nobody wrote down. The remaining rows are scheduling and ownership problems, easier to plan for and easier to test.
Why the Final Freeze Deserves Attention
A benchmark using production-like transactional workloads found that conventional cutovers freezing writes during schema upload and validation produced 12 to 18 minutes of downtime. Optimised pipelines using pre-warmed read replicas and change-data-capture (CDC) catch-up reduced cutover downtime to below five minutes. The same evaluation reported average query latency falling from 89 ms to 51 ms in one relational database upgrade and from 101 ms to 59 ms in another, so the gains extended past the cutover window itself.
The mechanism is straightforward. Bulk transfer moves historical data first. CDC works like a running ledger, recording every change made while that copy travels, then replaying those changes so the final synchronisation window shrinks to the last few entries. A plan that measures only total transfer time looks in the wrong place, because the operational risk concentrates in the final write freeze and validation stage. Benchmark representative transactions, validate row counts automatically, and rehearse the rollback inside the actual cutover window so the team trusts it before the clock is running.
Reversibility deserves the same discipline. Test whether the application can run in a second environment, with exportable data and portable infrastructure-as-code. A migration that cannot be repeated or reversed has traded one form of lock-in for another.
The Stages of a Controlled Move
A controlled move answers three questions in order. What happens, in what sequence, and which gate must be passed before the next stage starts? Gates matter because they stop optimism from carrying a weak stage into production.

Six Stages and Their Gates
- Discover. The team maps runtime, data and integration dependencies, and the gate is a signed-off inventory with owners, because unowned dependencies fail without warning later.
- Classify. Each application gets an approach from the first section and a risk rating, and the gate is a recorded reason per application, because decisions without reasons can't be revisited.
- Pick a first slice. The team chooses one bounded capability with few dependencies and a clear owner, and the gate is agreed success metrics, because a slice without a measure can't prove the pattern works. GC Labs recommends a tight first rollout over a broad one, adding integrations in the order the workflow requires them.
- Build the move. Engineers separate the initial data load from continuous change capture, place a stable application programming interface (API) or anti-corruption layer in front of the slice, and add observability, contract tests and performance baselines. The gate is a target that passes build and security checks, because traffic shouldn't test basic soundness.
- Run in parallel and reconcile. A small share of traffic goes to the new version while the team compares error rates, latency, record counts and business outcomes. The gate is results within agreed tolerance, because expanding traffic before outputs match multiplies the damage from any mismatch.
- Cut over and retire. The team rehearses the write freeze, validates the remaining change queue, switches traffic, and keeps the old system available for rollback for an agreed period before decommissioning. The gate is a rehearsed rollback and a signed go or no-go decision, because the cutover window is the wrong time to improvise.
Traffic moves in increments for a practical reason. A small share produces real evidence about behaviour under production conditions while limiting the number of users exposed to a defect. Each increment can be compared against the old system, and each has an independent rollback route. A single big switch produces the same evidence, but only after every user is already affected.
Rehearsal matters more than speed for the same reason. The rehearsal measures the actual write freeze, the actual validation time and the actual rollback duration. Estimates made in a planning meeting don't survive contact with real data volumes and real approval chains.
Gate discipline: Expand traffic only when error rates, latency, reconciliation and business outcomes match the old system closely enough.
Timings depend on data volume, dependency count and team capacity. This outline deliberately doesn't promise a duration, because any fixed number would hide the discovery work that determines the actual schedule. A named owner per application, per integration and per gate keeps the sequence honest.
A Worked Example From a Stalled Platform
An Australian healthcare platform had spent 8 months struggling with its previous vendor. Delivery had slowed until the company could no longer see when the platform would go live. A build that exists but cannot reach production is where software rescue work usually starts.

The inherited platform held three codebases and 32 projects: a web portal, a separate onboarding product, and a custom sign-in service. Three codebases meant three places where behaviour could hide, and three stacks a small team had to understand before changing anything safely. Each system worked like a separate ledger for the same business, and nobody could say which entries still mattered.
GC Labs took over from the previous vendor and began with an audit covering the inherited code, data, infrastructure and product documents. The audit separated what the business depended on from what the previous build had made hard to change. The data, business rules, workflows and knowledge of how the company operated were worth keeping, so the software was rebuilt around those facts on a single modern stack. The hard part was finding and confirming those rules, not picking the replacement technology.
The result is specific. The platform was rebuilt and live in production within 30 days, and by day 40 100 business customers had been onboarded.
The limitation matters as much as the result. This is one case with its own history, and the path depended on what the audit found: which business rules could be recovered, which parts of the build could be discarded. A different estate, with different data quality or regulatory constraints, could need a different route and a longer discovery stage. Thirty days is what this platform's history allowed, not a promise.
A hypothetical manufacturer shows the same discipline at a smaller scale. Its order system moves in three slices, covering order entry first, then fulfilment updates, then invoicing. Before each cutover, the finance report from the new slice is checked line by line against the old system's report for the same period. That timing and sequence are illustrative, not a forecast for any real manufacturer.
Test Your Inventory Against Your Estate
A checklist confirms that documents exist. It cannot confirm that anyone knows what the system really does.
The sharper test is a set of questions put to the estate itself, because the answers surface undocumented behaviour before a migration surfaces it the hard way.
Questions to Put to the Estate
- Who can describe what this application does on its worst day, including the exceptions, overrides and manual corrections that never reached a specification?
- Which business rules live only in the code, and when did anyone last see them written down?
- Where does a person step in to correct what this system gets wrong, and what breaks if they stop?
- If the old and new systems disagree after a cutover, whose answer does the business trust, and who notices the difference first?
- What evidence would prove the replacement behaves the same way, beyond a clean deployment?
Every unanswered question marks a place where hidden behaviour is still doing work. Those gaps set the agenda for discovery, which becomes the first working stage of the move. No cost, duration or savings figure belongs in the plan yet; those numbers depend on what the audit finds, and quoting them early would mislead more than it helps.
For estates where the questions outnumber the answers, Grail Computer Labs offers a software rescue service in which it assumes responsibility for an existing build from a previous vendor, covering the product, codebase, infrastructure, testing and production.
Grail Computer Labs audits inherited and stalled platforms, recovers the business rules inside them, and rebuilds or re-platforms the software in controlled stages with behaviour proved before release. For leaders weighing migration of applications against the risk of losing undocumented rules, that audit-first approach turns an uncertain estate into a recorded set of decisions. Visit Grail Computer Labs to book a call and test a migration inventory against a real estate.