# Start container on demand from Load balancer

**URL:** <https://forums.suse.com/t/start-container-on-demand-from-load-balancer/7905>\
**Category:** Rancher 1.x\
**Created:** [November 27, 2017, 12:23pm UTC](https://forums.suse.com/t/start-container-on-demand-from-load-balancer/7905 "2017-11-27T12:23:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephane\_Botta](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@Stephane\_Botta](https://forums.suse.com/u/Stephane_Botta)\
**Post date:** [November 27, 2017, 12:23pm UTC](https://forums.suse.com/t/start-container-on-demand-from-load-balancer/7905/1 "2017-11-27T12:23:44Z")

</div>

Hi,

I would to know if it s possible to have somes containers “sleeping” and activate them from the load balancer if a specific url is requested. When i say sleeping this is for started once containers

Or maybe i m wrong how to do this.

thanks for your help

Regards  
Stephane

---

<div class="post-metadata">

**Author:** ![shubbard343](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@shubbard343](https://forums.suse.com/u/shubbard343)\
**Post date:** [November 28, 2017, 5:35pm UTC](https://forums.suse.com/t/start-container-on-demand-from-load-balancer/7905/2 "2017-11-28T17:35:01Z")

</div>

I think what you are looking for is what is known as Function-as-a-Service (FaaS), server-less, or lambda. I have not tried it myself, but I believe this article is what you are looking for.

> **[Running Serverless Applications on Rancher | SUSE Communities](https://www.suse.com/c/rancher_blog/running-serverless-applications-on-rancher/)**
>
> One of the more novel concepts in systems design lately has been the notion of serverless architectures. It is no doubt a bit of hyperbole as there are certainly servers involved, but it does mean we get to think about servers differently. The...

---

<div class="post-metadata">

**Author:** ![Stephane\_Botta](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@Stephane\_Botta](https://forums.suse.com/u/Stephane_Botta)\
**Post date:** [November 28, 2017, 5:55pm UTC](https://forums.suse.com/t/start-container-on-demand-from-load-balancer/7905/3 "2017-11-28T17:55:02Z")

</div>

Thank you for the answer.  
Yes i saw the serverless and i think it s a good concept.  
But i would only launch a script for this, not recreate all the infra 🙂  
I wlll add a little http server to listen for this time, and digg into Fass in the next month.

Thks again for your time.
