# Kibana and AWS Ec2

**URL:** <https://discuss.elastic.co/t/kibana-and-aws-ec2/81271>\
**Category:** Kibana\
**Created:** [April 5, 2017, 8:24am UTC](https://discuss.elastic.co/t/kibana-and-aws-ec2/81271 "2017-04-05T08:24:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivivomar](https://avatars.discourse-cdn.com/v4/letter/i/3e96dc/32.png) [@ivivomar](https://discuss.elastic.co/u/ivivomar)\
**Post date:** [April 5, 2017, 8:24am UTC](https://discuss.elastic.co/t/kibana-and-aws-ec2/81271/1 "2017-04-05T08:24:44Z")

</div>

I am new in this... I am using a AWS Ec-2 and I have installed Elasticsearch and Kibana in it.  
In the configuration of Kibana I have modified the server.host parameter to use the ec2 ip in order to allow remote access to Kibana.  
I would like to know how I have to exactly set Kibana settings (and other configuration if needed) in order to access to the ec2-ip:5601 port to manage Kibana portal from another computer.  
Tank you!

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [April 5, 2017, 11:10pm UTC](https://discuss.elastic.co/t/kibana-and-aws-ec2/81271/2 "2017-04-05T23:10:06Z")

</div>

Trying setting `server.host` to `0.0.0.0`. Make sure you are trying to access it using the public IP/hostname of the EC2 machine.

---

<div class="post-metadata">

**Author:** ![ivivomar](https://avatars.discourse-cdn.com/v4/letter/i/3e96dc/32.png) [@ivivomar](https://discuss.elastic.co/u/ivivomar)\
**Post date:** [April 6, 2017, 6:54am UTC](https://discuss.elastic.co/t/kibana-and-aws-ec2/81271/3 "2017-04-06T06:54:28Z")

</div>

I am using MobaXterm to access to the EC2 machine. The public IP is the one I use to access to the machine using MobaXterm? if not... which is the public IP or where can I find it?  
And... to access to Kibana once I have set server.host to 0.0.0.0 , Should I look for http://public\_IP:5601 in the browser?  
Thank you !

---

<div class="post-metadata">

**Author:** ![ivivomar](https://avatars.discourse-cdn.com/v4/letter/i/3e96dc/32.png) [@ivivomar](https://discuss.elastic.co/u/ivivomar)\
**Post date:** [April 6, 2017, 7:46am UTC](https://discuss.elastic.co/t/kibana-and-aws-ec2/81271/4 "2017-04-06T07:46:17Z")

</div>

I used the 0.0.0.0 server-host and I had to fix the hostname of the ec2 machine. The problem was in the host name.  
I modified the file hosts doing sudo nano hosts and I set a custom hostname.  
I could start kibana portal Public\_IP:5601

Thank you !

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [April 6, 2017, 4:37pm UTC](https://discuss.elastic.co/t/kibana-and-aws-ec2/81271/5 "2017-04-06T16:37:16Z")

</div>

Good to hear you figured it out.

---

<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:** [May 4, 2017, 4:37pm UTC](https://discuss.elastic.co/t/kibana-and-aws-ec2/81271/6 "2017-05-04T16:37:19Z")

</div>

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