Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Cancel a Spot Instance request

Focus mode
Cancel a Spot Instance request - Amazon Elastic Compute Cloud

If you no longer want your Spot Instance request, you can cancel it. You can only cancel Spot Instance requests that are open, active, or disabled.

  • Your Spot Instance request is open when your request has not yet been fulfilled and no instances have been launched.

  • Your Spot Instance request is active when your request has been fulfilled and Spot Instances have launched as a result.

  • Your Spot Instance request is disabled when you stop your Spot Instance.

If your Spot Instance request is active and has an associated running Spot Instance, canceling the request does not terminate the instance. For more information about terminating a Spot Instance, see Terminate a Spot Instance.

Console
To cancel a Spot Instance request using the console
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Spot Requests.

  3. Select the Spot Instance request.

  4. Choose Actions, Cancel request.

  5. (Optional) If you are finished with the associated Spot Instances, you can terminate them. In the Cancel Spot request dialog box, select Terminate instances, and then choose Confirm.

AWS CLI
To cancel a Spot Instance request using the AWS CLI

Use the cancel-spot-instance-requests command to cancel the specified Spot Instance request.

aws ec2 cancel-spot-instance-requests --spot-instance-request-ids sir-08b93456
To cancel a Spot Instance request using the console
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Spot Requests.

  3. Select the Spot Instance request.

  4. Choose Actions, Cancel request.

  5. (Optional) If you are finished with the associated Spot Instances, you can terminate them. In the Cancel Spot request dialog box, select Terminate instances, and then choose Confirm.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.