Skip to main content

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.

Metadata

Release files for aws-saving 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-saving 1.1.3
File Size Uploaded Provenance Actions
aws-saving-1.1.3.tar.gz 15.9 kB Without provenance Details for aws-saving-1.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aws-saving 1.1.3
File Interpreter ABI Platform Actions
aws_saving-1.1.3-py3-none-any.whl Python 3 none any Details for aws_saving-1.1.3-py3-none-any.whl

Total release size: 43.6 kB

Release files / aws-saving-1.1.3.tar.gz

Download URL aws-saving-1.1.3.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b9c5f999cd729caf101001ae74f4dc08e9b925afd565ae08d349375962e75a2b
BLAKE2b-256 checksum
How to use checksums
a4eacf777b54e33c42d27d658dfcf01f1856c9881e2ae5bafeb27db5e3b86516
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / aws_saving-1.1.3-py3-none-any.whl

Download URL aws_saving-1.1.3-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85cab841be0f0454b55875052fafeed28359bcc97876f77f4987c295ad8098f0
BLAKE2b-256 checksum
How to use checksums
2f151d1968c028fe8125c2c8a5186eb0c4c7509264e9f321b7990a14f633ab0a
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for aws-saving 1.1.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page