A script and python module to check your AWS service limits and usage, and warn when usage approaches limits.
Users building out scalable services in Amazon AWS often run into AWS’ service limits - often at the least convenient time (i.e. mid-deploy or when autoscaling fails). Amazon’s Trusted Advisor can help this, but even the version that comes with Business and Enterprise support only monitors a small subset of AWS limits and only alerts weekly. awslimitchecker provides a command line script and reusable package that queries your current usage of AWS resources and compares it to limits (hard-coded AWS defaults that you can override, API-based limits where available, or data from Trusted Advisor where available), notifying you when you are approaching or at your limits.
Full project documentation for the latest release is available at http://awslimitchecker.readthedocs.io/en/latest/.
It’s gotten a bunch of downloads on PyPi (when the download counters used to work). As far as I know, it’s stable and in use by some pretty large organizations.
Development status is being tracked on a board at waffle.io: https://waffle.io/jantman/awslimitchecker
What It Does¶
- Check current AWS resource usage against AWS Service Limits
- Show and inspect current usage
- Override default Service Limits (for accounts with increased limits)
- Compare current usage to limits; return information about limits that exceed thresholds, and (CLI wrapper) exit non-0 if thresholds are exceeded
- Define custom thresholds per-limit
- where possible, pull current limits from Trusted Advisor API
- where possible, pull current limits from each service’s API (for services that provide this information)
- Supports explicitly setting the AWS region
- Supports using STS to assume roles in other accounts, including using
- Optionally refresh Trusted Advisor “Service Limits” check before polling Trusted Advisor data, and optionally wait for the refresh to complete (up to an optional maximum time limit). See Getting Started - Trusted Advisor for more information.
Getting Help and Asking Questions¶
See Getting Help.
For paid support and development options, please see the Enterprise Support Agreements and Contract Development section of the documentation.
Pull requests are most definitely welcome. Please cut them against the develop branch. For more information, see the development documentation. I’m also happy to accept contributions in the form of bug reports, feature requests, testing, etc.
awslimitchecker is licensed under the GNU Affero General Public License, version 3 or later. This shouldn’t be much of a concern to most people; see Development / AGPL for more information.
- Getting Started
- Command Line Usage
- Python Usage
- Required IAM Permissions
- Supported Limits
- Getting Help
- awslimitchecker package
- 0.8.0 (2017-03-11)
- 0.7.0 (2017-01-15)
- 0.6.0 (2016-11-12)
- 0.5.1 (2016-09-25)
- 0.5.0 (2016-07-06)
- 0.4.4 (2016-06-27)
- 0.4.3 (2016-05-08)
- 0.4.2 (2016-04-27)
- 0.4.1 (2016-03-15)
- 0.4.0 (2016-03-14)
- 0.3.2 (2016-03-11)
- 0.3.1 (2016-03-04)
- 0.3.0 (2016-02-18)
- 0.2.3 (2015-12-16)
- 0.2.2 (2015-12-02)
- 0.2.1 (2015-12-01)
- 0.2.0 (2015-11-29)
- 0.1.3 (2015-10-04)
- 0.1.2 (2015-08-13)
- 0.1.1 (2015-08-13)
- 0.1.0 (2015-07-25)