initial code for provisioning instances on ec2