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.

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 external_id.

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.

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.