- Install packer
- App repo
- Berks file
- WorkingRepo/cookbook
- Download Reop locally
- Create packer.json file
- Define variable
- .bash_profile (export variables)
- Build AMI
- berks vendor cookbook - merges both cookbooks into one big cookbook
- touch packer.json
- echo "export AWS_SECRET_KEY_ID" = 'blablablabla' >> .bash_profile
- packer validate packer.json - checks if packer.json has any errors i.e. typo
- packer build packer.json - makes the AMI