Infrastructure as Code (IaC) pomeni definiranje in upravljanje vaše infrastrukture (strežniki, omrežja, baze podatkov) prek kode/konfiguracijskih datotek namesto ročne nastavitve. Orodja kot so CloudFormation, Terraform in CDK naredijo infrastrukturo ponovljivo, nadzorirano po različicah in avtomatizirано.
Problem, ki ga IaC rešuje
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.
