ES discovery in different Amazon EC2 geographic locations


(Cameron Moffett) #1

I have EC2 servers in both Singapore and Virginia. They all share the
same access/secret key. When EC2 discovery is run from my ES servers
in Singapore they seem to only find the single server running in
Virginia. The server in Virginia is not running ES.

The S3 gateway hosted in Singapore works.


(Shay Banon) #2

Have you tried to set the region in the config:
http://www.elasticsearch.org/guide/reference/modules/discovery/ec2.html.

What are you after, running a single cluster across those two data centers?
Its not recommended until elasticsearch will have built in support for multi
datacenter deployment.

Also, make sure you really need the s3 gateway, as it does come with an
overhead of having to continuously persist changes to s3).

On Wed, Sep 21, 2011 at 12:26 AM, Cameron Moffett moffcam@gmail.com wrote:

I have EC2 servers in both Singapore and Virginia. They all share the
same access/secret key. When EC2 discovery is run from my ES servers
in Singapore they seem to only find the single server running in
Virginia. The server in Virginia is not running ES.

The S3 gateway hosted in Singapore works.


(system) #3