Is it possible to programmatically get/deploy and start an EC2 instance? Essentially pick your instance type, AMI and start it up?
I see the StartInstance method but this only applies to instances already create and stopped in your account.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartInstances.html
Essentially, what is going on is that I have an automated service that needs multiple EC2 instances for computation. I need to programmatically create a new instance, pick the instance type, pick the AMI, start it up and run some deployment scripts to get things rolling.
I would think there is a way to do this with the AWS SDK but I'm just not seeing it.
On a related note, also need to be able to programmatically destroy a shutdown instance.