Module 9

Infrastructure as Code

Make the infrastructure reproducible the way Docker made the app reproducible: declarative, versioned, reviewable infra — the principle, not Terraform syntax.

Sarah Floris Instructor Sarah Floris · Lead ML Engineer Coming soon

Included with Pro

Coming soon Not yet available
Requires Cloud Deployment

Make infrastructure reproducible, not click-ops

A service deployed by hand

You arrive having stood up a deployed service through CLI commands and console settings, and having felt how manual setup resists reproduction and review. This module turns that into declarative configuration.

a deployed service CLI experience Terraform

6 chapters

6 lessons

01 What This Module Covers

The arc of Infrastructure as Code: declare one real resource and apply it, see why click-ops cannot be reproduced, separate the application from the infrastructure it runs on, and learn the state-and-drift dangers that make IaC its own skill — the principle, not Terraform syntax.

02 Declare One Resource and Apply It

Write a tiny declarative config for one real resource, preview the change, apply it, and watch the tool create exactly what the file says: the principle of infrastructure-as-code, not Terraform syntax.

03 Why Click-Ops Is the "Works on My Machine" of Infrastructure

A clicked-together environment works on one account, in one region, and cannot be reproduced anywhere else: the same disease Docker cured for the app, moved up one layer.

04 Application vs. Infrastructure: Two Things You Deploy

Separate deploying the application from provisioning the infrastructure, and learn why a staff engineer keeps the two jobs apart.

05 State, Drift, and the apply That Destroys

The dangers that make IaC its own skill: state as a fallible source of truth, drift between state and reality, and the one apply that enforces the entire config and can delete a live database.

06 What You Built in This Module

A recap of Infrastructure as Code: infrastructure declared in a versioned file instead of clicked together, the application kept separate from the infrastructure it runs on, and the discipline of reading the plan for the destroy that a one-line edit can trigger — and where the system goes next.

Ready to start?

This module is coming soon. Join the waitlist to be notified.

Coming soon Create account