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

Variables

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

Useful Functions in Packer

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company
Exit mobile version
%%footer%%