Infrastructure as Code (IaC) betyder at definere og administrere din infrastruktur (servere, netværk, databaser) gennem kode/konfigurationsfiler i stedet for manuel opsætning. Værktøjer som CloudFormation, Terraform og CDK gør infrastruktur genbrugelig, versionskontrolleret og automatiseret.
Problemet som 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.
