Infrastructure as Code (IaC) do të thotë të përcaktosh dhe të menaxhosh infrastrukturën tuaj (serverë, rrjete, baza të dhënash) përmes kodit/skedarëve të konfigurimit në vend të konfigurimit manual. Mjetet si CloudFormation, Terraform dhe CDK e bëjnë infrastrukturën të përsëritshme, të kontrolluar me version dhe të automatizuar.
Problemi që IaC zgjidh
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.
