AWS Limit Monitor
AWS Limit Monitor

AWS Limit Monitor

Limits can be frustrating and now and then we encounter them in life. Be it Speed Limit or Credit Card spending limit. Well you may not do much with them but you can obviously track your AWS usages limits programmatically and get prepare yourself well in advance.

In this article we will talk about an end to end AWS Solution which will help you manage your AWS resource limits across accounts with notifications over email or in a Slack channel.

What does this AWS Solutions Implementation do?

The AWS Limit Monitor solution automatically provisions the services necessary to proactively track resource usage and send notifications as you approach limits. The solution is easy to deploy and leverages the AWS Trusted Advisor Service Limits checks and Service Quotas to help you display your usage and limits for specific AWS services, and centrally manage your limits.

With AWS Limit Monitor, you can receive notifications over email or in a Slack channel, enabling you to request limit increases or shut down resources before the limit is reached.

AWS Solutions Implementation overview

AWS offers a solution that automatically checks service usage against limits and sends an email or Slack notification when usage approaches a service limit. The diagram below presents the AWS Limit Monitor architecture you can deploy in minutes using the solution's implementation guide and accompanying AWS CloudFormation template.

AWS Limit Monitor

AWS Limit Monitor architecture

This solution uses AWS Lambda to automatically refresh the AWS Trusted Advisor Service Limits checks to retrieve the most current utilization and limit data through API calls. Trusted Advisor calculates usage against the limit to determine whether the

  • Status is OK (less than 80% utilization),
  • WARN (between 80% and 99% utilization), or
  • ERROR (100% utilization).

If you opt in to monitor Amazon Elastic Compute Cloud (Amazon EC2) virtual central processing unit-based (vCPU-based) limits, the template launches another Lambda function that runs every five minutes. The function checks Service Quotas to retrieve vCPU usage and limit data for every AWS Region. The function calculates vCPU usage against limits to determine whether the status is OK (less than 80% utilization), WARN (between 80% and 99% utilization), or ERROR (100% utilization). 

Amazon CloudWatch Events captures the status events from Trusted Advisor and the vCPU monitoring Lambda function, and uses a set of CloudWatch Events rules to send the status events to all the targets you choose during initial deployment of the solution: an Amazon Simple Queue Service (Amazon SQS) queue, an Amazon Simple Notification Service (Amazon SNS) topic (optional), or a Lambda function for Slack notifications (optional). If you enable Slack notifications during initial deployment, the solution will launch a Lambda function that sends notifications to your existing Slack channel.

Deployment resources

Estimated deployment time: 5 min

Download deployment guide 

AWS Solutions Implementation resources ?

Source code 

CloudFormation template 

View deployment guide

Launch in the AWS Console

Overview video ?

AWS Limit Monitor & Service Quotas ?


要查看或添加评论,请登录

Pritam Pal的更多文章

  • Who should use Google Kubernetes Engine (GKE) Autopilot

    Who should use Google Kubernetes Engine (GKE) Autopilot

    Yesterday I tried my first hands on Google Kubernetes Engine (GKE) Autopilot, which is a fully managed Kubernetes…

  • 365 "Day 1" @ AWS

    365 "Day 1" @ AWS

    Normally, I would have called this as 1st year work anniversary, but, It’s the 365th “Day 1” at Amazon. When I joined…

    5 条评论
  • Time Blocking: How You do it !

    Time Blocking: How You do it !

    I hate when I have a 30 mins or 1 hr gap between meetings. I found those time slots were way less effective then other…

  • Being Emotionally Intelligent

    Being Emotionally Intelligent

    The last 7 companies I worked for gave me some kind of exposure how people behave. Though in most of the interviews I…

    2 条评论
  • AWS "Savings Plan" -101

    AWS "Savings Plan" -101

    We know you love lots of Compute power and we love it too. At AWS Cloud we try to make it more and more affordable for…

  • How to Be a Rock Star at Work, With No Talent!

    How to Be a Rock Star at Work, With No Talent!

    Talent is overrated. That's Why often more important is your Image and how well you can capture the limelight.

    2 条评论
  • Opinionated Tooling

    Opinionated Tooling

    Several Universities make the claim that, when deciding where to put sidewalks, they first let students wear paths…

  • Hibernate on Cloud

    Hibernate on Cloud

    What Do You like the most in a Mac? I bet 90% will say the "Sleep" feature. With toddlers at home who are at time…

  • Apache Kafka in 5 Mins

    Apache Kafka in 5 Mins

    At some point of time in your career you must have used some kind of message broker. So there is P2P and there is…

    2 条评论
  • ABCD of Big Data on AWS

    ABCD of Big Data on AWS

    This was one space untouched ( by me ! ) and then a blog caught my attention. Interactive Query on S3 without the ETL…

社区洞察

其他会员也浏览了