Modernising legacy systems without risking daily business
Published · 9 min read
Listen to the article · read by an AI voice

An old system that carries the business does not have to be replaced in one big switch. It can be modernised in steps while daily work goes on. Our article on why digital projects fail names “too much at once” as a cause of failure. It recommends cutting a project into small pieces, each with a result you can look at and check.
The same idea applies to old systems. Martin Fowler writes that the alternative he and his colleagues prefer is “a gradual process of modernization”. He took the name for it from the strangler fig. This plant grows on a host tree and gradually replaces it. It can then become self-sustaining, and the original host tree may die, leaving the fig as an echo of its shape. Fowler saw this as a striking analogy to the way colleagues modernised legacy software systems. Microsoft’s Azure Architecture Center describes the result for the users: customers continue to use the same interface and are unaware that a migration is in progress.
This article walks through the order in which such a change can be done. Every step comes with a planned way back.
Step 1: Take stock
Before anything is built, you need to know what is running. Our earlier article recommends describing today’s workflow first, including what you do not need, before choosing a tool. The same applies to an old system: write down what runs today and what you no longer need.
For every application you find, you then have to decide what happens to it. AWS offers a way to make that decision. It names seven strategies for moving applications to the cloud, the “7 Rs”. Two of them are useful at this point. The first is retire: this applies to applications you want to decommission or archive, which means you can shut down the servers they run on. The second is retain: this applies to applications you keep in their current environment or are not ready to move yet, which you might move in the future.
Version Control, an open-source tool by epicsoft, keeps an inventory of the versions an infrastructure actually runs and tracks end-of-life dates.
Step 2: Create an interface
The next step is to put one access point in front of the old system. Microsoft describes this as the start of the pattern: a façade is introduced between the client application, the legacy system and the new system. The façade intercepts the requests that go to the old system. It routes each one either to the old application or to the new services. At first it routes most requests to the old system.
This façade is the interface of step 2. Every request goes through it, and it decides whether the old or the new system answers.
Fowler adds that there is considerable work in figuring out how to break a legacy system into manageable pieces. This involves identifying points (he calls them “seams”) at which the system can be split. epicsoft lists “Interfaces (APIs), integrations and data migration” among its services.
Step 3: Replace parts one by one
With the access point in place, the actual replacement can start small. Fowler writes that, like the fig, modernisation begins with small additions, often new features. These are built on top of the old code base, yet separate from it. Along the way, bits of behaviour move from the old system into the new one.
Once the points of separation isolate a few components, you can start replacing them. Fowler notes that these components are small, so there is not so much risk when the new software is introduced.
Microsoft describes the same course from the side of the façade. As the migration progresses, the façade shifts requests step by step from the old system to the new one. With each round, more functions are implemented in the new system. At epicsoft, this is the step “Build”: iterative development with regular demos, where decisions are made by people.
Step 4: Move the data and check it
Sooner or later the data has to move as well. According to AWS Prescriptive Guidance, how a database is switched over is usually tightly coupled with how much downtime the application may have. AWS names four strategies: offline migration, flash-cut migration, an active/active configuration and incremental migration.
In an offline migration, you first stop new entries, which means downtime for write traffic. Then the data is migrated and verified, and only after that is the application pointed to the new database. Another strategy relies on continuously copying changes from the old database to the new one. When both are in sync, you verify the data.
In an active/active configuration, both databases are kept in sync while both are being written to. This lets you move production traffic to the new database in small, controlled batches instead of a one-time switch. According to AWS it is more complex to set up and maintain, so more testing is needed to avoid inconsistent data.
The switch-over itself usually has several phases. First you stop taking in new data and take a final backup of the old system. Then you do a final data sync and route users to the new environment, for example by updating DNS records. Finally you test that everything works before the migration is marked complete. If necessary, the final backup can be used to roll back in an emergency.
Step 5: Run old and new in parallel, with a way back
For a while, old and new systems exist side by side. Fowler describes a transitional architecture that lets them coexist. It is code that goes away once the modernisation is complete.
AWS describes a phased approach to the switch-over. It happens gradually during a defined period, with continuous monitoring and checks whether the system can carry the load and whether every part works as expected. Old and new servers share the load. Going back is therefore fast and simple if problems appear. In most cases only a change of where requests are routed is needed, such as a load balancer, a DNS rule or a policy. According to AWS, this is why the phased approach is most commonly adopted for business-critical workloads.
AWS also recommends a rollback plan. It consists of defined checkpoints that trigger a rollback when predefined criteria are met. It also contains a strategy for carrying out the rollback and for handling the data. And it names one contact person who decides whether to fix forward or roll back. At epicsoft, updates are documented with their reason and a way back, as described in our article on software development with AI.
The old system is switched off last. Microsoft writes that once all functions are migrated and nothing depends on the old system any more, it can be decommissioned. The façade then routes all requests to the new system.
Cloud or own server
Where the new system runs does not have to be settled at the start. It is decided along the way. Besides retire and retain, AWS’s list of strategies contains two more options. With rehost, applications are moved to the cloud without changing them. With repurchase, the application is replaced with a different version or product, for example by moving from a traditional licence to software as a service (SaaS). These are descriptions of methods, not a recommendation for a particular provider. epicsoft advises independently of vendors and also tells you what you do not need.
One point can limit the choice: where personal data is stored. Under Georgia’s Law on Personal Data Protection, a transfer of personal data to a country on the list of the supervisory authority needs no permit. The list names all EU member states among 49 states. The United States are not on it, and sending personal data to a country such as the US needs a permit. Details are in our article on data transfers from Georgia. epicsoft networks hosts on its own servers in Finland and Germany, both on that list. It watches the servers, installs updates automatically and backs up data regularly. More about this is on the hosting page.
What can be automated
What is automated is also decided along the way. epicsoft puts it this way: “Software is only as good as its operation. We automate deployments and keep your systems running.” The services include automated deployments (CI/CD pipelines), server setup with Ansible, monitoring and alerting, and backup and restore concepts that are tested regularly.
Version Control records every change with a note, a backup reference and a way back, and sends a daily summary of what is new. On its hosting servers, epicsoft networks installs updates automatically and backs up data regularly.
A short checklist
- Describe today’s workflow, including what you no longer need.
- Decide for each application: switch it off, keep it, move it or replace it.
- Put one access point in front of the old system that decides whether old or new answers.
- Replace small parts one at a time, each with a result you can check.
- Before the switch: take a final backup and verify the moved data.
- Plan the way back: checkpoints, how the data is handled, and who decides.
- Run old and new side by side and switch the old one off only when nothing depends on it any more.
- Check in which country the new system keeps personal data.
How epicsoft works on such projects
epicsoft lists “Modernisation of existing systems” and “Interfaces (APIs), integrations and data migration” among its services. It modernises existing systems step by step and runs the result with monitoring, updates and tested backups. Its work follows four steps: Understand, Plan, Build, Run & evolve. For hosting, see the hosting page.
This article is general information, not legal advice.
Sources
- esn.ge: Why digital projects fail: “too much at once” as a cause of failure, small pieces, describing the workflow first
- esn.ge: Software development with AI: updates documented with reason and a way back
- esn.ge: Data transfers from Georgia: Law on Personal Data Protection, list of countries, permit for transfers to the US
- esn.ge: Hosting: own servers in Finland and Germany, monitoring, automatic updates, backups
- epicsoft: Services: modernisation, interfaces, data migration, automation, vendor-independent advice
- epicsoft: the four steps and the Build step
- epicsoft Version Control: inventory, end-of-life dates, change records, daily summary
- Martin Fowler: Strangler Fig: gradual modernisation, the strangler fig image, seams, small replacements, transitional architecture
- Microsoft Azure Architecture Center: Strangler Fig pattern: façade, routing of requests, decommissioning the old system
- AWS Prescriptive Guidance: database cutover: strategies for switching over a database
- AWS Prescriptive Guidance: cutover stage: phases of the switch-over, phased approach, rollback plan
- AWS Prescriptive Guidance: migration strategies: retire, retain, rehost, repurchase