aws / aws/amazon-ec2-spot-interrupter

Transfer an OD instance to Spot to send an ITN

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
107
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

Open the contributing guide

Research direction

Start with the ec2-spot-interrupter CLI flow shown in the issue and inspect how it handles an on-demand instance. Define the hibernation, same-type Spot launch, EBS transfer, and Spot ITN steps, then verify the command produces the illustrated outcome for an instance ID.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
cli, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.