Getting Started with Packer

Photos via Pexels

Introduction

Building a Machine Image with Packer

Install Packer

wget https://releases.hashicorp.com/packer/1.5.5/packer_1.5.5_linux_amd64.zip
apt-get install unzip
unzip packer_1.5.5_linux_amd64.zip
rm -r packer_1.5.5_linux_amd64.zip
echo 'export PATH="$PATH:~"' >> .profile
source ~/.profile
packer

Packer Terminology

The Template

Builders

Provisioners

Build a Packer Image

Define your Variables

Build your Template

Run Packer

References