# How to Set up a cluster for high availability

**URL:** <https://discuss.elastic.co/t/how-to-set-up-a-cluster-for-high-availability/237978>\
**Category:** Elasticsearch\
**Created:** [June 21, 2020, 9:00pm UTC](https://discuss.elastic.co/t/how-to-set-up-a-cluster-for-high-availability/237978 "2020-06-21T21:00:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emreorucoglu](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@emreorucoglu](https://discuss.elastic.co/u/emreorucoglu)\
**Post date:** [June 21, 2020, 9:00pm UTC](https://discuss.elastic.co/t/how-to-set-up-a-cluster-for-high-availability/237978/1 "2020-06-21T21:00:46Z")

</div>

Hello there,

I am trying to establish a remote cluster connection for high usability between two remote machines. However, although I can access the Elastic Search port, I cannot connect to the remote cluster. Can you help me on how to do with sample?

---

<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:** [June 23, 2020, 10:48pm UTC](https://discuss.elastic.co/t/how-to-set-up-a-cluster-for-high-availability/237978/2 "2020-06-23T22:48:13Z")

</div>

Welcome to our community! 😃

> [@emreorucoglu](#):
>
> I am trying to establish a remote cluster connection for high usability between two remote machines

We do not recommend that as Elasticsearch can be sensitive to latency, and disconnects between nodes can cause problems with HA.

---

<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 21, 2020, 10:48pm UTC](https://discuss.elastic.co/t/how-to-set-up-a-cluster-for-high-availability/237978/3 "2020-07-21T22:48:16Z")

</div>

Closed on July 21, 2020, 10:48pm UTC

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