An Amazon Machine Image (AMI) provides the information required to launch an instance. This AMI contains installation details fo node.js, npm, aws-cli, code deploy-agent.\
- Install packer through homebrew (if using Mac).
- export AWS_PROFILE="Profile Name" (Export profile in which AMI is required).
- Validate the ami.json file by running 'packer validate packer/ami.json' command.
- To create the AMI run 'packer/buildAmi.sh'.