Caleb Albers
← Writing
Systems1 min read

Automating Image Pipelines with HCP Packer

A presentation from HashiTalks 2022

Many teams use Packer and Terraform to build and deploy machine images, but connecting the two isn’t always straightforward, especially when dealing with multi-region and multi-cloud deployments. Adding image validation and testing can complicate things further and make it hard to track what images should be used.

Join me in an exploration of how our team at HashiCorp leverages HCP Packer and GitHub Actions in production to help automate our image build, test, and deployment pipeline. We’ll be discussing the challenges of tracking Packer build metadata, testing images across multiple operating systems, promoting builds to production, and diving in to how HCP Packer helped us simplify and solve these challenges as we built our fleet of self-hosted GitHub Actions runners for Linux, macOS, and Windows.

Tools Used:

  • HCP Packer
  • Packer
  • Terraform
  • GitHub Actions

Check out the code here.