Video description
HashiCorp Packer is an open-source tool for creating identical machine images for multiple platforms from a single source configuration. Packer is lightweight, runs on every major operating system, and is highly performant, creating parallel machine images for various platforms.
The course begins with a detailed introduction to HashiCorp Packer and the problems it solves. It illustrates use cases and examples. We will then explore writing Packer templates using HCL2 (the new standard for Packer 1.7+). You will learn about different builders, using variables, provisioners, post-processors, and code organization. We will integrate automation pipelines, secret management, and terraform. We will advance to integrate HashiCorp Packer with other automation tools, such as HashiCorp Terraform, HashiCorp Vault, and GitLab CI/CD. Using Packer, we will build images on multiple public cloud platforms and VMware images.
Upon completing the course, you can use HashiCorp Packer in your organization independently. You will use HCL2 to create your Packer templates and automate your machine images across multiple platforms—a critical skill to enabling automation in your environments.
What You Will Learn
- Understand the core components and functions of HashiCorp Packer
- Learn to automate the creation of machine images
- Create real-world solutions with HashiCorp Packer using HCL2
- Gain hands-on experience with Packer with demonstration labs
- integrate Packer with Terraform, HashiCorp Vault, and GitLab CI/CD
- Write Packer templates using HCL2 (the new standard for Packer 1.7+)
Audience
This course is designed for DevOps engineers looking to simplify the management of images in one or more platforms, automation engineers who want to create an image factory, engineers who want to easily manage one or many golden images for their workloads, and system administrators responsible for image and operating system maintenance and patching. The prerequisites include no Packer experience necessary and a basic understanding of one or more infrastructure platforms (AWS, Azure, VMware, OpenStack). Linux or Windows OS scripting is desirable but not required.
About The Author
Bryan Krausen: Bryan Krausen is an IT consultant with over 20 years of experience in enterprise IT. He specializes in Amazon Web Services and HashiCorp tools. Bryan focuses on cloud design and facilitates customer workshops that define business and technical requirements to allow businesses to deliver applications on the AWS cloud platform. He was the first individual to earn the HashiCorp Vault Expert partner certification.
Bryan has deployed and assisted with adopting the HashiCorp Vault into many Fortune 1000 companies. He delivers lectures at community events, such as HashiConf (2019 to 2022), HashiTalks (2019 to 2020), and many HashiCorp user groups across the mid-west and eastern US.
Table of contents
- Chapter 1 : Course Introduction
-
Chapter 2 : Introduction to HashiCorp Packer
- Introduction to Packer - Section Overview
- Why Use Packer?
- Hello, Packer!
- Core Components of Packer
- Installing Packer
- Demo - Installing Packer
- The Packer Command Line
- Hands-On Lab - The Packer Command Line
- The Packer Workflow
- Demo - The Packer Workflow
- Introduction to Packer - Section Recap
- Installing Packer on Windows
- Installing Packer on Mac
- Chapter 3 : Writing Packer Templates
-
Chapter 4 : Builders
- Introduction to Builders
- Demo - Building AWS AMIs with Packer
- AWS Builders
- Demo - Building Azure Machine Images with Packer
- Demo - Building Google Compute Machine Images with Packer
- Demo - Building VMware Templates with Packer
- Hands-On Lab - Building Images in Multiple Regions
- Hands-On Lab - Building Images for Different Operating Systems
- Hands-On Lab - Building Images in Multiple Clouds
- Demo - Target Clouds and Build Types Using Packer
- Chapter 5 : Variables
- Chapter 6 : Provisioners
- Chapter 7 : Post-Processors
- Chapter 8 : Code Organization
- Chapter 9 : Troubleshooting Your Packer Builds
-
Chapter 10 : Packer Integrations
- Hands-On Lab - Integrating Packer with Red Hat Ansible
- Hands-On Lab - Integrating Packer with HashiCorp Terraform
- Demo - Integrating Packer with HashiCorp Vault's KV v2 Secrets Engine
- Demo - Integrating Packer with HashiCorp Vault Using the AWS Secrets Engine
- Demo - Integrating Packer with GitLab CI/CD
Product information
- Title: Automating Image Creation with HashiCorp Packer for DevOps
- Author(s):
- Release date: April 2023
- Publisher(s): Packt Publishing
- ISBN: 9781805128175
You might also like
video
Automating Kubernetes with GitOps
9+ Hours of Video Instruction Over 9 Hours of Video Instruction Demonstrating How To Use GitOps …
video
Real World DevOps Project with Ansible, Docker and GitLab
A DevOps project combines development and operations to streamline software delivery, emphasizing collaboration, automation, and continuous …
video
Pipeline as Code: Continuous Delivery with Jenkins, Kubernetes, and Terraform - video edition
In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and …
video
Hands-On Auto DevOps with GitLab CI
Developing modern software requires an automated pipeline that builds, tests, and deploys your application, complete with …