Infrastructure as Code (IaC) ਦਾ ਅਰਥ ਹੈ ਆਪਣੇ ਬੁਨਿਆਦੀ ਢਾਂਚੇ (ਸਰਵਰ, ਨੈਟਵਰਕ, ਡੇਟਾਬੇਸ) ਨੂੰ ਕੋਡ/ਕੌਨਫਿਗਰੇਸ਼ਨ ਫਾਈਲਾਂ ਦੁਆਰਾ ਪਰਿਭਾਸ਼ਿਤ ਅਤੇ ਪ੍ਰਬੰਧਿਤ ਕਰਨਾ, ਨਾ ਕਿ ਦਸਤੀ ਸਥਾਪਨਾ ਦੁਆਰਾ। CloudFormation, Terraform, ਅਤੇ CDK ਵਰਗੀਆਂ ਟੂਲਜ਼ ਬੁਨਿਆਦੀ ਢਾਂਚੇ ਨੂੰ ਦੁਹਰਾਉਣਯੋਗ, ਸੰਸਕਰਣ-ਨਿਯੰਤ੍ਰਿਤ, ਅਤੇ ਸਵੈਚਲਿਤ ਬਣਾਉਂਦੀਆਂ ਹਨ।
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.
