I understand that the new technology can be scaring and this
makes entry barriers to try and get familiar with it.
That’s why I created simple set of scripts which setup N nodes
cluster on running EC2 instances.
The script assumes that you have running N EC2 instances (in the
same availability zone) running RedHat Enterprise Linux 6.2 64bit
(I use m1.xlarge size).
You put hostnames of the instances into ec2hosts.txt
file and run install.nodes.sh
script.
You also should have your private key to access to your instances
(test-cluster.pem
in my case).
For my box installing and starting 3 nodes took exactly
time install.nodes.sh ... real 2m51.257s
In fact you can deploy as many nodes as you want, I made also running 20 nodes cluster.
After that you have the cluster deployed and ready to accept queries!
The scripts are …
[Read more]