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