I have a use case in which I am creating a Spot Fleet
via AWS Management Console by referencing spot-fleet-requests-doc.
Spot fleet launches Spot Instances
and On-Demand Instances
as per the target capacity defined in the Spot Fleet request. I was wondering if there is a way I can terminate an spot instance/on demand instance from the spot fleet if needed ?
Any leads/pointers will be appreciated. Thank you!
Yes, you can terminate any instance in the fleet. if you're using AWS Console, go to EC2-> Instances -> Select the instances you want to terminate and use the Instance state button to terminate the selected instances.
Two things to note here: