This repository contains configuration for building Custom AMI required for deploying and running Online Bookstore web application. The AMI is built and made available on the AWS accounts by using CircleCI pipeline. The CircleCI pipeline leverages Packer to validate and build AMI.
- Install Java 8 and Maven using
java.shshell script - Install Tomcat Server using
tomcat.shshell script - Install AWS Cloud Watch using
cloud-watch.shshell script - Install AWS Code Deploy Agent and start it using
deploy-agent.shshell script
sh packer validate ami.json
sh packer build
-var 'aws_access_key=REDACTED'
-var 'aws_secret_key=REDACTED'
-var 'aws_region=us-east-1'
-var 'subnet_id=REDACTED'
ami.json
