# Load Balance Kibana4

**URL:** <https://discuss.elastic.co/t/load-balance-kibana4/1057>\
**Category:** Kibana\
**Created:** [May 21, 2015, 4:32am UTC](https://discuss.elastic.co/t/load-balance-kibana4/1057 "2015-05-21T04:32:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyle\_Hartigan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kyle_hartigan/32/44807_2.png) [@Kyle\_Hartigan](https://discuss.elastic.co/u/Kyle_Hartigan)\
**Post date:** [May 21, 2015, 4:32am UTC](https://discuss.elastic.co/t/load-balance-kibana4/1057/1 "2015-05-21T04:32:38Z")

</div>

Hello

I would like to loadbalance 2 kibana nodes, i am trying to see if this is possible, as i have been attempting to Load Balance two nodes in aws.

to give you a break down of what i have done so far

i have tried using a AWS ELB to point port 80 to port 5601

i have also used nginx to be a reverse proxy infront of kibana and then use the AWS Loadbalancer to point to that

but i can seem to get traffic to get to kibana when i use the AWS Loadbalancer,

so at the moment i am trying to ascertain if this is even possible to do and if it is, has someone done it in a better way then what i have done ?

---

<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:** [May 21, 2015, 7:42am UTC](https://discuss.elastic.co/t/load-balance-kibana4/1057/2 "2015-05-21T07:42:58Z")

</div>

It should be possible, yes.

Can you elaborate on what the problem is?

---

<div class="post-metadata">

**Author:** ![Kyle\_Hartigan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kyle_hartigan/32/44807_2.png) [@Kyle\_Hartigan](https://discuss.elastic.co/u/Kyle_Hartigan)\
**Post date:** [May 26, 2015, 12:42am UTC](https://discuss.elastic.co/t/load-balance-kibana4/1057/3 "2015-05-26T00:42:00Z")

</div>

Hey Mark

I am trying to load balance 2 Kibana Instances over two AWS EC2 Instances

Now what i have done i configured Apache2 on the servers to Reverse Proxy kibana ( this is to help keep it secure as i will be adding password protection once i get this to work )

here is the reverse proxy config

\<VirtualHost \*:80\>  
ServerName [kibana.mysite.com](http://kibana.mysite.com)  
ServerAdmin [admin@mysite.com](mailto:admin@mysite.com)

# 

# Proxy

# 

ProxyRequests Off  
ProxyPass / [http://127.0.0.1:5601](http://127.0.0.1:5601)  
ProxyPassReverse / [http://127.0.0.1:5601](http://127.0.0.1:5601)  
RewriteEngine on  
RewriteCond %{DOCUMENT\_ROOT}/%{REQUEST\_FILENAME} !-f  
RewriteRule .\* [http://127.0.0.1:5601](http://127.0.0.1:5601)%{REQUEST\_URI} [P,QSA]

```
    ErrorLog ${APACHE_LOG_DIR}/kibana_error.log
    LogLevel warn
    CustomLog ${APACHE_LOG_DIR}/kibana_access.log combined

```

if i hit the EC2 Instances directly it works, and i can use kibana

but if i put a AWS load balancer in front of them i just get a blank page, and it eventually give me a message saying ERR\_EMPTY\_RESPONSE

i know the issue is now between AWS ELB and Apache2 i just cant work out what

---

<div class="post-metadata">

**Author:** ![Kyle\_Hartigan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kyle_hartigan/32/44807_2.png) [@Kyle\_Hartigan](https://discuss.elastic.co/u/Kyle_Hartigan)\
**Post date:** [June 11, 2015, 10:17pm UTC](https://discuss.elastic.co/t/load-balance-kibana4/1057/4 "2015-06-11T22:17:04Z")

</div>

Sorry for the way late reply, but i was away for a while, i found out that  
our route table in AWS had some changes which just where not letting  
traffic from the load balancer through

---

<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 6, 2017, 2:18pm UTC](https://discuss.elastic.co/t/load-balance-kibana4/1057/5 "2017-07-06T14:18:15Z")

</div>


