I'm trying to stop and then immediately start (NOT REBOOT) my Amazon EC2 server from withinmy instance
I have CLI (Command Line Interface Tools) and am running a Windows 2012 server.
Basically, I want to ec2-stop-instances from a batch, and then ec2-start-instances right after. But I want the start-instances to run after a minute or so.
Is there a way to send the command and ask Amazon to wait a minute before it is run?
This way, running the batch script will stop then start the instance.
Again, I can't use reboot. For some reason, it does not work with my needs