https://github.com/toyama0919/auroraex
Command Line utility for Amazon Aurora.
https://github.com/toyama0919/auroraex
aurora aws aws-aurora python python3
Last synced: 2 months ago
JSON representation
Command Line utility for Amazon Aurora.
- Host: GitHub
- URL: https://github.com/toyama0919/auroraex
- Owner: toyama0919
- Created: 2017-07-05T06:29:01.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-28T02:43:15.000Z (over 7 years ago)
- Last Synced: 2025-02-23T23:19:09.316Z (3 months ago)
- Topics: aurora, aws, aws-aurora, python, python3
- Language: Python
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# auroraex
[](https://badge.fury.io/py/auroraex)
[](http://travis-ci.org/toyama0919/auroraex)Command Line utility for Amazon Aurora.
Support python3 only. (use boto3)
## Settings
```sh
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
```sh
$ 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
```sh
$ 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
```sh
$ auroraex delete_cluster -i ${delete-target-cluster-identifier}
```## Installation
```sh
pip install auroraex
```## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new [Pull Request](../../pull/new/master)## Information
* [Homepage](https://github.com/toyama0919/auroraex)
* [Issues](https://github.com/toyama0919/auroraex/issues)
* [Documentation](http://rubydoc.info/gems/auroraex/frames)
* [Email](mailto:[email protected])