Manish S Consulting logoManish S Consulting

Case study · Series A fintech, ~15 engineers

Bringing hand-built AWS infrastructure under Terraform

Full production environment reproducible from code, with no downtime during migration

All work

0

Minutes of downtime

3

Environments from one module set

31%

Monthly cloud spend reduced

The challenge

Production had been built by hand over two years by engineers who had since left. Nobody could describe the full resource inventory, staging had drifted significantly from production, and standing up a new environment was quoted internally at two weeks.

What we did

  1. 1

    Inventoried what actually existed

    Audited the live account against the team's mental model. Found unattached volumes, oversized instances, and two security groups open wider than intended.

  2. 2

    Imported rather than rebuilt

    Brought existing resources into Terraform state with import blocks, so the migration never required tearing anything down.

  3. 3

    Refactored into modules

    Extracted networking, compute, and IAM into parameterised modules so environments differ by a variables file rather than by history.

  4. 4

    Moved changes into review

    Wired terraform plan into pull requests and apply into the protected branch, making infrastructure changes reviewable like any other code.

Free discovery call

Got a problem that keeps sliding to next sprint?

A free 30-minute call. Tell us what you're working on and we'll outline the best approach, a realistic timeline and an estimated budget.

Start a conversation Replies within 24 hours on weekdays