AWS EC2 image creation
- To automate AWS EC2 image creation we can use
packer
Refer Here - To use packer, we need to have the following
- Packer
- aws cli
- IAM user with programmatic access
- Installing packer Refer Here
- Installing awscli Refer Here
- Linux
- Windows
- Mac
- Configure aws cli
- builder in packer represents where to create vmimage Refer Here
- Refer Here for the json template
- Execute
packer validate <file name>
andpacker build <file name>
- Wait for ami
- Packer json used in class Refer Here
- Next Steps