Package: awslimitchecker
Master:Develop: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’sTrusted Advisorcan help this, but even the version that comes with Business and Enterprise support only monitors a small subset of AWS limits
and only alertsweekly. The new Service Quotas service can also help with this, but relies on CloudWatch alarms per-limit to notify
you when you approach your limits; this cannot easily scale to the hundreds of current service limits. awslimitchecker provides a command line
script and reusable Python 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, Service Quotas data 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 athttp://awslimitchecker.readthedocs.io/en/latest/.Statusawslimitchecker is mature software, with approximately 13,000 downloads per month and in daily use at numerous organizations.Development status is being tracked on a board at waffle.io:https://waffle.io/jantman/awslimitcheckerWhat It DoesCheck current AWS resource usage against AWS Service LimitsShow and inspect current usageOverride 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 exceededDefine custom thresholds per-limitwhere possible, pull current limits from Trusted Advisor APIwhere possible, pull current limits from each service’s API (for services that provide this information)where possible, pull current limits from the Service Quotas serviceSupports explicitly setting the AWS regionSupports usingSTSto assume roles in other accounts, including usingexternal_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). SeeGetting Started - Trusted Advisorfor more information.Optionally send current usage and limit metrics to a metrics store, such as Datadog.Optionally send warning/critical alerts to notification providers, such as PagerDuty.RequirementsEither Docker in order to run via thedocker image,or:Python 3.5 or newer.PythonVirtualEnvandpip(recommended installation method; your OS/distribution should have packages for these)boto3>= 1.4.6 and its dependencybotocore>= 1.6.0.Alternatively, awslimitchecker may be installed throughcondawithconda install-cconda-forgeawslimitchecker. This will automatically install the required dependencies as well.Installation and UsageSeeGetting Started.CredentialsSeeCredentials.Getting Help and Asking QuestionsSeeGetting Help.For paid support and development options, please see theEnterprise Support Agreements and Contract Developmentsection of the documentation.There is also agitter.im chat channelfor support and discussion.ChangelogSeeChangelog.ContributionsPull requests are most definitely welcome. Please cut them against thedevelopbranch. For more information, see
thedevelopment documentation. I’m
also happy to accept contributions in the form of bug reports, feature requests, testing, etc.Licenseawslimitchecker is licensed under theGNU Affero General Public License, version 3 or later.
This shouldn’t be much of a concern to most people; seeDevelopment / AGPLfor more information.