Upgrade to Pro — share decks privately, control downloads, hide ads and more …

{{Ops}Ver.se - Infrastructure as Code and Busin...

{{Ops}Ver.se - Infrastructure as Code and Business Values

Avatar for Karn Wong

Karn Wong

July 15, 2025
Tweet

More Decks by Karn Wong

Other Decks in Technology

Transcript

  1. Karn Wong Loves optimization Has too much fun cranking out

    benchmarks AWS Community Builder & HashiCorp Ambassador Blog & Portfolio karnwong.me Say hi at Bluesky: @karnwong.me Independent Consultant
  2. The Problems Institutional Knowledge Loss Separate locations for documentation Takes

    a lot of time to replicate a single deployment for testing purposes Prone to errors due to manual operations Quite challenging to figure out which components connect to which service/domain
  3. Enter Infrastructure as Code Declare infrastructure setup with code Acts

    as a living documentation Reports configuration drifts from code vs provider (cloud, services, etc.) Easier to hand-off between engineers Can replicate a setup instantly Vendor agnostic
  4. IaC in Action Institutional Knowledge Loss & separate locations for

    documentation All setups are declared as code, this serves as a living documentation
  5. IaC in Action Takes a lot of time to replicate

    a single deployment for testing purposes It can be as simple as copying the relevant code blocks, change the name, and apply terraform configuration to replicate a deployment
  6. IaC in Action Prone to errors due to manual operations

    Everything is declared as code, all changes are reported before asking for an explicit confirmation to apply configurations
  7. IaC in Action Quite challenging to figure out which component

    connects to which service/domain Terraform allows resource dependencies, this paints a clear picture of which resources are dependent on some other resources
  8. Money Talks A DevOps team of 8 persons 3 deployments

    / engineer / day Total of 100 services By adopting terraform organizations can save operational costs up to 415,300.8 USD / year https://karnwong.me/posts/2023/11/reduce-operational-costs-with-terraform/
  9. FinOps Integration Infracost See cost breakdown from terraform project Can

    be integrated with CI/CD Without tools, I managed to save 6200 USD / month . With Terrform and its ecosystem, it could be so much more.