Legacy Systems and Migrations

After this course you can read a system nobody understands, pin its behaviour with tests before touching it, replace it piece by piece behind a strangler, migrate its data without downtime, cut over with a rollback you have rehearsed, and plan a migration that spans years, teams and a regulator.

0/31 CHAPTERS5 MODULES
LAB STACK

A deliberately old billing monolith in labs/legacy/: Python, one large database, no tests and a nightly batch file. A small proxy for routing and shadow traffic, a diff tool for comparing old and new responses, and a new service as the target. No Docker required. The lab is built at kickoff.

SHOW UP TO

BEFORE YOU START

This course assumes you can already do the following. Each line says where ATLAS teaches it.

MODULE 1

Foundations

BEGINNER 0/6 WRITTEN

What legacy is, how to read it, how to pin what it does, how to make one safe change, and why rewrites fail. You finish by pinning a billing module with tests and changing one rule.

  1. 01 What legacy is: code that makes money and scares peopleCOMING
  2. 02 Reading a system you did not writeCOMING
  3. 03 Characterisation tests: pinning behaviour before you touch itCOMING
  4. 04 Seams: making a safe change in unsafe codeCOMING
  5. 05 Why rewrites failCOMING
  6. 06 Project: pin a legacy billing module with tests and change one ruleCOMING
MODULE 2

Migrating a service

WORKING 0/8 WRITTEN

The standard moves: strangler fig, branch by abstraction, expand and contract, keeping two stores in step, shadow traffic, cutover and decommissioning. You finish by moving one endpoint out of the monolith with no downtime.

  1. 07 The strangler fig: routing around the old systemCOMING
  2. 08 Branch by abstraction and feature flagsCOMING
  3. 09 Data migrations: expand, backfill, contractCOMING
  4. 10 Dual writes, change data capture and keeping two stores in stepCOMING
  5. 11 Shadow traffic and comparing old against newCOMING
  6. 12 Cutover and rollbackCOMING
  7. 13 Decommissioning: turning the old system offCOMING
  8. 14 Project: move one endpoint out of a monolith with no downtimeCOMING
MODULE 3

Hard migrations

SENIOR 0/8 WRITTEN

The migrations that go wrong: a new database engine, services and back, batch and file interfaces, money in flight, the move to cloud, a vendor swap, and bulk rewrites by AI agents. You finish by cutting a ledger over with dual running.

  1. 15 Changing the database engineCOMING
  2. 16 Monolith to services, and backCOMING
  3. 17 Mainframes, batch jobs and file interfacesCOMING
  4. 18 Migrating money: balances, ledgers and reconciliation during cutoverCOMING
  5. 19 On-premises to cloud: lift, shift or rebuildCOMING
  6. 20 Replacing a vendor or a protocol under live trafficCOMING
  7. 21 AI agents in migrations: bulk rewrites and how to verify themCOMING
  8. 22 Project: cut a ledger over with dual running and a reconciliation reportCOMING
MODULE 4

Migration programmes

STAFF 0/5 WRITTEN

A migration as a programme: the business case, forty teams and a long tail, a bank's core system, and change control with a regulator watching. You finish with the cutover plan for a core banking system.

  1. 23 The business case, and when not to migrateCOMING
  2. 24 Migrations across many teams: tooling, deadlines and the long tailCOMING
  3. 25 Core banking migrationsCOMING
  4. 26 Change control, regulators and telling customersCOMING
  5. 27 Project: the cutover plan for a bank's core systemCOMING
MODULE 5

Frontier and judgment

PRINCIPAL 0/4 WRITTEN

Migrations that failed in public, what research says about software ageing, and designing systems so the next team can replace them.

  1. 28 Case studies: migrations that failed in publicCOMING
  2. 29 What research says about software ageing and maintenanceCOMING
  3. 30 Designing systems that can be replacedCOMING
  4. 31 Capstone: the ten-year plan for a system nobody wants to ownCOMING