Use case
Manage virtual machine images
Create multi-cloud golden image pipelines with HCP Packer and Terraform Cloud
Challenge
Tracking image and build artifacts is cumbersome and time consuming
Tracking base images, their iterations, and their build artifacts across downstream builds and provisioning pipelines can be challenging, particularly when using multiple clouds. The manual work of maintaining images across teams can be redundant and error prone, and takes time away from projects that are core to your business.
Solution
Automated image pipeline management
HCP Packer is a multi-cloud artifact registry that tracks images and their iterations, and makes this information available through an API. By codifying commonly used base images as golden images, they can be standardized, secured, and updated using automation.
Resources
Tutorials
Provision infrastructure with Packer
Create an image with Packer, containing SSH keys, a new user, and a demo webapp, then deploy it with Terraform
Manage VMs and snapshots on VMware vSphere
Adopt infrastructure as code best practices for on-premises or private cloud infrastructure.
Identify compromised images with Terraform Cloud
Use the Terraform Cloud run task for HCP Packer to prevent your Terraform configuration from referencing revoked image iterations.
Automating image pipelines with HCP Packer
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 HashiCorp Infrastructure Engineer Caleb Albers to discuss all that and more!