# ES embedded nodes in different data center

**URL:** https://discuss.elastic.co/t/es-embedded-nodes-in-different-data-center/26009
**Category:** Elasticsearch
**Created:** [July 21, 2015, 5:24pm UTC](https://discuss.elastic.co/t/es-embedded-nodes-in-different-data-center/26009 "2015-07-21T17:24:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dav\_deol](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@dav\_deol](https://discuss.elastic.co/u/dav_deol)
#### Post date: [July 21, 2015, 5:24pm UTC](https://discuss.elastic.co/t/es-embedded-nodes-in-different-data-center/26009/1 "2015-07-21T17:24:55Z")

</div>

We are using ES 1.5 as embedded data node within our  
product. The reason is so that we can ship and do deployment using a single  
package. Within in same cluster we can  
configure unicast by mentioning the hosts IP addresses. But if we deploy the ES node to two clusters and  
these clusters are in different data centers then what is the best and possible  
option for them to communicate and join a one Elastic Search Cluster?

Thanks  
Dav

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 23, 2015, 6:58am UTC](https://discuss.elastic.co/t/es-embedded-nodes-in-different-data-center/26009/2 "2015-07-23T06:58:15Z")

</div>

We do not recommend this as the links between DCs cannot be guaranteed to be reliable enough to maintain a healthy cluster.

---

<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 5, 2017, 11:59pm UTC](https://discuss.elastic.co/t/es-embedded-nodes-in-different-data-center/26009/3 "2017-07-05T23:59:42Z")

</div>


