# Can i install in elasticsearch and kibana both on same machine

**URL:** <https://discuss.elastic.co/t/can-i-install-in-elasticsearch-and-kibana-both-on-same-machine/198351>\
**Category:** Elasticsearch\
**Created:** [September 6, 2019, 5:55am UTC](https://discuss.elastic.co/t/can-i-install-in-elasticsearch-and-kibana-both-on-same-machine/198351 "2019-09-06T05:55:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayush\_Verma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_verma/32/46709_2.png) [@Ayush\_Verma](https://discuss.elastic.co/u/Ayush_Verma)\
**Post date:** [September 6, 2019, 5:55am UTC](https://discuss.elastic.co/t/can-i-install-in-elasticsearch-and-kibana-both-on-same-machine/198351/1 "2019-09-06T05:55:40Z")

</div>

I have 4 nodes cluster in elasticsearch ie. 2 master only nodes and 2 data only nodes and all nodes are installed in google cloud instance machine type is **g1-small (1 vCPU, 1.7 GB memory)** for all four nodes, now i have some question

1. can i install kibana in same node/machine just say node-1 i.e master only node ?
2. Is it really important to install java for elasticsearch ? because i didn't install java for any node but they still connected.

**NOTE:** however i tried to install kibana in the same machine/node-1( master only node) but it makes system very slow, even hitting any command is became hard for me.

Thanks.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 6, 2019, 6:08am UTC](https://discuss.elastic.co/t/can-i-install-in-elasticsearch-and-kibana-both-on-same-machine/198351/2 "2019-09-06T06:08:19Z")

</div>

1. In general those are pretty small nodes / specs and I would definitely not recommend installing Kibana on the master node. How did you arrive at those node sizes?

2. Elasticsearch comes with Open JDK bundled see [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html#jvm-version)

---

<div class="post-metadata">

**Author:** ![Ayush\_Verma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_verma/32/46709_2.png) [@Ayush\_Verma](https://discuss.elastic.co/u/Ayush_Verma)\
**Post date:** [September 6, 2019, 6:11am UTC](https://discuss.elastic.co/t/can-i-install-in-elasticsearch-and-kibana-both-on-same-machine/198351/3 "2019-09-06T06:11:11Z")

</div>

Thanks for replying.  
Well i am testing with elasticsearch and kibana that's why i choose small node size, so can you recommend what can i do with kibana should i create new machine/instance for kibana ?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 6, 2019, 6:19am UTC](https://discuss.elastic.co/t/can-i-install-in-elasticsearch-and-kibana-both-on-same-machine/198351/4 "2019-09-06T06:19:54Z")

</div>

Yes I would put it on its own gcp instance and configure Kibana to point at the 2 data nodes using

`elasticsearch.hosts: ["http://datanode1ip:9200" , "http://datanode2ip:9200"]`

See [here](https://www.elastic.co/guide/en/kibana/current/settings.html)

---

<div class="post-metadata">

**Author:** ![Ayush\_Verma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_verma/32/46709_2.png) [@Ayush\_Verma](https://discuss.elastic.co/u/Ayush_Verma)\
**Post date:** [September 6, 2019, 6:32am UTC](https://discuss.elastic.co/t/can-i-install-in-elasticsearch-and-kibana-both-on-same-machine/198351/5 "2019-09-06T06:32:12Z")

</div>

Ok thank you i will try this.

---

<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:** [October 4, 2019, 6:45am UTC](https://discuss.elastic.co/t/can-i-install-in-elasticsearch-and-kibana-both-on-same-machine/198351/6 "2019-10-04T06:45:50Z")

</div>

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