Comments (2)
Thanks for the feature request. As noted here:
The service quota for spot instances is limited by the number of vCPUs, not the number of instances.
The number of vCPUs for each instance type can be found here: https://aws.amazon.com/ec2/instance-types/?nc1=h_ls. And you can find documentation on requesting quota increases here: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
It looks like you can do this programmatically via the request_service_quota_increase command. For example:
import boto3
# Create a Service Quotas client
service_quotas = boto3.client('service-quotas')
# Request an increase in the Spot Instance limit
response = service_quotas.request_service_quota_increase(
ServiceCode='ec2',
QuotaCode='L-1216C47A',
DesiredValue=1000, # Set the desired value for the new limit
)
# Check the response
print(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.
from boto3.
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.
from boto3.
Related Issues (20)
- invoke_agent API on bedrock-agent-runtime inconsistently returns retrievedReferences HOT 2
- list_q_apps Always Unauthorized HOT 11
- SES send email example doesn't work HOT 2
- Certain operations not working with S3-compatible backend HOT 4
- [Feature Request] Query Bedrock model maxTokens limit HOT 2
- Unable to call RevokeSecurityGroupIngress (incorrect parameters being passed) HOT 3
- Invalid endpoint when initializing boto3.client inside Docker HOT 2
- Neptune Client Returns All DB Clusters (Not Just Neptune) HOT 2
- InvalidParameterException when starting a Textract async job for Document Analysis HOT 3
- validate_e911_address returns invalid country code HOT 2
- Validation Exception: Invalid API version when calling InvokeModel [bedrock-runtime] HOT 2
- Collaborate with AWS SDK Code Examples team
- ECS ListContainerInstances (1.34.150) - incorrect 'MaxItems' details HOT 2
- AWS Lambda - "list_coverage" filter on `lambdaFunctionRuntime` not working HOT 7
- list_protections doc does not state an optional field. HOT 3
- Converse API skips 'required' tool spec parameters HOT 2
- Dangling Parameter - should be removed from SNS Docs HOT 1
- Image corruption when uploading to S3 using Boto3 in Lambda HOT 2
- Use IAM ID instead of username HOT 1
- Example for MultipartUpload HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boto3.