- Newest
- Most votes
- Most comments
AWS throttles Amazon EC2 API requests for each AWS account on a per-Region basis to help maintain service performance. The error you're seeing indicates that your account has exceeded the maximum allowed API request rate for the DescribeVolumes operation.
Even though your CloudTrail query only shows 13 results, there are several possible explanations for why you're experiencing throttling:
-
CloudTrail might not be capturing all API calls, especially if they're being made programmatically at high frequency.
-
The throttling could be caused by automated processes or applications making frequent DescribeVolumes calls. This could include monitoring tools, custom scripts, or third-party applications that query volume information.
-
For large clusters or environments that scale drastically, EC2 API requests around provisioning can encounter request throttling. DescribeVolumes is specifically listed as one of the read-only actions that commonly experiences throttling.
-
Unpaginated requests for DescribeVolumes are particularly susceptible to throttling and timeouts. AWS strongly recommends using only paginated requests when working with this API.
To address this issue:
-
Implement pagination in your API calls to DescribeVolumes.
-
Reduce the frequency of your API calls by implementing caching strategies.
-
Monitor your API usage with CloudWatch metrics in the AWS/EC2/API namespace. Look for the RequestLimitExceeded metric to track throttling events.
-
Consider reaching out to AWS Support to request an increase in your API rate limits if needed for your workload.
The throttling is affecting both your console access and programmatic access because all API calls (whether from applications, CLI, or the console) count toward the same rate limit for your AWS account.
Sources
Troubleshooting API request errors - Amazon Elastic Compute Cloud
DescribeVolumes - Amazon Elastic Compute Cloud
Known Limits and Service Quotas - Amazon EKS
Monitor Amazon EC2 API requests using Amazon CloudWatch - Amazon Elastic Compute Cloud
Relevant content
asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
