Command Line utility for Amazon Aurora.
Project description
Command Line utility for Amazon Aurora.
Support python3 only. (use boto3)
Settings
export AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXXXXXXXX
export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export AWS_DEFAULT_REGION=xx-xxxxxxx-x
support environment variables and iam role.
Examples
list instance and cluster
$ auroraex list
[instances]
db01 mysql available db.m3.xlarge ap-northeast-1c None
db02 mysql available db.m3.xlarge ap-northeast-1c None
db03 mysql available db.m3.large ap-northeast-1c None
db04 mysql available db.m3.large ap-northeast-1c None
db05 aurora available db.t2.medium ap-northeast-1c aurora-cluster
db06 aurora available db.t2.medium ap-northeast-1c aurora-cluster
[clusters]
aurora-cluster available aurora ['db05', 'db06']
...
restore aurora cluster
$ auroraex restore -s ${source-cluster-identifier} -t ${restore-cluster-identifier} -w ${writer-instance} -r ${reader-instance}
use copy-on-write.
delete aurora cluster and child instance
$ auroraex delete_cluster -i ${delete-target-cluster-identifier}
Installation
pip install auroraex
Contributing
Fork it
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am 'Add some feature')
Push to the branch (git push origin my-new-feature)
Create new Pull Request
Information
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
auroraex-0.3.1.tar.gz
(4.9 kB
view hashes)