AWS-CLI
This repo have script which help to create AWS Security Group, Elastic-ip, attaching Volume, RDS, and finally installing php and java for required projects.
For this to work first create VPC and configure aws configure and AWS CLI in you local machine.