You may see a botocore.exceptions.ClientError message when you try to stop an Amazon EC2 Spot Instance that Flexera Ocean manages.
This error happens because AWS only allows you to stop Spot Instances that come from persistent Spot requests. One‑time Spot requests don’t support the Stop action, which causes the ClientError.
Understanding why this happens helps you choose the right action in Flexera Ocean.
-
Review the error message
The error typically appears in this format:botocore.exceptions.ClientError: An error occurred (UnsupportedOperation) when calling the StopInstances operation: You can't stop the Spot Instance {Instance-ID} because it is associated with a one-time Spot Instance request. You can only stop Spot Instances associated with persistent Spot Instance requests.
-
Understand why the error occurs
-
AWS prevents stopping one‑time Spot Instances.
-
Flexera Ocean stateful nodes use lifecycle actions that don’t rely on AWS Stop.
-
Calling StopInstances directly results in an UnsupportedOperation error.
-
-
Use Pause/Resume instead of Stop
Flexera recommends that you use Pause and Resume instead of trying to stop the instance through AWS or automation.-
Pause terminates the instance but keeps the resources you choose to persist.
-
Resume creates a new instance and reattaches those persisted resources.
This gives you the functional equivalent of stopping and starting the instance.
-
-
Confirm resources you want to persist
When pausing a stateful node, you can keep:-
Network interfaces
-
Volumes
-
Snapshots
-
AMIs
Ocean reattaches the preserved items during the Resume action.
-
Related Articles
Resolve the “instance has been detected as stopped” error in Elastigroup 5Number of Views GKE spot instance launches fail due to InstanceTaxonomies incompatibility 7Number of Views Resolve SSH connection issues to Flexera-managed AWS instances 2Number of Views Prevent on‑demand instances from reverting to Spot outside configured hours 4Number of Views Why instances may not be gracefully terminated when AWS issues a 2‑minute termination notice 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago