Back to site

Case study · Swiggy

50+ AWS accounts, one Terraform workflow

Managed 50+ AWS accounts with Terraform and kept the platform at 99.9% uptime through national traffic peaks such as Diwali and New Year.

Lead DevOps Engineer · Opstree Solutions · 2021 — Present

50+
AWS accounts
99.9%
uptime at peak

The problem

A large fleet of AWS accounts needed to stay consistent, and the platform had to hold up during the highest-traffic days of the year.

Architecture

Before

  • Many accounts
  • Manual, per-account changes

After

  • 50+ AWS accounts
  • Terraform modules
  • Reviewed changes

One repeatable workflow across every account.

What I did

  1. 01

    Everything as code

    Managed the accounts through Terraform, so changes are reviewed, repeatable and auditable instead of made by hand in a console.

  2. 02

    Prepare for the peak

    Treated events like Diwali and New Year as planned load, not surprises, and held the platform to a 99.9% uptime target.

Result

  • 50+ accounts managed under Terraform.
  • 99.9% uptime during national high-traffic events.

Stack

Terraform
AWS Organizations
Multi-account AWS