EC2 Reaper
CLI & module for terminating instances that match tag and age requirements.
Features
Searches all (or specified) regions for instances.
Matches instances against a tag pattern.
Allows instances a grace period before termination.
Can be used as a Python module, CLI application, or an AWS Lambda function
Usage
Tag Matchers
[{“tag”: “Name”, “includes”: [], “excludes”: [“*”]}]
This is the default tag matcher and it will match anything that lacks a Name tag.
To terminate any instance named “cirunner”, the filter would look like so:
[{“tag”: “Name”, “includes”: [“cirunner”], “excludes”: []}]
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2017-11-27)
First release on PyPI.
Metadata
Release files for ec2-reaper 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ec2-reaper-0.1.8.tar.gz | 18.2 kB | Without provenance | Details for ec2-reaper-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ec2_reaper-0.1.8-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for ec2_reaper-0.1.8-py2.py3-none-any.whl |
Total release size: 28.4 kB
Release files / ec2-reaper-0.1.8.tar.gz
| Download URL | ec2-reaper-0.1.8.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
315c9c6d1b5a767f7fdbe4bf715314a1c96cdbcf68c3e81d4639104aea5e6dbb
|
|
BLAKE2b-256 checksum How to use checksums |
3e31568f4c3f1fb57b7e499ccbfeaf4415243e39e4c4a279c8681858ad906c16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ec2_reaper-0.1.8-py2.py3-none-any.whl
| Download URL | ec2_reaper-0.1.8-py2.py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a7ad388c1a33f0628538e4df5ef202cf08e35153e18964b8c41c24a4bcf3d34b
|
|
BLAKE2b-256 checksum How to use checksums |
71b648cfd38ef0141e7feb275e57e43c9812c0fabd74660de05f5d0a6206a097
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ec2-reaper 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.