Infrastructure as Code (IaC) betyr at du definer og administrer infrastrukturen din (servere, nettverk, databaser) gjennom kode/konfigurasjonsfiler i stedet for manuell oppsett. Verktøy som CloudFormation, Terraform og CDK gjør infrastrukturen repeaterbar, versjonskontrollert og automatisert.
Problemet IaC løser
MANUALLY setting up infrastructure (clicking in the Console) is:
→ not REPEATABLE (hard to recreate identically; error-prone)
→ not VERSIONED (no history of what changed, by whom, why)
→ not DOCUMENTED (the setup lives only in someone's memory/clicks)
→ hard to review, share, or roll back
→ IaC defines infrastructure in CODE → solving all of this.
