# Elasticsearch / Kibana: How can they run 24/7?

**URL:** <https://discuss.elastic.co/t/elasticsearch-kibana-how-can-they-run-24-7/235119>\
**Category:** Kibana\
**Created:** [June 1, 2020, 6:45am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-how-can-they-run-24-7/235119 "2020-06-01T06:45:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elisavet](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@elisavet](https://discuss.elastic.co/u/elisavet)\
**Post date:** [June 1, 2020, 6:45am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-how-can-they-run-24-7/235119/1 "2020-06-01T06:45:06Z")

</div>

Hi!

How can elasticsearch and kibana run 24/7?

Details:

- I am running the elk stack on a remote server on production mode.
- The installation was with .tar.gz.
- I start elasticsearch running the `bin/elasticsearch` command, but when I close my connection with the server the elasticsearch obviously stops working.

---

<div class="post-metadata">

**Author:** ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)\
**Post date:** [June 1, 2020, 10:08pm UTC](https://discuss.elastic.co/t/elasticsearch-kibana-how-can-they-run-24-7/235119/2 "2020-06-01T22:08:10Z")

</div>

Hello,

It will depend on your specific system, but you're likely going to want to run them both as services that start when the machine boots up:

- Here are [the relevant docs](https://www.elastic.co/guide/en/kibana/current/start-stop.html) for Kibana
- Here are [the relevant docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/starting-elasticsearch.html) for Elasticsearch

Regards,  
Aaron

---

<div class="post-metadata">

**Author:** ![elisavet](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@elisavet](https://discuss.elastic.co/u/elisavet)\
**Post date:** [June 11, 2020, 7:26am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-how-can-they-run-24-7/235119/3 "2020-06-11T07:26:53Z")

</div>

Hello,

Thank you for your answer.

Since I installed elasticsearch with tar.gz, according to the documentation I can only start it with the `bin/elasticsearch` command and not as services that start when the machine boots up.  
Have I understood correctly?

Elisavet

---

<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 9, 2020, 7:26am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-how-can-they-run-24-7/235119/4 "2020-07-09T07:26:53Z")

</div>

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