Using Packer to automate the creation of AWS AMI. Packer automates the creation of any type of machine image.
Instruction:
-
Download Packer from https://www.packer.io (depending on your OS)
-
Create example.json file and run the following command $ packer build -var 'secretkey=[secretkey]' -var 'accesskey=[accesskey]' example.json