Need for Packer
We need one way of creating image irrespective of your VM’s provider. The answer is Packer
How To install
- Packer is developed in language called GO
- Installing Packer on Linux
Lab Setup
- AWS
- Azure
Create a Linux Machine in AWS Account with spring-petclinic
- Create a aws ec2 machine with t2 micro and any linux image (Ubuntu)
- Login into VM and then do the following
sudo apt-get update
sudo apt-get install openjdk-8-jdk -y
wget <>
java -jar spring-petclinic.jar
- Refer Here for more information