Infrastructure as Code (IaC) એટલે તમારા infrastructure (સર્વર, નેટવર્ક, ડેટાબેસ)ને કોડ/configuration ફાઈલો દ્વારા વ્યાખ્યાયિત અને સંચાલિત કરવું, બજાય તેના કે તેને હાથથી સેટ કરવું. CloudFormation, Terraform, અને CDK જેવા સાધનો infrastructure ને પુનરાવર્તિત, version-controlled, અને automated બનાવે છે.
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.
