Storm cluster on EC2 with vagrant provider

The other day, I released storm deployment tool for QA and development, storm-devenv. I update this tool to create cluster on both EC2 and VirtualBox. VirtualBox of course provides us enough power to check my storm patches is valid or not. But there are some cased when I want to check it on the environment which is more close to production’s one. So it is EC2 for us. storm-devenv now supports EC2 deployment as on VirtualBox.

How to use

You have to install these packages in advance.

Deployment on VirtualBox

As described in this post, you have to build your own storm code because storm-denenv is developed for checking and testing your new feature written for storm itself. After all packages are setup, the only rest of you task is below one command.

$ export VAGRANT_CWD=./providers/virtualbox && vagrant up

Deployment on EC2

In the case of EC2, there is some information you have to obtain in advance. This is the list which you have to set in your environment variables.

Once you finished setup these values in your env, all you have to do is one command.

$ export VAGRANT_CWD=./providers/aws && vagrant up

You can see five instances was launched in your selected region Although I think it enables us to hack storm code itself more easily, there are some obstacles to make it better tool as possible. So if you have any questions or find any issues please let me know here. Patches are always welcome! I hope you can enjoy hacking storm itself. Thank you.