Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jantman/awslimitchecker
A script and python package to check your AWS service limits and usage via boto3.
https://github.com/jantman/awslimitchecker
aws python
Last synced: 24 days ago
JSON representation
A script and python package to check your AWS service limits and usage via boto3.
- Host: GitHub
- URL: https://github.com/jantman/awslimitchecker
- Owner: jantman
- License: agpl-3.0
- Created: 2015-06-06T02:22:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-29T23:28:01.000Z (4 months ago)
- Last Synced: 2024-10-06T04:47:22.286Z (about 1 month ago)
- Topics: aws, python
- Language: Python
- Homepage: http://awslimitchecker.readthedocs.org/
- Size: 2.46 MB
- Stars: 514
- Watchers: 20
- Forks: 188
- Open Issues: 30
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
awslimitchecker
===============.. image:: https://img.shields.io/pypi/v/awslimitchecker.svg
:target: https://pypi.python.org/pypi/awslimitchecker
:alt: PyPi package version.. image:: http://jantman-personal-public.s3-website-us-east-1.amazonaws.com/pypi-stats/awslimitchecker/per-month.svg
:target: http://jantman-personal-public.s3-website-us-east-1.amazonaws.com/pypi-stats/awslimitchecker/index.html
:alt: PyPi downloads.. image:: https://img.shields.io/github/forks/jantman/awslimitchecker.svg
:alt: GitHub Forks
:target: https://github.com/jantman/awslimitchecker/network.. image:: https://img.shields.io/github/issues/jantman/awslimitchecker.svg
:alt: GitHub Open Issues
:target: https://github.com/jantman/awslimitchecker/issues.. image:: http://www.repostatus.org/badges/1.1.0/active.svg
:alt: Project Status: Active - The project has reached a stable, usable state and is being actively developed.
:target: http://www.repostatus.org/#active.. image:: http://badges.gitter.im/jantman/awslimitchecker.png
:alt: gitter.im chat
:target: https://gitter.im/awslimitchecker/Lobby.. image:: https://img.shields.io/conda/v/conda-forge/awslimitchecker
:alt: Conda
:target: https://anaconda.org/conda-forge/awslimitcheckerMaster:
.. image:: https://api.travis-ci.com/jantman/awslimitchecker.svg?branch=master
:target: http://travis-ci.com/jantman/awslimitchecker
:alt: travis-ci for master branch.. image:: https://codecov.io/github/jantman/awslimitchecker/coverage.svg?branch=master
:target: https://codecov.io/github/jantman/awslimitchecker?branch=master
:alt: coverage report for master branch.. image:: https://readthedocs.org/projects/awslimitchecker/badge/?version=latest
:target: https://readthedocs.org/projects/awslimitchecker/?badge=latest
:alt: sphinx documentation for latest releaseDevelop:
.. image:: https://api.travis-ci.com/jantman/awslimitchecker.svg?branch=develop
:target: http://travis-ci.com/jantman/awslimitchecker
:alt: travis-ci for develop branch.. image:: https://codecov.io/github/jantman/awslimitchecker/coverage.svg?branch=develop
:target: https://codecov.io/github/jantman/awslimitchecker?branch=develop
:alt: coverage report for develop branch.. image:: https://readthedocs.org/projects/awslimitchecker/badge/?version=develop
:target: https://readthedocs.org/projects/awslimitchecker/?badge=develop
:alt: sphinx documentation for develop branchA 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.