Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
HashiCorp Packer - Build automated machine images
Rating: 4.2 out of 5(58 ratings)
913 students

HashiCorp Packer - Build automated machine images

Build pre-configured machine images like AMIs, VMDK.VMX files, OVF exports. Automate image build with CI / CD pipeline
Last updated 11/2020
English

What you'll learn

  • Build Automated Machine Images Using HashiCorp Packer
  • Create identical machine images for multiple platforms in parallel
  • Provisioning using Check, Puppet, Ansible, etc.,
  • Create images like AWS AMI, VMDK/VMX for VMware, OVF for virtualbox, Azure, GCC, etc.,

Course content

4 sections30 lectures2h 22m total length
  • HashiCorp Packer Introduction3:12
    • Introduction to HashiCorp Packer

    • Features and need for HashiCorp Packer

    • Overview of Machine Image and its types

  • Manually Create AWS AMI8:19
  • HashiCorp Packer Installation - CentOS2:42
  • AWS API Key Setup3:32
  • HashiCorp Packer Build Quick Demo5:32
  • AWS AMI Cleanup2:33

Requirements

  • Free trial account with AWS/Azure/GCC

Description

  • Build automated machine images for multiple platforms from a single configuration file

  • Create images in parallel

  • Use tools like Chef or Puppet to do the provisioning

  • Use it along with Continous delivery tools

  • Launch the instance using the image, test and verify the infrastructure along with the development

  • Learn about variables and other details of the HCL file

  • Learn various provisions and builders

  • Understand the difference between Ansible local and remote builder

  • Create a docker container image, shell local and remote builder

  • Create windows AMI

  • Create and test Vagrant images

  • Work with post-processors and other components of Hashicorp Packer

You will learn how to build automated machine images for multiple platforms — such as AWS, Azure, Docker, and VirtualBox — all from a single configuration file using HashiCorp Packer. You will understand how to create images in parallel, speeding up the build process and ensuring consistency across different environments.

You will explore how to integrate provisioning tools like Chef and Puppet to configure images during the build process. Additionally, we will demonstrate how to use Packer in conjunction with Continuous Delivery (CD) tools, making it an essential part of your automated deployment pipelines.

You will gain hands-on experience in launching instances from the built images, testing, and verifying both infrastructure and development environments. The course will also cover working with the HashiCorp Configuration Language (HCL), learning about variables, functions, and writing modular, reusable templates.

You will dive deep into provisioners and builders, understand the difference between Ansible local and remote builders, and learn how to create Docker container images, Shell-based local and remote builds, Windows AMIs, and Vagrant images.

Finally, you will work with post-processors and explore additional components of Packer to fine-tune your automation workflow and optimize image management.

By the end of this course, you will be confident in using HashiCorp Packer to create, customize, and manage infrastructure images efficiently across multiple platforms.

Who this course is for:

  • DevOps engineer to create and maintain build and release pipeline
  • Those who wants to create Dev/Prod parity
  • Those who wants to create consistent images for multiple platform in parallel
  • Those who wants to maintain consistent environment across heterogeneous cloud, virtualization and container environment