- Install packer.
- Install Ansible.
- Create AWS account and create there CloudFormation stack based on file from here.
- Install
aws-cli
and configure keys exported from that stack in that tool. - Invoke
build_ami.sh
and wait for AMI produced by that tool.