ec2-reaper-0.1.8
توضیحات
CLI & module for terminating instances that match tag and age requirements.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ec2-reaper-0.1.8 |
| نام | ec2-reaper |
| نسخه کتابخانه | 0.1.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Shaun Martin |
| ایمیل نویسنده | shaun@samsite.ca |
| آدرس صفحه اصلی | https://github.com/inhumantsar/python-ec2-reaper |
| آدرس اینترنتی | https://pypi.org/project/ec2-reaper/ |
| مجوز | BSD license |
==========
EC2 Reaper
==========
.. image:: https://img.shields.io/pypi/v/ec2-reaper.svg
:target: https://pypi.python.org/pypi/ec2-reaper
.. image:: https://img.shields.io/travis/inhumantsar/python-ec2-reaper.svg
:target: https://travis-ci.org/inhumantsar/python-ec2-reaper
.. image:: https://pyup.io/repos/github/inhumantsar/python-ec2-reaper/shield.svg
:target: https://pyup.io/repos/github/inhumantsar/python-ec2-reaper/
:alt: Updates
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.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.1.0 (2017-11-27)
------------------
* First release on PyPI.
نیازمندی
| مقدار | نام |
|---|---|
| ==1.5.6 | boto3 |
| ==2017.3 | pytz |
| ==0.9.60 | slacker |
| ==6.7 | click |
نحوه نصب
نصب پکیج whl ec2-reaper-0.1.8:
pip install ec2-reaper-0.1.8.whl
نصب پکیج tar.gz ec2-reaper-0.1.8:
pip install ec2-reaper-0.1.8.tar.gz