CONCEPT Cited by 9 sources
Infrastructure as code¶
Definition¶
Infrastructure as code (IaC) defines infrastructure (networks, load balancers, gateways, IAM, databases) in version-controlled files, and a tool applies those files to create or change the real resources. Most modern IaC is declarative: the file states the wanted end state, and the tool (Terraform, CloudFormation, CDK) computes and applies the diff.
What IaC gives a system:
- Reproducibility and environment parity. The same definition builds dev, staging, prod, or a DR Region, so environments do not drift apart.
- Review and audit. Every change is a reviewed commit, which is a natural audit trail for compliance.
- Recovery. If the definitions survive, a destroyed environment can be rebuilt. Ransomware-recovery designs use this to rebuild infrastructure in a separate recovery environment.
- Self-service. A platform team can publish IaC modules that product teams call (concepts/self-service-infrastructure).
Costs: state management (Terraform state is itself critical data), drift when people change resources outside the tool, and slow apply loops for large stacks. The same idea applied to monitoring is patterns/alerts-as-code.
Seen in¶
- sources/2026-10-28-aws-how-revinate-accelerated-api-adoption-with-amazon-api-gateway — Terraform is used exclusively for production: API Gateway REST APIs, stages, usage plans, authorizers, and the Lambda authorizer functions, for peer review, environment consistency, and compliance audit trails.
- sources/2026-10-27-aws-vessel-specific-voyage-optimization-with-machine-learning-manta-on-aws — CDK + Boto3 reproduce dev/staging/prod.
- sources/2026-10-14-aws-how-uts-established-a-modern-curriculum-data-services-foundation-on-aws
- sources/2026-10-01-cloudflare-introducing-cloudflare-basin-an-open-serverless-data-platform
- sources/2026-07-22-aws-building-multi-region-resiliency-for-cloudformation-custom-resources — making CloudFormation custom-resource deployment survive a Regional failure.
- sources/2026-07-17-aws-eclipse-dataspace-components-on-aws-architecture-patterns
- sources/2026-05-20-aws-cyber-resilience-on-aws-a-reference-approach-for-recovery-from-ransomware-and-destructive-events — infrastructure is rebuilt from IaC in a separate environment during recovery from a destructive event.
- sources/2026-04-13-cloudflare-building-a-cli-for-all-of-cloudflare
- sources/2026-02-26-aws-santander-catalyst-platform-engineering — platform engineering on IaC building blocks.