Modernization ·Guide
Moving to the cloud: when it pays, and how to move without downtime
An application on the company's own servers, sized for the busiest hour
The application runs on servers you own or rent by the month. Capacity is sized for the busiest hour, so most of the day it sits idle. Adding capacity means buying or renting more, and an update means a short outage. The cloud promises to solve all three problems. It can also cost more than the servers it replaces, if it is used like a rented server.
It pays when the application can run on more than one machine: state moved off the servers first, the deployment automated before the move, and the bill measured from the first month. I have worked on moves like this in production systems.
- Problem
- the application runs on servers sized for the busiest hour, capacity is hard to add, and every update means a short outage.
- Deciding constraint
- the cloud only pays if the application can run on more than one machine, and the move cannot stop the business.
- Choice
- re-platform behind a load balancer, with state moved out of the servers first and the deployment automated before the move.
- Result
- capacity follows the load, updates replace containers one at a time with no outage, and the bill is watched from the first month.
If this is your situation
If your servers sit idle most of the day and updates still mean an outage, start with the load curve and the list of state on the servers. They tell you whether the cloud will pay, and how much work the move requires.
Modernization → discuss a cloud move
For your technical team How it was diagnosed, the options rejected and why, what went wrong, and the decision record.
Context and scope
In scope: whether a move pays, and how to make it without downtime. Out of scope: choosing a cloud vendor, and rewriting the application. Assumption: the application can be changed enough to run on more than one machine.
Drivers
Constraints
- Licences may be charged per core or per server, and the runtime or database may be the cost.
- State sits on the servers' disks: uploaded files, sessions, scheduled jobs, local caches.
- Fixed addresses, VPNs and firewall rules exist at customers' and partners' sites.
- Customers' data may be restricted by law to certain regions.
Scenarios
- When load rises in a busy hour, capacity grows and shrinks afterwards. Measured by the load curve against the capacity billed.
- When an update ships, new containers start, pass health checks and take traffic before old ones stop, so users see no outage. Measured by failed requests during a deployment.
- When the second instance starts, nothing breaks for lack of a file or session on the first. Measured by running two instances in a test environment before the move.
- When the first month ends, the bill is explained by service. Measured by a cost report and alerts set before the move.
Options against those drivers
| Option | Capacity follows load | Update without outage | Licence saving | Work to move |
|---|---|---|---|---|
| Lift and shift | No | No | No | Low |
| Re-platform | Yes | Yes | Yes, if runtime and database move to Linux-based options | Medium: remove state |
| Rewrite | Yes | Yes | Yes | High |
| Stay | No | No | No | None |
The decision and how it works
Re-platforming is where most of the savings are: capacity that grows in busy hours and shrinks afterwards, no per-server licences once the runtime and database run on Linux, and deployments that replace containers one at a time with no downtime. Four things must be true first. State moves out of the servers: files to object storage, sessions to a shared store, scheduled jobs to a single scheduler. The deployment is automated first, on the old servers if needed, because a move done by hand is a move nobody can repeat. Cost is measured from the first month, by service, with alerts. The data's location is checked, before a region is chosen.
How the move is made, and how it is undone
Make the application stateless on the old servers. Automate the deployment. Then run both environments while traffic or users move across, with the database as the one shared or synchronised point; the patterns are in [Replacing a live system one role at a time]. Traffic is moved in steps, and undoing a step is redirecting it to the old environment, which remains available until a full business cycle has passed on the new one. The database is the hard part to reverse, so it is the step to rehearse.
How the decision is kept true
What to measure first: the load curve, how much capacity is used across the day and the month; the flatter it is, the less elasticity saves. Then the cost report by service, the failed requests during a deployment, and a test that starts two instances. A cost alert that fires is the check that the move is still paying.
Where this usually goes wrong
| Risk | Likelihood | Impact | Mitigation | Owner |
|---|---|---|---|---|
| Lift and shift, then expecting savings | High | A larger bill, same limits | Choose re-platforming, or accept the cost knowingly | Sponsor |
| Hidden state, such as a folder of uploads on one server | High | The second instance breaks | The state inventory, and a two-instance test | Developer |
| Scaling the application while the database stays the bottleneck | Medium | No gain under load | Measure first ([The system is slow. Where, exactly?]) | Tech lead |
| No cost alerts | Medium | A large first bill | Alerts set before the move | Operations |
| Data location ignored | Low to medium | A legal exposure | Check where customers' data may be stored before choosing a region | Compliance owner |
Operations, cost and scale boundary
- To run: the container platform, the managed services, the deployment pipeline and the cost report.
- To learn: the platform's own failure modes.
- Cost: the bill is a design input, not a surprise.
- Where the choice flips: if the load is flat, or capacity is cheap and data must stay on site, staying on your own servers is the better answer, and a move would raise the cost.
On a different stack
The state inventory, the order of work and the cost discipline do not depend on the language. What differs is how much work removing state takes, which depends on the runtime, and which managed services exist for it.
Modernization → discuss a cloud move