Infrastructure as Code (IaC) înseamnă definirea și gestionarea infrastructurii dvs. (servere, rețele, baze de date) prin fișiere de cod/configurare în loc de configurare manuală. Instrumente precum CloudFormation, Terraform și CDK fac infrastructura repetabilă, controlată de versiuni și automatizată.
Problema pe care o rezolvă IaC
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.
