- Newest
- Most votes
- Most comments
You can monitor AWS service quotas and set up alarms when usage approaches limits using several methods:
For supported services, you can use Amazon CloudWatch to set up alarms that notify you when you're approaching quota limits. Here's how to set this up:
- Open the CloudWatch console
- Find the relevant service quota metric
- Add a math expression to display usage as a percentage of the quota
- Set up an alarm with the following configuration:
- Set threshold type to "Static"
- Configure the condition as "Greater than" (e.g., 80% of quota)
- Select or create an Amazon SNS topic for notifications
- Provide a name and description for the alarm
This will create an alarm that triggers when your usage exceeds the specified percentage of the quota (like 70% or 90% for security group rules).
Additionally, you can use other methods to monitor quotas:
- AWS Service Quotas console provides visibility into current quotas
- AWS Trusted Advisor can monitor service limits at various thresholds
- You can build dashboards of your current service quota usage across accounts and regions
- Tools like Quota Monitor for AWS provide automated monitoring of service quotas
For comprehensive monitoring, consider implementing automated systems that not only alert you but also have defined processes for responding to alerts, including submitting quota increase requests when necessary.
Sources
REL01-BP04 Monitor and manage quotas - AWS Well-Architected Framework (2022-03-31)
Visualizing your service quotas and setting alarms - Amazon CloudWatch
REL01-BP04 Monitor and manage quotas - Reliability Pillar
REL01-BP05 Automate quota management - AWS Well-Architected Framework
Hello
You can try use cloudwatch to monitor first:
Visualizing your service quotas and setting alarms
AWS also provides a custom solution for deployment
This is good framework for all the quotas that support CloudWatch, however, security groups, NACLs don't have integration with cloudwatch so the solution will not work
It might be a good idea for you to use EventBridge's EC2 security group change API call event to trigger AWS Lambda to check the corresponding Security Group quota usage.
How do I use EventBridge and Amazon SNS to monitor changes to my EC2 Linux instance security groups?
Relevant content
- asked 2 months ago

this is very limited and monitoring supports only a few services