# Single node cluster in 5.2.0

**URL:** <https://discuss.elastic.co/t/single-node-cluster-in-5-2-0/153775>\
**Category:** Elasticsearch\
**Created:** [October 24, 2018, 11:03am UTC](https://discuss.elastic.co/t/single-node-cluster-in-5-2-0/153775 "2018-10-24T11:03:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![juiip](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@juiip](https://discuss.elastic.co/u/juiip)\
**Post date:** [October 24, 2018, 11:03am UTC](https://discuss.elastic.co/t/single-node-cluster-in-5-2-0/153775/1 "2018-10-24T11:03:40Z")

</div>

Hi, is there a setting I can implement within my 5.2.0 cluster to make it have just a single node? I am aware of discovery-type: single-node but this is not available for version 5.2.0, is there a setting that has the same/a similar effect?

Thanks

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 24, 2018, 12:14pm UTC](https://discuss.elastic.co/t/single-node-cluster-in-5-2-0/153775/2 "2018-10-24T12:14:49Z")

</div>

I am not sure I understand the question. If you keep your cluster to a single node with the default configuration and bind it to localhost only for hte transport protocol, it will be a single node as no other node can join (except via localhost).

Would that work for you?

---

<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:** [November 21, 2018, 12:14pm UTC](https://discuss.elastic.co/t/single-node-cluster-in-5-2-0/153775/3 "2018-11-21T12:14:50Z")

</div>

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