No commit activity in last 3 years
No release in over 3 years
AWS ElastiCache for Redis Snapshot tool
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0
>= 0

Runtime

 Project Readme

おれん ElastiCache Snapshot

おれん ElastiCache のスナップショットを管理ツールくさ。

Installation

Add this line to your application's Gemfile:

gem 'elasticache_snapshot'

And then execute:

$ bundle

Or install it yourself as:

$ gem install elasticache_snapshot

Usage

Set AWS Credentials

cat << EOT > ~/.aws/credentials
[default]
aws_access_key_id = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
aws_secret_access_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
EOT
export AWS_REGION=ap-northeast-1 or export AWS_REGION=(your region)

If you want to run on EC2 instance that has been set appropriate IAM role set of access_key and secret_access_key is not required(AWS_REGION required.).

Help

bundle exec bin/elasticache_snapshot

(output)
Commands:
  elasticache_snapshot create SNAPSHOT_NAME  # Create Snapshot SNAPSHOT_NAME
  elasticache_snapshot delete SNAPSHOT_NAME  # Dispose Snapshot SNAPSHOT_NAME
  elasticache_snapshot help [COMMAND]        # Describe available commands or one specific command
  elasticache_snapshot list                  # Describe Snapshots

list

bundle exec bin/elasticache_snapshot list

(output)
+---------------------+-------------------------+
| SNAPSHOT Name       | SNAPSHOT Create time    |
+---------------------+-------------------------+
| snapshot-1420457086 | 2015-01-05 11:25:01 UTC |
| snapshot-1420457295 | 2015-01-05 11:28:31 UTC |
| snapshot-1420461070 | 2015-01-05 12:31:21 UTC |
+---------------------+-------------------------+

Contributing

  1. Fork it ( https://github.com/[my-github-username]/elasticache_snapshot/fork )
  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 a new Pull Request