Spot Fleet Instance could not be stopped
I have a spot instance(with stop behavior) which I am trying to stop but the console gives error that "Instance could not be stopped because it belongs to fleet".
Any idea what I am missing. Thanks in advance.
Interruption Behaviour is what AWS will do when your spot instance get interrupted, not what you can do on the instance.
Also, when you use Spot Fleet, the instances are managed by the Fleet. So you cannot stop the instance manually.
The AWS Spot Fleet controls the instances lifetime and it automatically manages them on you behalf. Since your fleet includes Spot Instances, Amazon EC2 can attempt to maintain your fleet target capacity as Spot prices change.
An EC2 Fleet request of type
request remains active until it expires or you delete it.
When you delete a fleet of type maintain or request, you can specify whether deletion terminates the instances in that fleet.
Otherwise, the On-Demand Instances run until you terminate them, and the Spot Instances run until they are interrupted or you terminate them.
To get more information about Spot Fleets, please refer to Spot Fleet configuration strategies
Spot fleet request over-provisionedAccepted Answerasked a month ago
EC2 Instance No Response after Force Stopasked 5 months ago
Stuck instance will not stopasked 6 months ago
The instance has not stopped after force to stop by action menu.asked 2 years ago
Do I get charged for stopped instances?Accepted Answerasked 5 years ago
Spot Fleet Instance could not be stoppedasked 21 days ago
Create Spot Fleet Request / Chargesasked a month ago
Spot persistent requestasked 24 days ago
I am not able to stop or terminate the serverasked 7 days ago
ECS + Spot Integration - Multiple ASGs vs SpotFleetAccepted Answerasked 4 years ago