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.
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 | |
|---|---|---|---|
| ec2-reaper-0.1.8.tar.gz | 18.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ec2_reaper-0.1.8-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
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 |