10 minutes
  • 3 Learning Objectives

About this Hands-on Lab

HashiCorp Packer allows users to create identical, cross-platform machine images by writing templates that leverage our existing infrastructure tools. Before we can get started using Packer, however, we have to install it. In this hands-on lab, we’ll do just that.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Locate the Download File
  1. On the HashiCorp Packer download page, locate the link for previous versions of Packer.

  2. Once on the right page, find the proper zip file for Packer 1.5.5 on Linux (AMD). It will follow this directory tree:

    ├── packer
    │   ├──  packer_1.5.5
    │   │    ├──  packer_1.5.5_linux_amd64.zip
  3. Copy the location of the zip file, and then switch to the command line.

Download and Expand the File
  1. Download the file:

    curl https://releases.hashicorp.com/packer/1.5.5/packer_1.5.5_linux_amd64.zip -o packer.zip
  2. Expand the file:

    unzip packer.zip
“Install” Packer
  1. The quotes were a hint! We don’t have to install Packer, so much as just move the binary:

    sudo mv packer /usr/bin/packer
  2. Confirm by running packer --version and, optionally, clean up your work:

    packer --version
    rm packer.zip

Additional Resources

You are the newest employee of Pax Computopia's DevOps team and thus need to get your environment properly set up. Specifically, you need to get Packer installed so you can start your first project. Your current teammates are all on version 1.5.5 (AMD), so be sure to install the right one on your Ubuntu 18.04 Bionic Beaver workstation!

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?