This is an example setup for building AMIs using Packer.
Packer is used to build two EBS-backed AMIs: PV and HVM.
Ubuntu 14.04 was used to test that everything here works. Nothing is specific to Ubuntu, but package names, file paths, etc may be different if you are not using Ubuntu or Debian.
- Install Packer on your machine
- Customize
ec2-build.sh
to fit your bootstrap requirements. This bootstrap ties into the previous presentation using Masterless Puppet. - Set up variables in the top section of
packer.json
to match your environment.
- AMIs used here were taken from Ubuntu 14.04 Released AMIs
- Run packer:
packer build packer.json