# ec2 discovery

**URL:** <https://discuss.elastic.co/t/ec2-discovery/15377>\
**Category:** Elasticsearch\
**Created:** [January 23, 2014, 8:43am UTC](https://discuss.elastic.co/t/ec2-discovery/15377 "2014-01-23T08:43:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barak\_Yaish](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@Barak\_Yaish](https://discuss.elastic.co/u/Barak_Yaish)\
**Post date:** [January 23, 2014, 8:43am UTC](https://discuss.elastic.co/t/ec2-discovery/15377/1 "2014-01-23T08:43:36Z")

</div>

Hi,

I've 3 nodes on ec2, each of them run 0.90.9. With default config, none of  
them discover each other. Now I want 2 of them to form a cluster, so I  
installed on those 2 nodes aws-cloud plugin, changed the related  
configuration and restarted. The 2 nodes indeed discovered each other as  
expected, but also the 3rd node... Only after changing the cluster name of  
that 3rd node, it left the cluster. Is it OK that node without aws-cloud  
plugin got discovered by the others?

Thanks!

--  
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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f4cf931c-b492-4333-8454-29013c557213%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f4cf931c-b492-4333-8454-29013c557213%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Norberto\_Meijome](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@Norberto\_Meijome](https://discuss.elastic.co/u/Norberto_Meijome)\
**Post date:** [January 23, 2014, 10:09am UTC](https://discuss.elastic.co/t/ec2-discovery/15377/2 "2014-01-23T10:09:29Z")

</div>

As I understand it, the ec2 plugin simply does ec2 API calls to list  
instances, filtered as per your config. It plays no actual part in the  
connectivity or clustering part - just discovery.  
So yes it makes sense what you saw.  
On 23/01/2014 7:43 PM, "barak" [barak.yaish@gmail.com](mailto:barak.yaish@gmail.com) wrote:

> Hi,
> 
> I've 3 nodes on ec2, each of them run 0.90.9. With default config, none of  
> them discover each other. Now I want 2 of them to form a cluster, so I  
> installed on those 2 nodes aws-cloud plugin, changed the related  
> configuration and restarted. The 2 nodes indeed discovered each other as  
> expected, but also the 3rd node... Only after changing the cluster name of  
> that 3rd node, it left the cluster. Is it OK that node without aws-cloud  
> plugin got discovered by the others?
> 
> Thanks!
> 
> --  
> 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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/f4cf931c-b492-4333-8454-29013c557213%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f4cf931c-b492-4333-8454-29013c557213%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CACj2-4JFoXitTDSFiNrvLCBf1ycjpg4U0-9YJ-gsFp5Gn%2BvCwg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CACj2-4JFoXitTDSFiNrvLCBf1ycjpg4U0-9YJ-gsFp5Gn%2BvCwg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:55am UTC](https://discuss.elastic.co/t/ec2-discovery/15377/3 "2017-07-06T01:55:10Z")

</div>


