# Can Elasticsearch 1.x Discover Clusters on an IP Range?

**URL:** <https://discuss.elastic.co/t/can-elasticsearch-1-x-discover-clusters-on-an-ip-range/111125>\
**Category:** Elasticsearch\
**Created:** [December 11, 2017, 3:08pm UTC](https://discuss.elastic.co/t/can-elasticsearch-1-x-discover-clusters-on-an-ip-range/111125 "2017-12-11T15:08:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Donglecow](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@Donglecow](https://discuss.elastic.co/u/Donglecow)\
**Post date:** [December 11, 2017, 3:08pm UTC](https://discuss.elastic.co/t/can-elasticsearch-1-x-discover-clusters-on-an-ip-range/111125/1 "2017-12-11T15:08:27Z")

</div>

0 down vote [favorite](https://stackoverflow.com/questions/47755309/can-elasticsearch-1-x-discover-clusters-on-an-ip-range#)

I have two Elasticsearch clusters set up on AWS using EC2 servers, sat behind a load balancer. I want to configure AWS to start up new instances when the load hits a certain threshold on the load balancer. Currently I have the Elasticsearch instances speaking to each other with the following config in `config/elasticsearch.yml`:

`discover.zen.ping.unicast.hosts: ["172.x.x.x","172.x.x.x"]`

Since the new instance will start up on an indeterminable private IP in the subnet, I was wondering if it was possible to point the config at an IP range so that new clusters could be discovered as they start up. Are there security implications to doing this?

If not, is there another way to achieve the same outcome? I am aware that Elasticsearch is meant to handle load balancing and scaling by itself, however this is part of a larger solution and specified in security specifications of my partner on the project.

---

<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:** [January 8, 2018, 3:08pm UTC](https://discuss.elastic.co/t/can-elasticsearch-1-x-discover-clusters-on-an-ip-range/111125/2 "2018-01-08T15:08:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
