»Build Immutable Infrastructure with Packer in CI/CD

This guide focuses on the following workflow for building immutable infrastructure. This workflow can be manual or automated and it can be implemented with a variety of technologies. The goal of this guide is to show how this workflow can be fully automated using Packer for building images from a continuous integration/continuous deployment (CI/CD) pipeline.

  1. Build Images using Packer in CI/CD
  2. Upload the new image to S3 for future deployment or use during development
  3. Create new Terraform Enterprise runs to provision new instances with the images