Puppet: Bootstrap your Cloud Infrastructure using Puppet and Hashicorp stack
summary
Builds a reproducible cloud stack using Packer-built images (packer provisioners install Puppet), Terraform plans and state to create VMs, networking and keys, Consul for service discovery and health checks, and Vault for secrets. Demonstrates consul watch triggering an immediate puppet run to cut minutes-to-hours convergence, shows terraform plan output that can report dozens of deletes/creates, and describes autosigning tradeoffs and using CSR attributes and trusted facts so nodes bootstrap securely and Puppet configuration then enforces desired state.
AI-written summary · about
chapters (15)
- 0:00Introduction and motivation
- 1:05Self-service cloud infrastructure
- 2:12Building base images with Packer
- 4:50Puppet installation automation
- 5:56Local Puppet development with Vagrant
- 7:47Terraform for cloud provisioning
- 12:09Bootstrapping a Puppet master
- 14:43Solving the DNS problem
- 15:26Service discovery with Consul
- 19:46Consul watch for dynamic updates
- 20:51Automating Consul cluster joining
- 22:00Securing secrets with Vault
- 27:02Integrating Vault with Puppet
- 29:10Sensitive data handling in Puppet
- 30:53Conclusion and trade-offs
