Tool to allow for the management of aws rds aurora snapshots and clusters.
Project description
rds-snap
pip installable tool to allow user to manage AWS RDS Aurora snapshots/clusters.
Motivation
This opinionated tool is used for the following:
- create snapshots of AWS RDS Clusters
- share/copy snapshots between AWS accounts
- restore AWS RDS Clusters from snapshots
- destroy AWS RDS Clusters
TODO
- refine logging
- add tests
Installation
Using Pip
$ pip install rds-snap
Manual
$ git clone https://github.com/RingierIMU/rds-snap
$ cd rds-snap
$ python setup.py install/make install
This will install the tool.
Development
$ git clone https://github.com/RingierIMU/rds-snap
$ cd rds-snap
$ make dev
This will create an environment, format and build the tool.
Usage
The example shell script outlines some common uses.
Output
Sample output while recreating a cluster from and snapshot:
[2021-08-13 09:57:58,983] rds-snap [INFO] create_cluster_and_wait 268: Creating cluster my-workspace-example
[2021-08-13 09:58:00,073] rds-snap [INFO] create_cluster_and_wait 289: Waiting for cluster my-workspace-example to become available
[2021-08-13 10:17:38,209] rds-snap [INFO] create_cluster_and_wait 298: Cluster my-workspace-example ready in 19m:38s
[2021-08-13 10:17:38,710] rds-snap [INFO] create_instance_and_wait 546: Creating cluster instance my-workspace-example-instance-0
[2021-08-13 10:17:39,698] rds-snap [INFO] create_instance_and_wait 559: Waiting for cluster instance my-workspace-example-instance-0 to become available
[2021-08-13 10:23:57,238] rds-snap [INFO] create_instance_and_wait 568: Cluster instance my-workspace-example-instance-0 ready in 6m:18s
[2021-08-13 10:23:57,509] rds-snap [INFO] update_password_and_wait 308: Updating password for cluster my-workspace-example
[2021-08-13 10:24:01,644] rds-snap [INFO] update_password_and_wait 326: Waited for update command to propagate to cluster my-workspace-example in 4s
[2021-08-13 10:24:01,644] rds-snap [INFO] update_password_and_wait 330: Waiting for cluster my-workspace-example to become available
[2021-08-13 10:25:03,921] rds-snap [INFO] update_password_and_wait 338: Cluster my-workspace-example ready in 1m:02s
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rds-snap-0.0.2.tar.gz.
File metadata
- Download URL: rds-snap-0.0.2.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
feca52503f16805ea2e7afc3709cfbfc420193ee99d9595b7c7865948719e890
|
|
| MD5 |
5be3e9583c7e144a121a308f7f94b475
|
|
| BLAKE2b-256 |
b75f8a3c43a3201f9fa29d33b8f2973764d5521207b149fff44cfb9a357ff6a3
|
File details
Details for the file rds_snap-0.0.2-py3-none-any.whl.
File metadata
- Download URL: rds_snap-0.0.2-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ba5fcd8ad100ea56a474bbc11bb0604966e83f8657708466225047627ba52bf
|
|
| MD5 |
a62deff9a2c4bde660b7b04840a5649f
|
|
| BLAKE2b-256 |
aa4081e23caf2aab103875d01188bdd431ab906899dad990a019389ed994d80f
|