You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue while working with spot instances. Upon attempting to request spot instances, I received the following error message:
An error occurred (MaxSpotInstanceCountExceeded) when calling the RequestSpotInstances operation: Max spot instance count exceeded
After some investigation, it appears that there isn't currently an API available to modify this limit. Consequently, I'm unable to adjust the spot instance limit to accommodate my needs.
Is it be possible to add API or providing a mechanism to adjust the spot instance limit?
Use Case
To adjust spot instance limit
Proposed Solution
No response
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
SDK version used
1.24.70
Environment details (OS name and version, etc.)
20.04.1-Ubuntu (Kernel: 5.15.0-1047-aws)
The text was updated successfully, but these errors were encountered:
importboto3# Create a Service Quotas clientservice_quotas=boto3.client('service-quotas')
# Request an increase in the Spot Instance limitresponse=service_quotas.request_service_quota_increase(
ServiceCode='ec2',
QuotaCode='L-1216C47A',
DesiredValue=1000, # Set the desired value for the new limit
)
# Check the responseprint(response)
For any requests involving service APIs please create a new issue in our cross-SDK repository and we can bring those up to the appropriate team.
I also noticed you're using version 1.24.70 which is very old. The latest version of Boto3 per the CHANGELOG is 1.34.107. Please consider updating your version of Boto3 for access to the latest updates/fixes.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Describe the feature
I encountered an issue while working with spot instances. Upon attempting to request spot instances, I received the following error message:
An error occurred (MaxSpotInstanceCountExceeded) when calling the RequestSpotInstances operation: Max spot instance count exceeded
After some investigation, it appears that there isn't currently an API available to modify this limit. Consequently, I'm unable to adjust the spot instance limit to accommodate my needs.
Is it be possible to add API or providing a mechanism to adjust the spot instance limit?
Use Case
To adjust spot instance limit
Proposed Solution
No response
Other Information
No response
Acknowledgements
SDK version used
1.24.70
Environment details (OS name and version, etc.)
20.04.1-Ubuntu (Kernel: 5.15.0-1047-aws)
The text was updated successfully, but these errors were encountered: