Ashish Mittal
Ashish Mittal

Reputation: 683

how to test stop start of AWS Spot Instances

I am creating AWS spot instances on demand and wanted to keep interruption behavior as STOP, so that AWS can restart my VM as soon as price/demand meets.

But the problem is AWS GUI doesn't have any option to STOP running spot instances. It just have option to terminate instances or cancel spot requests.

I am developing some application which will resume itself on reboot. I wanted to test the application by simulating AWS stop and restart behaviour.

Thx in advance

~Ashish

Upvotes: 0

Views: 1317

Answers (2)

Sendil
Sendil

Reputation: 26

You do not have an option to restart a SPOT instance. SPOT instance is not the right candidate for this kind of application.

Upvotes: 0

a7r8
a7r8

Reputation: 26

As of now you cannot Stop a Spot Instance.

To simulate your application behavior, bid for minimum and wait for AWS to interrupt the instance.
Make sure that your spot instance is Stop Interruption ready.

Reference: Spot Instance Interruptions

Upvotes: 1

Related Questions