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

A Tech Writer, passionate about Network and Systems with a high interest in Cloud,Virtualization and Machine Learning.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store