CLI tool providing sunsetting of RDS snapshots
Project description
aws-rds-manager
Provides some utilities for the management of RDS snapshots
Installation
pip install aws-rds-manager
Utilities
aws-rds-snapshot-cleanup
With a defined sunset period, removes instances based on a threshold to maintain a set number of snapshots.
Example
The following command will look for all snapshots created from the RDS database drew2, and remove all snapshots leaving a minimum of 2. If less than 2 snapshots exist, then no snapshots will be removed.
aws-rds-snapshot-cleanup --sunset-period 2 --database-name drew2 \ --profile myaccount --role arn:aws:iam::123456789012:role/RDSAccess \ --region ap-southeast-2
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.
Source Distribution
aws-rds-manager-1.0.3.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file aws-rds-manager-1.0.3.tar.gz
.
File metadata
- Download URL: aws-rds-manager-1.0.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c40ef3d3a1533bb706e92216d632c69b56430d8923bf58351af776760ff4d481 |
|
MD5 | 31fa007aa82c654465f60a08b372299d |
|
BLAKE2b-256 | c5fbfea4bf6a7f765fc10baeb6d80ec5665f59d963b10bfcf12513170c7f6494 |
File details
Details for the file aws_rds_manager-1.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: aws_rds_manager-1.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51f8e59fdf352dc70ecd9da4b2f9b705bf924dcb945e5d990c1fc4a3009d4329 |
|
MD5 | 388ca2d20ff1ffac7bc52956149ce2e8 |
|
BLAKE2b-256 | 44eb36a20314165b346f220a8bffad4168d28709544ea4ead04e69549429a32f |