Course book
Infrastructure as Code: Pulumi, Terraform and the AWS CDK
Four illustrated chapters, one for each video course. The videos build working infrastructure; the chapters explain what each tool is doing so you can apply the ideas with any provider.
- Chapter 1Describing Infrastructure in CodeManual, scripted and code-based infrastructure, three styles of IaC, previews and state, and labs building storage, a VM fleet and containers.
- Chapter 2A Complete Environment in Terraforminit, plan, apply and destroy, the state file, a VPC, subnet, gateway and routes, a security group, an EC2 instance, variables, conditions and outputs.
- Chapter 3Infrastructure in a Programming LanguageApps, stacks and constructs, the three construct levels, synthesis, assets and bootstrapping, a hit-counter construct, and testing infrastructure.
- Chapter 4Infrastructure on DemandAutomation APIs, a Flask app that creates stacks, static websites and virtual machines on demand, listing and editing via outputs, and lessons for real platforms.