Thanks David, You are right elasticsearch.yml had two errors: space before "discovery" and "region" should not be equal to availability zone "eu-west-1a" but " eu-west-1".
The working version is: discovery.zen.ping.multicast.enabled: false cloud: aws: access_key: XXXX secret_key: XXXX region: eu-west-1 discovery: type: ec2 groups: my-security-group Daniel On Wednesday, March 19, 2014 10:21:36 PM UTC+2, David Pilato wrote: > > I think your elasticsearch.yml is incorrect. > > Just saying because as far as I can see, ec2 discovery does not start > actually. > So, may be some space before cloud.type: ec2 is missing? > > > -- > *David Pilato* | *Technical Advocate* | *Elasticsearch.com* > @dadoonet <https://twitter.com/dadoonet> | > @elasticsearchfr<https://twitter.com/elasticsearchfr> > > > Le 19 mars 2014 à 19:31:03, Daniel F. (feins...@gmail.com <javascript:>) > a écrit: > > Yes, i am running elasticsearch as root. It is a test environment so I did > not tune it yet. > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elasticsearc...@googlegroups.com <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/5f49602f-9db0-4e68-9037-310a87064f1e%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/5f49602f-9db0-4e68-9037-310a87064f1e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d079915d-b1fb-4ca4-8634-3e35ab460d9a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.