Declarative vs programmatic IaC
summary
Compares concrete tradeoffs: CloudFormation/Terraform give one-to-one resource mapping and safer multi-tenant changes, while CDK/Pulumi/TypeScript/Python enable loops, tests and org-wide constructs; demonstrates CDK constructs that emit ALB + ECS + VPC + TLS for quick prototyping and SST+Astro producing S3 + CloudFront + DNS for static sites. Covers state storage/locking differences, recommends lifecycle protections for stateful resources, reusable constructs, CI/CD, linting, drift detection and automated rollbacks.
AI-written summary · about
chapters (9)
- 0:00Infrastructure as code intro
- 1:53Evolution of infrastructure as code
- 4:18Declarative IaC key aspects
- 6:45Programmatic IaC advantages
- 8:31State management in IaC
- 9:55AWS CDK demo
- 10:59SST for static sites demo
- 12:03IaC best practices
- 15:14Q&A
related talks
36mStop configuring infrastructure, start coding it!
30mStop configuring infrastructure, start coding it!
30mAWS CDK Foundations
11mGo CDK! What this Means for the World of IaC
44mDeep Dive: Infrastructure as Code on AWS
41mInfrastructure as Code on AWS: Deep Dive
32mCode Quality and Infrastructure as Code
42mAWS Cloud Development Kit: Boost your Infrastructure
