Most established businesses run at least one system that everyone is afraid to touch. It was built 10 or 20 years ago, it still does something essential (billing, inventory, production planning, loan processing), the people who wrote it have left, and every change takes weeks. It may run on an old server, an unsupported operating system or a language few developers know.
The tempting answer is "rewrite it from scratch". That is also the riskiest answer. This guide explains the options, how to choose between them for each part of the system, and the approach that lets you modernise without stopping the business.
Why modernise at all?
The reasons are usually one or more of these:
- Risk: unsupported software and servers stop getting security updates.
- Speed: small changes take weeks, so the business works around the system.
- People: fewer developers know the technology, and the ones who do are leaving.
- Integration: the system can't connect easily to new apps, partners, AI tools or the cloud. See integrating AI into existing systems.
- Cost: licences, old hardware and specialist support cost more each year.
Write down which of these apply. They decide which option makes sense. If the only problem is an old server, you don't need a rewrite.
The options, from least change to most
Cloud providers describe a standard set of migration strategies. AWS lists seven: retire, retain, rehost, relocate, repurchase, replatform and refactor (AWS Prescriptive Guidance). In plain terms:
| Option | What it means | When it fits |
|---|---|---|
| Retire | Switch it off | Nobody really uses it, or another system already does the job |
| Retain | Leave it as it is for now | It works, it's stable, and other work matters more |
| Rehost ("lift and shift") | Move it to new servers or the cloud without changing the code | The server is the main problem |
| Replatform | Move it with small changes, such as a managed database or a newer runtime | You want lower running costs and less maintenance without a rewrite |
| Repurchase | Replace it with a ready-made product (SaaS) | The process is standard (HR, accounting, CRM) |
| Refactor or rebuild | Rewrite parts or all of it with a modern design | The system is core to how you compete, and change speed matters |
Our cloud migration roadmap covers the infrastructure side of these choices in more detail.
Choose per part, not for the whole system
A legacy application is rarely one thing. It's usually several modules: customer records, orders, pricing, reports, integrations. Each can get a different answer. For example (illustrative):
- Reports move to a modern reporting tool reading a copy of the database (replatform).
- Customer and order screens are rebuilt as a web app, because users touch them every day (rebuild).
- The pricing engine stays as it is for now, because it's complex, correct and rarely changes (retain).
- The old fax and email module is switched off (retire).
This turns one frightening project into a series of smaller ones, each with its own benefit.
The strangler fig approach: modernise without a big-bang rewrite
The safest way to rebuild parts of a live system is the strangler fig pattern, named by Martin Fowler after a fig that grows around a host tree until it replaces it (Martin Fowler). Instead of rewriting everything and switching over on one weekend, you:
- Put a layer in front of the old system, such as an API gateway or proxy, so users and other systems go through it.
- Rebuild one piece at a time, for example order entry.
- Route that piece's traffic to the new code, while everything else still goes to the old system.
- Repeat until the old system does nothing, then switch it off.
Microsoft's architecture guidance describes the same pattern and its trade-offs, including the extra work of keeping data consistent while both systems run (Azure Architecture Center).
Why it works: each step is small, delivers something users can see, and can be rolled back. The business never depends on one big switch-over.
What it costs: you run two systems side by side for a while, and you need a plan for shared data.
Before you start: a 4-week assessment
- Inventory: list modules, users, integrations, data volumes, servers, licences and who knows what.
- Pain map: for each module, note the problems (risk, speed, cost, people) and how often it changes.
- Data: find where the data lives, how clean it is, and what other systems read it.
- Options per module: retain, rehost, replatform, repurchase, rebuild or retire, with a rough effort for each.
- Sequence: start with a module that is valuable, fairly independent and visible to users. An early win builds support for the rest.
Mistakes to avoid
- The big-bang rewrite. Rewriting everything while the business keeps changing usually means the new system is always "almost ready".
- Copying old screens exactly. Modernisation is a chance to remove steps people no longer need. Ask users first.
- Ignoring the data. Migrating years of inconsistent data is often the largest single task.
- No tests on the old system. Before changing anything, capture how it behaves today with automated tests, so you can prove the new code gives the same results. See test automation: where to start.
- Forgetting the people. The staff who know the old system are your best source of hidden rules. Involve them from the start.
Frequently asked questions
What is legacy application modernisation?
Updating old business software so it's safer, cheaper to run and easier to change. That can mean moving it to new infrastructure, replacing parts with modern products, or rebuilding parts in a modern design.
Should we rewrite our legacy system from scratch?
Rarely all at once. A step-by-step approach such as the strangler fig pattern lets you rebuild one part at a time while the old system keeps running.
What's the difference between rehosting and replatforming?
Rehosting moves the application to new servers or the cloud without changing it. Replatforming makes small changes along the way, such as moving to a managed database.
How long does modernisation take?
It depends on the size of the system. With a step-by-step approach, the first modernised module can usually go live well before the whole programme is finished, so value starts early.
Can we modernise and move to the cloud at the same time?
Yes, and it's common. Decide the option for each module first, then plan the infrastructure. Our cloud migration roadmap explains the order.
Running a system everyone is afraid to touch? We'll start with a short assessment: what you have, what hurts, and a step-by-step plan with options for each module. Explore software development → · Talk to us →