Ansible · Real-World Automation · Intermediate · 24 min read
Building Images with Packer and Ansible: Golden AMIs, Container Images, Provisioner Patterns and Bake versus Configure
Create machine and container images with Packer using Ansible as the provisioner, following the book's chapter on creating images. Covers why bake images, Packer templates (HCL), builders for AWS, Azure and QEMU, the ansible and ansible-local provisioners, building a hardened base image, cleaning and sealing images, testing images, versioning and promotion pipelines, bake versus configure trade-offs, and container image alternatives.
Create an account to start
Create a free account to see what this lesson covers
- Every free lesson in every section, in full
- Track your progress and pick up where you left off
- Free practice questions and an incident simulation
- Takes under a minute: name, email and a password
No card needed. Full access to Ansible is a paid upgrade you can choose later.