- Git clone this project.
- Install Packer on your local machine. If you're on a
Mac and use Homebrew then the easiest way is to install Packer:
brew install packer
AWS credentials needed should be stored in the following environment variables:
PACKER_AWS_ACCESS_KEY_ID
PACKER_AWS_SECRET_ACCESS_KEY
An example IAM policy for the Packer user is supplied:
packer-iam-policy.example.json
Building an EC2 AMI is as simple as:
packer build awsne-packer.json
- Grab a hot chocolate.