You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by Anuradha Weeraman <aw...@gmail.com> on 2015/02/20 04:28:17 UTC

Setting up cluster on EC2

Hi

Does anybody have any resources or pointers to setting up a Usergrid
cluster on EC2 with any recommendations and gotchas?

Much appreciated.

Anuradha

Re: Setting up cluster on EC2

Posted by Dave <sn...@gmail.com>.
In the branch "two-dot-o" you will find a directory named "awscluster" and
in there is an AWS Cloud Formation template that you can use to launch a
complete Usergrid 2.0 cluster on AWS with however many Tomcat, Cassandra
and ElasticSearch instances as you want.  The README is here:


https://github.com/snoopdave/incubator-usergrid/tree/two-dot-o/stack/awscluster

I've been using the scripts recently to create clusters for testing. It
takes about 10 minutes to start a 3 Tomcat, 6 Cassandra and 6 ElasticSearch
instance cluster.

It would not be difficult to modify the scripts to run Usergrid 1.0
instead, e.g. you could remove the ElasticSearch instances from the
template as 1.0 does not require ElasticSearch.

- Dave


On Thu, Feb 19, 2015 at 10:28 PM, Anuradha Weeraman <aw...@gmail.com>
wrote:

> Hi
>
> Does anybody have any resources or pointers to setting up a Usergrid
> cluster on EC2 with any recommendations and gotchas?
>
> Much appreciated.
>
> Anuradha
>