Unable to stop a spot instance

0

Hi all,

I have a persistent spot instance. I have created these before and haven't had any issues stopping them, but I am unable to stop this one. I have tried a CLI --force stop and I am getting the same thing I see in the Console UI:

An error occurred (IncorrectSpotRequestState) when calling the StopInstances operation: You can't stop the Spot Instance '<instance id redacted>' because the associated Spot Instance request is not in an appropriate state to support stop.

I don't want to keep getting charged.

Thanks!

PFloyd
已提问 7 个月前528 查看次数
1 回答
0

Hello.

There are restrictions on stopping Spot Instances, have you checked them?
I think it is a good idea to terminate the Spot Instance if the stop request is cancelled.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html#stopping-a-spot-instance

You can only stop a Spot Instance if the Spot Instance was launched from a persistent Spot Instance request.
You can't stop a Spot Instance if the associated Spot Instance request is cancelled. When the Spot Instance request is cancelled, you can only terminate the Spot Instance.
You can't stop a Spot Instance if it is part of a fleet or launch group, or Availability Zone group.

profile picture
专家
已回答 7 个月前
profile pictureAWS
专家
已审核 7 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则