Get Started with Datadog

The Monitor

Get ahead of AWS service quotas with Datadog

Published

Read time

7m

Get ahead of AWS service quotas with Datadog
Matt Auerbach

Matt Auerbach

Product Manager

Cody Murray-Bruce

Cody Murray-Bruce

Product Marketing Manager

AWS service quotas cap how many resources or requests each account can use, such as VPCs per region, EC2 vCPUs, or Lambda concurrent executions. Each service can have dozens or hundreds of quotas, with limits that vary across accounts and regions. For teams managing hundreds of AWS accounts, keeping track of those limits often means maintaining custom scripts or checking quotas one account at a time. When a quota is reached, AWS may reject new requests or resource launches, potentially blocking deployments or preventing applications from scaling during traffic spikes. Errors such as LimitExceeded and ThrottlingException can make matters worse because they don’t always identify which quota caused the failure.

Service Quota Monitoring for AWS helps teams identify approaching quota limits before they disrupt workloads. Datadog collects the aws.servicequota.percentage_used metric for supported quotas across your accounts and regions, so you can compare usage, set alerts, and investigate quota-related failures alongside your other AWS telemetry data. An out-of-the-box AWS Service Quota Usage dashboard highlights the quotas closest to their limits and provides suggested monitors for proactive alerting.

Service Quota Monitoring is generally available for all Datadog customers. In this post, we’ll show how Service Quota Monitoring helps you:

Compare AWS service quota usage across accounts and regions

Service Quota Monitoring gives you a centralized view of quota usage across your AWS accounts and regions, helping you identify which quotas are approaching their limits. Instead of checking each account in the AWS console or maintaining scripts to track individual quotas, you can use the aws.servicequota.percentage_used metric to monitor consumption as a percentage of each quota’s applied limit.

Datadog adds tags to the metric with metadata such as service_code, quota_code, quota_name, region, and adjustable, along with AWS account tags. Because usage is expressed as a percentage, you can compare quotas with very different limits, such as VPCs and EC2 vCPUs. The percentage also reflects changes to a quota’s applied limit, so you don’t need to manually update your monitoring configuration after an increase.

Service Quota Monitoring supports the following nine AWS services:

  • Amazon EC2

  • AWS Lambda

  • Amazon VPC

  • Elastic Load Balancing (ELBv2)

  • AWS Identity and Access Management (IAM)

  • Amazon RDS

  • Amazon DynamoDB

  • Amazon CloudWatch Logs

  • AWS Key Management Service (KMS)

The out-of-the-box AWS Service Quota Usage dashboard highlights the 20 supported quotas closest to their limits across your AWS accounts and regions. It also breaks down quota usage by service, account, and region, helping you identify where resource consumption is approaching an applied limit.

Dashboard displays AWS Service Quota metrics
Dashboard displays AWS Service Quota metrics

The dashboard includes filters for service, account, region, and whether a quota is adjustable. These filters help you distinguish between quotas you can increase through an AWS request and non-adjustable quotas that require a different response.

For example, a platform team managing more than 100 AWS accounts might filter the dashboard to VPC quotas and find that VPC endpoint usage is approaching its limit in several accounts. If those quotas are adjustable, the team can request increases before its next deployment. If a quota is non-adjustable, the team can consider distributing resources across accounts or regions or changing its infrastructure configuration.

By identifying quotas that are approaching their limits, teams can prioritize capacity planning before resource constraints affect production workloads.

Get alerted before a quota blocks a deployment

Service Quota Monitoring helps you detect approaching quota limits with suggested monitors that alert when a quota’s percentage used crosses a configured threshold. Because AWS quota increase requests can take time to process, receiving a notification before a limit is reached gives teams an opportunity to act while there is still capacity available.

The AWS Service Quota Usage dashboard includes suggested monitors that you can enable or customize based on your team’s requirements. You can configure thresholds that reflect how much advance warning you need and send notifications through integrations such as Slack, email, or PagerDuty.

Because aws.servicequota.percentage_used is tagged by quota, account, and region, a single multi-alert monitor can cover supported quotas across multiple accounts and regions. You don’t need to create a separate monitor with a hardcoded limit for each quota. When AWS applies a quota increase, the percentage-used metric reflects the updated limit, reducing the need to maintain individual monitoring thresholds.

For example, suppose your production application uses AWS Lambda and expects a seasonal increase in traffic. As concurrent executions climb toward the account’s quota limit, a Datadog monitor can notify your platform team that capacity is running low. The team can then request a quota increase before additional invocations risk being throttled.

The same approach applies to other supported resource quotas. Instead of discovering a limit only after a deployment fails or autoscaling is interrupted, your team can monitor quota consumption as part of its existing operational workflows.

Service Quota Monitoring helps engineers investigate quota-related failures by making quota usage available alongside the rest of their AWS telemetry data in Datadog. When an application encounters an InstanceLimitExceeded or TooManyRequestsException error, engineers can check which quotas are at or near their limits in the affected account and region.

Without centralized quota monitoring, diagnosing these errors can require searching through multiple AWS accounts and regions, comparing service quotas, and identifying which resource limit corresponds to the failed operation. Quota usage metrics provide additional context for narrowing down potential causes.

For example, suppose an API starts returning TooManyRequestsException (HTTP 429) errors from a Lambda function during a traffic spike. The on-call engineer can open the AWS Service Quota Usage dashboard, filter to the affected account and region, and check whether the Lambda concurrent executions quota has reached 100% usage. If the quota is exhausted, the engineer can determine whether to request an increase, set reserved concurrency to protect critical functions, or shift traffic to another region.

Dashboard displays AWS Service Quota metrics
Dashboard displays AWS Service Quota metrics

Because quota usage is available as a Datadog metric, you can also add it to existing service or incident dashboards. For example, a dashboard that tracks EC2 capacity and application errors can include quota usage to help engineers investigate whether resource limits contributed to a deployment failure or autoscaling issue.

Quota metrics also provide account, region, and service context that you can use when investigating related AWS metrics, logs, and traces. Keeping this information in Datadog reduces the need to switch between monitoring systems and AWS consoles to understand a potential quota-related failure.

Monitor AWS service quotas before they affect production

Service Quota Monitoring brings AWS quota usage into Datadog, helping teams identify approaching limits across accounts and regions, receive early warnings, and investigate quota-related failures alongside their existing infrastructure telemetry. By tracking resource consumption before it reaches a quota’s limit, teams can make more informed capacity decisions and reduce the risk of quota-related disruptions.

Service Quota Monitoring is also available for Oracle Cloud Infrastructure (OCI), Alibaba Cloud, Nebius AI Cloud, and OVHcloud. Each cloud has its own servicequota.percentage_used metric and an out-of-the-box Service Quota Usage dashboard, with quota monitoring coverage across that provider’s services. For more information about configuration, supported services, and quota metrics, read the documentation.

To configure monitoring for your AWS environment, see the AWS Service Quotas guide. If you’re new to Datadog, to start monitoring AWS service quota usage across your infrastructure.

Start monitoring your metrics in minutes