I want to start a certain EC2 AMI at the click of a button, well two buttons actually. Just to speed up testing / launch-time.

How would you call the EC2 API tools for windows via a batch file to start a spot instance of an AMI?

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

You need the ec2-request-spot-instances command. Remember that a spot instance won't start until the maximum price that you specify exceeds the current Spot Price, but you could use the ec2-describe-spot-price-history command to periodically check the spot price.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.