A cloudformation template that accepts user inputs as parameters where applicable ( for example, Admin password). This template should setup VPC, create subnets, launch a CM instance, pull the necessary code (modules, classes, recipes etc) from a GIT repo (or S3), and configure the web instance for basic Drupal or Wordpress setup.
- Install aws cli on machine.
- Clone the repository git clone https://github.com/Ramesh7/CFTemplate.git
- Goto CFTemplate and run following command :
aws cloudformation create-stack --stack-name ReanCloudAssignment
--template-body template/CFTemplate.json
--parameters ParameterKey=AmiID,ParameterValue= ParameterKey=InstanceType,ParameterValue=t1.micro ParameterKey=KeyName,ParameterValue= ParameterKey=Region,ParameterValue=us-east-1