forked from nathanmarz/storm-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
nathanmarz edited this page Sep 10, 2011
·
24 revisions
storm-deploy
makes it dead-simple to launch Storm clusters on AWS. It is built on top of jclouds and pallet. After you follow the instructions in this tutorial, you will be able to provision, configure, and install a fully functional Storm cluster with just one command:
lein run :deploy --start --name mycluster
You can then stop a cluster like this:
lein run :deploy --stop --name mycluster
- Install leiningen. All you have to do is download this script, place it on your PATH, and make it executable.
- Clone
storm-deploy
using git - Run
lein deps
- Create a ~/.pallet/config.clj file that looks like this:
(defpallet
:services
{
:default {
:blobstore-provider "aws-s3"
:provider "aws-ec2"
:environment {:user {:username "storm"
:private-key-path "$YOUR_PRIVATE_KEY_PATH$"
:public-key-path "$YOUR_PUBLIC_KEY_PATH$"}
:aws-user-id "$YOUR_USER_ID$"}
:identity "$YOUR_AWS_ACCESS_KEY$"
:credential "$YOUR_AWD_ACCESS_KEY_SECRET$"
:jclouds.regions "$YOUR_AWS_REGION$"
}
})