https://github.com/reiddraper/riak-ec2-cluster-launcher
A Python script to launch an N-node Riak cluster
https://github.com/reiddraper/riak-ec2-cluster-launcher
Last synced: 11 months ago
JSON representation
A Python script to launch an N-node Riak cluster
- Host: GitHub
- URL: https://github.com/reiddraper/riak-ec2-cluster-launcher
- Owner: reiddraper
- Created: 2011-04-04T01:10:04.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2012-10-24T18:34:55.000Z (over 13 years ago)
- Last Synced: 2025-04-06T22:46:48.574Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 87.9 KB
- Stars: 35
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
__NOTE: this uses a woefully out of date Riak installation,
and is just sticking around on github for posterirty at the moment__
___
# Riak EC2 Cluster Launcher
## Dependencies
`launch.py` is a simple Python script to launch an `N`-node Riak cluster. The requirements can be installed
with:
sudo pip install fabric paramiko boto
To run the command you will also need an EC2 account, and your environment variables set as described
[here](http://code.google.com/p/boto/wiki/BotoConfig).
## Usage
# key_filename is the name of an EC2 Key Pair
# key_filepath is the full path to the private key
# for the key in key_filepath
# The key will be used to ssh into the master node,
# and wait for Riak to be running
./launch.py key_filename key_filepath user_data.sh 100
## Limitations
Each machine will download Riak application configuration from an s3 bucket that I personally own.
If you really wanted to be secure, you would copy this config to a server that you control, or
just use `sed` or something and edit the app defaults from `user_data.sh`.