# Embedded Elasticsearch 2.3

**URL:** <https://discuss.elastic.co/t/embedded-elasticsearch-2-3/53971>\
**Category:** Elasticsearch\
**Created:** [June 26, 2016, 4:17pm UTC](https://discuss.elastic.co/t/embedded-elasticsearch-2-3/53971 "2016-06-26T16:17:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajind\_Ruparathna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajind_ruparathna/32/10545_2.png) [@Rajind\_Ruparathna](https://discuss.elastic.co/u/Rajind_Ruparathna)\
**Post date:** [June 26, 2016, 4:17pm UTC](https://discuss.elastic.co/t/embedded-elasticsearch-2-3/53971/1 "2016-06-26T16:17:31Z")

</div>

Hi, I've seen in projects like elasticsearch-hadoop that they use an embedded elasticsearch server. So questions one is that, is it recommended to use elasticsearch embedded in production ?

Question two. When I start the embedded Node using version 2.3 it starts up and then exits. If i remember correctly in version 1.5 it stays started. So do I need to use something like an anti shutdown hook to keep the embedded server started in version 2.3 ?

Any help will be highly appreciated.

---

<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, 10:40pm UTC](https://discuss.elastic.co/t/embedded-elasticsearch-2-3/53971/2 "2017-07-05T22:40:25Z")

</div>


