AWS saving Python package
Project description
AWS saving package is implemented for deploying a lambda that you can invoke for stopping, deleting or starting each RDS, EC2, bucket and Stack instance.
The goal is to implement this package for each AWS service can stop, delete and start its instances.
It is part of the educational repositories to learn how to write stardard code and common uses of the TDD.
Prerequisites
You can use Serverless framework for deploying the lambda function: if you want to use the guide below, you have to install Serverless framework before and one plugin
npm install -g serverless npm install serverless-python-requirements
If you want to use another AWS tool, you can see the repository aws-tool-comparison before to implement your version.
Installation
The package is not self-consistent. So you have to download the package by github and to install the requirements before to deploy on AWS:
git clone https://github.com/bilardi/aws-saving cd aws-saving/ pip3 install --upgrade -r requirements.txt export AWS_PROFILE=your-account SLS_DEBUG=* sls deploy --stage production
Or if you want to use this package into your code, you can install by python3-pip:
pip3 install aws_saving python3 >>> import aws_saving.saving as Saving >>> help(Saving)
Read the documentation on readthedocs for
- Usage
- Development
Change Log
See CHANGELOG.md for details.
License
This package is released under the MIT license. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size aws_saving-0.0.5-py3-none-any.whl (20.5 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size aws-saving-0.0.5.tar.gz (11.7 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for aws_saving-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26917dd1dc6eea5bccc11e27838fbe604a0fd5530a260cb67de269e157eeb0c8 |
|
MD5 | a7633a83d9048fadc7e4fb6b66fd3172 |
|
BLAKE2-256 | f49482620385d046772f06b0fabf754c8c0bd51187b079d50d5a67c039f315b3 |