I need to ensure that a job has a brand new EC2 slave each time. Currently, the EC2 plugin will use the AMI's 'Idle termination time' to remove the slave. However, the minimum value it can take is 1 minute. During this time, a slave can be used by other queued up jobs.
Add a checkbox in AMI section or maybe use 0 as a way to indicate 'single use VM'. If this setting is enable, a slave will be deleted after the job is complete.