Skip to main content

awslimitchecker

PyPi package version PyPi downloads GitHub Forks GitHub Open Issues Project Status: Active - The project has reached a stable, usable state and is being actively developed. gitter.im chat Conda

Master:

travis-ci for master branch coverage report for master branch sphinx documentation for latest release

Develop:

travis-ci for develop branch coverage report for develop branch sphinx documentation for develop branch

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. 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 at http://awslimitchecker.readthedocs.io/en/latest/.

Status

awslimitchecker 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/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)

  • where possible, pull current limits from the Service Quotas service

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

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

Requirements

Either Docker in order to run via the docker image, or:

  • Python 3.5 or newer.

  • Python VirtualEnv and pip (recommended installation method; your OS/distribution should have packages for these)

  • boto3 >= 1.4.6 and its dependency botocore >= 1.6.0.

Alternatively, awslimitchecker may be installed through conda with conda install -c conda-forge awslimitchecker. This will automatically install the required dependencies as well.

Installation and Usage

See Getting Started.

Credentials

See Credentials.

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.

There is also a gitter.im chat channel for support and discussion.

Changelog

See Changelog.

Contributions

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.

License

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.

Release files for awslimitchecker 12.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awslimitchecker 12.0.0
File Size Uploaded
awslimitchecker-12.0.0.tar.gz 203.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awslimitchecker 12.0.0
File Interpreter ABI Platform
awslimitchecker-12.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 498.8 kB

Release files / awslimitchecker-12.0.0.tar.gz

Download URL awslimitchecker-12.0.0.tar.gz
Size 203.2 kB
Tags Source
SHA-256 checksum
How to use checksums
adfd2bb2b971609a5ef35a50a037336ca82e9fd64ae6a25a0647c7bb802d9a65
BLAKE2b-256 checksum
How to use checksums
bbfa2238e7ee44809614133631091c3c4cfca449bf0b64e938ce8524d1e55990
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

Release files / awslimitchecker-12.0.0-py2.py3-none-any.whl

Download URL awslimitchecker-12.0.0-py2.py3-none-any.whl
Size 295.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f1ab5117ac973ebd4bdda509240a1f05c1c8c4997725ae5c9f0bc076df31b205
BLAKE2b-256 checksum
How to use checksums
3e1491bcbbf67906654a68deef15caede2479b5e7599c9f28559b38e11fbb3d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

12.0.0 This release

2 release files

11.0.0

2 release files

9.0.0

2 release files

8.1.0

2 release files

8.0.2

2 release files

8.0.1

2 release files

8.0.0

2 release files

7.1.0

2 release files

7.0.0

2 release files

6.1.7

2 release files

6.1.6

2 release files

6.1.5

2 release files

6.1.4

2 release files

6.1.3

2 release files

6.1.2

2 release files

6.1.1

2 release files

6.1.0

2 release files

6.0.1

2 release files

6.0.0

2 release files

5.1.0

2 release files

5.0.0

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.0.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page