ec2 discovery


(Slava G ) #1

Hi,
I've configured aws ec2 instance as specified in the guide.
But when I'm running bin/elasticsearch -f the output doesn't shows me that
ec2 discovery is actually working and output is next :

[2012-01-15 21:39:52,974][INFO ][node ] [Braddock,
Elizabeth "Betsy"] {0.18.7}[9458]: initializing ...
[2012-01-15 21:39:52,991][INFO ][plugins ] [Braddock,
Elizabeth "Betsy"] loaded [cloud-aws], sites []
[2012-01-15 21:39:58,725][INFO ][node ] [Braddock,
Elizabeth "Betsy"] {0.18.7}[9458]: initialized
[2012-01-15 21:39:58,726][INFO ][node ] [Braddock,
Elizabeth "Betsy"] {0.18.7}[9458]: starting ...
[2012-01-15 21:39:59,012][INFO ][transport ] [Braddock,
Elizabeth "Betsy"] bound_address {inet[/0:0:0:0:0:0:0:0:9300]},
publish_address {inet[/10.190.215.140:9300 http://10.190.209.136:9300/]}
[2012-01-15 21:40:07,540][INFO ][cluster.service ] [Braddock,
Elizabeth "Betsy"] new_master [Braddock, Elizabeth "Betsy"][
_kMa9JJkQcO2RSEFWJmN7y]
[inet[/10.190.209.136:9300]], reason: zen-disco-join (elected_as_master)
[2012-01-15 21:40:07,547][INFO ][discovery ] [Braddock,
Elizabeth "Betsy"] indexcluster/_kMa9JJkQcO2RSEFWJmN7y
[2012-01-15 21:40:07,608][INFO ][http ] [Braddock,
Elizabeth "Betsy"] bound_address {inet[/0:0:0:0:0:0:0:0:9200]},
publish_address {inet[/10.190.215.140:9200]}
[2012-01-15 21:40:07,609][INFO ][node ] [Braddock,
Elizabeth "Betsy"] {0.18.7}[9458]: started
[2012-01-15 21:40:07,702][INFO ][gateway ] [Braddock,
Elizabeth "Betsy"] recovered [0] indices into cluster_state

on the descovery output I don't see ec2 "annotation" at all, what could be
wrong with my configuration ? I did exactly the next , but i didn't
configure the gateway (yet)

cluster.name: es-demo
cloud:
aws:
access_key:
secret_key:
discovery:
type: ec2


(system) #2