# Running single instance of Elasticsearch in production

**URL:** <https://discuss.elastic.co/t/running-single-instance-of-elasticsearch-in-production/35360>\
**Category:** Elasticsearch\
**Created:** [November 23, 2015, 8:49pm UTC](https://discuss.elastic.co/t/running-single-instance-of-elasticsearch-in-production/35360 "2015-11-23T20:49:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Den](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@Den](https://discuss.elastic.co/u/Den)\
**Post date:** [November 23, 2015, 8:49pm UTC](https://discuss.elastic.co/t/running-single-instance-of-elasticsearch-in-production/35360/1 "2015-11-23T20:49:07Z")

</div>

a couple of question related to production configuration:  
a) We have lots of stuff on our box including Elasticsearch and we don't want it to bring down other systems, so we decided to list direct memory usage for Lucene, as I guess, with this parameter ES\_DIRECT\_SIZE=1g. It 1g of memory quite enough for 100 msg per second and data for the last 7 days?

b) We run single instance of elasticsearch 2.0 and we don't want it to cluster with other instances in the same network. I looked here:

> **[Elasticsearch unplugged - Networking changes in 2.0](https://www.elastic.co/blog/elasticsearch-unplugged)**
>
> You start Elasticsearch on your laptop. You issue a quick DELETE \* to clear out yesterday’s experiments. Then you notice the plaintive cries issuing from the mouths of your developer colleagues and yo...

"Elasticsearch 2.0 takes a different approach. Multicast has been removed (although it is still provided as a plugin for now). Instead, and only when bound to localhost, Elasticsearch will use unicast to contact the first 5 ports in the transport.tcp.port range, which defaults to 9300-9400."

now I'm confused: I bind elasticsearch instance in production to localhost with "network.host: localhost" parameter. does this say that my instance can join a cluster? how to prevent this??

---

<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:** [November 23, 2015, 10:02pm UTC](https://discuss.elastic.co/t/running-single-instance-of-elasticsearch-in-production/35360/2 "2015-11-23T22:02:25Z")

</div>

I wouldn't recommend running ES with any less that 2GB of heap, even for dev.

If you have bound to localhost, then only other instances also running on that same host machine also running on localhost with the same clustername and the zen discovery list on both nodes for them to join together.  
So I think you will be ok in that respect.

---

<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:36pm UTC](https://discuss.elastic.co/t/running-single-instance-of-elasticsearch-in-production/35360/3 "2017-07-05T23:36:26Z")

</div>


