title: have jenkins start an EC2 instance and Terminating it
body: <p>I have a full deployment job that takes an ip of a running instance and deploys my system on it.</p>
  
  <p>I currently hold an EC2 instance for automation tests that run every night, but the instance is expensive and im looking for a way to initiate it before the tests and terminate it after the test. </p>
  
  <p>I looked for EC2 plugins that can help and the closest one was <a href="https://wiki.jenkins.io/display/JENKINS/Amazon+EC2+Plugin" rel="noreferrer">this</a> but this is for making slaves and thats not what I want. </p>
  
  <p>I want to be able to launch an EC2 instance, and pass its IP address to the automation tests job, then terminate that instance once done.</p>
  
  <p>I started making a command line bash file for this, but this seems like too much work, and I thought maybe there is something im missing. </p>