# Adding load balancer on rancher Ui

**URL:** https://forums.suse.com/t/adding-load-balancer-on-rancher-ui/5626
**Category:** RancherOS
**Created:** [February 23, 2017, 6:10am UTC](https://forums.suse.com/t/adding-load-balancer-on-rancher-ui/5626 "2017-02-23T06:10:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nimms](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@Nimms](https://forums.suse.com/u/Nimms)
#### Post date: [February 23, 2017, 6:10am UTC](https://forums.suse.com/t/adding-load-balancer-on-rancher-ui/5626/1 "2017-02-23T06:10:09Z")

</div>

Hi,  
I have a rancher OS and from the rancher UI I want to run docker containers into 2 different host. First I added the hosts, then I added the stack and the run the two containers in two different hosts. If add 1 container I am able to access it , but if two I am not able to access it on browser. Then I ahose into added those two containers into a service alias.then I added then I added a loadbalancer to the alias. but I am not able to access my access my application through browser.  
can anyone help me on this?

---

<div class="post-metadata">

### Author: ![NarunasK](https://avatars.discourse-cdn.com/v4/letter/n/f07891/32.png) [@NarunasK](https://forums.suse.com/u/NarunasK)
#### Post date: [February 23, 2017, 2:34pm UTC](https://forums.suse.com/t/adding-load-balancer-on-rancher-ui/5626/2 "2017-02-23T14:34:58Z")

</div>

Simply create a _stack_, then create a _service_ in the _stack_, scale it as appropriate. Then go ahead and create _LB_ inside your _stack_. LB can be tied to the service or you can use selectors.

 ![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/7/7ace7067cfbecef8fa333d5211cf08021c59204c.png)
