They are sharing same security group name and are deployed in same region? If unicast does not work using private IP, aws plugin won't work either.
Can you from one node run curl http://secondnodeip:9200/ Same from second node. -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs Le 21 mars 2014 à 08:08, Geet Gangwar <[email protected]> a écrit : Hi I am also facing same issue of no dicovery.ec2 logs getting generated for elasticsearch 1.0.1 and cloud-aws plugin 2.0.0.RC I tried the corrected version of setting given: cloud: aws: access_key: XXXXXX secret_key: XXXXXX region: ap-southeast-1 discovery: type: ec2 groups: <security Group name> Difference is the region. I have created two nodes(one is master node with node.data = false and other one is just a data node with node.master = false) Even when I try for unicast and specify hard coded private ip then also the second node does not joins the cluster. I installed head plugin on the master node which is working fine and I m able to view one node in the browser. Please guide me on what I am doing wrong. > On Thursday, March 20, 2014 3:51:36 AM UTC+5:30, Daniel F. wrote: > 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 | @elasticsearchfr >> >> >>> Le 19 mars 2014 à 19:31:03, Daniel F. ([email protected]) 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/elasticsearch/5f49602f-9db0-4e68-9037-310a87064f1e%40googlegroups.com. >>> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5d40ca9c-ea3b-4d21-84a1-3f6ef907a80e%40googlegroups.com. 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/E4CABFBD-9F00-4AB0-9CC7-F06D05B52C9F%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
