← All writing
Cloud

Zero-downtime cloud migration without the drama

How we moved a 2,400-seat financial institution to hybrid AWS and Azure while keeping payment pipelines at 99.99% SLA.

Eigensu Engineering6 min read

Every migration plan contains one honest sentence and a lot of scaffolding around it. The honest sentence is usually: we do not fully know what depends on this. Most of the risk in a large migration comes from that gap, not from the technology on either side of it.

Migrate the boring things first

The instinct is to prove the hard case early. We do the opposite, and move the least interesting workloads first: internal reporting, batch exports, the document store. Not because they matter least, but because they exercise every piece of the new environment while nobody's payment is in flight.

By the time the first workload that matters moves, the network path, the identity federation, the observability pipeline and the deployment process have all been used in anger for six weeks. The scary migration then only tests one new thing instead of nine.

The strangler pattern, applied to a payment path

Payment flows do not get a cutover window. They get a dial. We put a routing layer in front of the service, moved traffic in fractions, and held each fraction long enough to see a full business cycle before turning it further.

traffic-split.yaml
route: payments.authoriseguard:  error_rate_max: 0.05%      # auto-halt the ramp  p99_latency_max: 400ms  compare_against: legacy    # shadow every request stages:  - { weight: 1,   hold: 24h }  - { weight: 5,   hold: 48h }  - { weight: 25,  hold: 72h }  - { weight: 100, hold: 168h, rollback_window: 168h }

The shadow comparison is the part that earns its cost. For the whole ramp, every request ran against both implementations and the responses were diffed offline. Three genuine behavioural differences surfaced that way, all in rounding and currency edge cases, and all found before a customer met them.

0
Minutes of planned downtime
99.99%
Payment SLA held through the ramp
11 wk
First workload to full cutover

A migration you can stop at any percentage is not really a migration. It is a series of small, reversible decisions that happen to end somewhere new.

The rollback you hope not to use

We kept the legacy path warm and receiving shadow traffic for a full week after 100%. It cost real money to run two systems for that week, and it was the cheapest insurance in the programme. The rules we hold to:

  • Rollback must be a config change, never a redeploy.
  • Anyone on the on-call rota can trigger it without waking an architect.
  • Data written during the ramp must be readable by both systems, which usually means no schema change ships in the same window as the traffic move.

That last rule is the one teams break most often, and it is the one that turns a reversible migration into a one-way door.

Written by
Eigensu Engineering
← Back to all writing
Get started

Rather have us fix it than read about it?

Tell us which process is eating the most hours. We'll map it, scope it, and show you what the automated version looks like.

Start a project