Skip to main content

CLI tool providing sunsetting of RDS snapshots

Project description

https://badge.fury.io/py/aws-rds-manager.svg https://img.shields.io/pypi/pyversions/aws-rds-manager.svg Code issues https://travis-ci.org/nordcloud/aws-rds-manager.svg?branch=master https://codecov.io/gh/nordcloud/aws-rds-manager/branch/master/graph/badge.svg

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


Download files

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

Files for aws-rds-manager, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size aws_rds_manager-1.0.3-py2.py3-none-any.whl (7.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size aws-rds-manager-1.0.3.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page