HCP Packer Learn Lab: Build a Golden Image Pipeline
summary
Creates a golden AMI pipeline using Packer to publish AMIs to AWS and metadata to the HCP Packer registry, then uses Terraform (Terraform Cloud workspace + run tasks) to deploy Loki/Grafana and two HoshiCups app instances; demonstrates fingerprinted iterations, channels, and a scheduled iteration revocation (requires Plus tier) that can cause a run task to fail a plan, shows logs shipping to Loki/Grafana and successful end-to-end builds and deploys with auto-retrieve of AMI IDs.
AI-written summary · about
chapters (13)
- 0:00Golden image overview
- 2:36Tutorial prerequisites
- 4:12Architecture and data flow
- 5:57Environment preparation
- 7:30Terraform cloud integration
- 9:51Loki image building
- 11:26Deploying Loki with Terraform
- 15:45Creating the golden image
- 19:32Reviewing and Q&A
- 35:32Building Hashicups application
- 42:24Revoking image iteration
- 46:48Deploying and testing
- 51:15Cleanup and conclusion
related talks
26mAutomating Image Pipelines with HCP Packer
23mBuilding a Secure AWS Golden Image Pipeline with Packer, Vault and Terraform
16mDelivering Golden AMIs with Spinnaker
28mUsing an Image Release Process for Security Wins
39mAutomating Immutable Infrastructure With Packer & Terraform
22mLeveraging Chef, Packer, and Habitat for Effortless AMI Deployments
43mImmutable AWS Deployments with Packer and Jenkins
34mTerraform in your delivery pipeline
