DevOps Classroom Series – Packer – 05/Jan/2020

Azure VM Image from Packer

Manual Creation

  • Create Resource Group
  • Create a VM with some source image (ubuntu)
  • SSH into the machine and execute
sudo apt-get update
sudo apt-get install openjdk-8-jdk -y
sudo apt-get install tomcat8 -y

Using Packer


  • Environment Variables:
    • Define environment variable in your system and then to use it {{env `PATH`}}

Useful Functions in Packer

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner