- Newest
- Most votes
- Most comments
Hello there,
Thank you for reaching out to us.
I understand that you would like to know if there are any hard limits for launching instances using Boto3 API.
Firstly to mention, there is no specific hard limits here. Apart from vCPU limits, AWS throttle Amazon API requests for each AWS account on per-region basis. AWS ensure that all API calls don't exceed the specific throttling limits. When API request exceeds the API request rate for its category, the request returns the "RequestLimitExceeded" error code. The main reason behind this throttling is to ensure that all the customers, who share same underlying hardware, get fair chance over API calls. It prevents any one customer from utilizing all the resource and thereby ceasing services for other customers. Therefore, the throttle is implemented to make sure the systems can handle as many API request as possible and, at the same time, giving equal opportunity to all the customers.
API Throttling in general can be avoided by ensuring that the application uses an appropriate sleep interval between successive requests, along with exponential back-off retries.
For more information, please refer the following articles :
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/throttling.html
https://aws.amazon.com/builders-library/timeouts-retries-and-backoff-with-jitter/
With this being said, if you have a valid use-case for increasing this API limit, you can request for the limit increase by opening a AWS support case : https://docs.aws.amazon.com/AWSEC2/latest/APIReference/throttling.html#throttling-increase
Thank you!
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago