Learn how to use Packer, a popular DevOps tool for simplifying the creation of machine images, and implement a continuous development approach to changes in your software.
- [Instructor] My name's Chris O'Dell. Building images for both cloud and on-prem infrastructure can be a long, tedious process, and is often error prone. I've spent many hours watching a progress bar as I install frameworks and tooling to support applications in the cloud. As frameworks update and security patches are needed, images must be rebuilt. By using HashiCorp's Packer, we can automate this process and run it from a CI tool, such as Jenkins. We can install the build templates and source control and build new images upon each template change.
Packer also hooks into existing configuration management tooling, so we can take advantage of tools such as Ansible, Puppet and Chef. In this course, we're going to build Ubuntu images that include the latest patches, have been hardened to reduce common attack factors, and pre-configured for our application's needs. You'll start by installing Packer, learning its simple command line, and finish with a Jenkins pipeline running automated Packer builds from source control, so let's begin.
- What is Packer?
- Baking a website image for EC2
- Provisioning with a configuration management tool
- Building hardened images
- Building a pipeline for Packer images