amazon-ec2-spot-interrupter icon indicating copy to clipboard operation
amazon-ec2-spot-interrupter copied to clipboard

Transfer an OD instance to Spot to send an ITN

Open bwagner5 opened this issue 2 years ago • 0 comments

If a user is testing their application's spot handling on an OD instance, it would be useful to transfer the VM to a spot instance since FIS will only send an ITN to the Spot instance. We should explore hibernating and transferring the EBS volume to the same instance type but with a spot purchasing option.

$ ec2-spot-interrupter -i i-0123456789
⛔️ i-0123456789 is an on-demand instance
Would you like to hibernate and launch on a spot instance (y/n): y
Hibernating i-0123456789
Launching Spot instance i-9876543210
Sending Spot ITN

bwagner5 avatar Mar 24 '22 19:03 bwagner5