Packer Classroom Series 12/Sep/2019

Packer Provisioning

What we know so far

We can use builder to create vm image

What is that we are looking out

We would like to have image with application installed.

Manual Steps: * Create VM (EC2) * executed some linux commands

sudo apt-get update
sudo apt-get install openjdk-8-jdk -y

Provisioning syntax

{
    "builders": [{

    }],
    "provisioners": [{

    }]
}

Reference

Scenarios

  1. Create a Apache Image in Azure and AWS
    • Two Packer files with aws-ebs builder & Azure
    • Create a provisioner with shell script to install apache
  2. Create a Tomcat Image in AWS
Published
Categorized as Uncategorized Tagged ,

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%