Skip to main content

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, Sagemaker domain 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

npm install -g serverless

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
npm install
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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-saving-1.1.3.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

aws_saving-1.1.3-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file aws-saving-1.1.3.tar.gz.

File metadata

  • Download URL: aws-saving-1.1.3.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2

File hashes

Hashes for aws-saving-1.1.3.tar.gz
Algorithm Hash digest
SHA256 b9c5f999cd729caf101001ae74f4dc08e9b925afd565ae08d349375962e75a2b
MD5 c884032483d1c13272bebf5414201f20
BLAKE2b-256 a4eacf777b54e33c42d27d658dfcf01f1856c9881e2ae5bafeb27db5e3b86516

See more details on using hashes here.

File details

Details for the file aws_saving-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: aws_saving-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2

File hashes

Hashes for aws_saving-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 85cab841be0f0454b55875052fafeed28359bcc97876f77f4987c295ad8098f0
MD5 28209c5fcccc7a7a245e59e43e04ed1b
BLAKE2b-256 2f151d1968c028fe8125c2c8a5186eb0c4c7509264e9f321b7990a14f633ab0a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page