# Serverless needs On premise Hosting

**URL:** <https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012>\
**Category:** Serverless Framework\
**Created:** [December 27, 2016, 3:36pm UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012 "2016-12-27T15:36:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuashe](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kuashe](https://forum.serverless.com/u/kuashe)\
**Post date:** [December 27, 2016, 3:36pm UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/1 "2016-12-27T15:36:30Z")

</div>

I recently started studying serverless.

The problem with this technology is that **you can’t host it in a private cloud or your own server**

In my opinion the framework should feature an on premise server that simulate almost all the features offered by lambda and API Gateway.

Some companies have very important privacy need , therefore this should really be considered.

---

<div class="post-metadata">

**Author:** ![DavidWells](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/davidwells/32/201_2.png) [@DavidWells](https://forum.serverless.com/u/DavidWells)\
**Post date:** [December 27, 2016, 6:41pm UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/2 "2016-12-27T18:41:20Z")

</div>

Hi @kuashe,

Have you seen [https://developer.ibm.com/openwhisk/](https://developer.ibm.com/openwhisk/) ?

It’s the IBM FAAS compute service that can be hosted on prem.

I’d imagine other providers are working on on-premise solutions as well as the entreprise needs this =)

---

<div class="post-metadata">

**Author:** ![kuashe](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kuashe](https://forum.serverless.com/u/kuashe)\
**Post date:** [December 27, 2016, 8:23pm UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/3 "2016-12-27T20:23:04Z")

</div>

Hey @DavidWells, thanks a lot for answering.

I heard of IBM solution, I can’t seriously consider IBM solution as they’re product are too often designed only for big companies and their community almost non-existent…

I think the Serverless community, (including myself), should work on a **simplified** Open Ssource implementation of the AWS Lambda + API Gateway to be able to deploy Serverless on premise as well on the cloud seamlessly.

---

<div class="post-metadata">

**Author:** ![rowanu](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/rowanu/32/75_2.png) [@rowanu](https://forum.serverless.com/u/rowanu)\
**Post date:** [December 27, 2016, 9:48pm UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/4 "2016-12-27T21:48:42Z")

</div>

I’m afraid that if something like this was simple, it would’ve been done already.

The reality is that setting up and maintaining the infrastructure that goes in to a service like Lambda (or any of the other public cloud providers) is **hard** , which is why it’s only been done successfully by dedicated IaaS companies, and not yet by OSS.

I’m sure we’ll get there eventually, but at the moment it’s a ways off. There are much bigger (lower-level) problems that need to be more completely solved before an application framework is the biggest issue.

Serverless - with it’s plugin-based architecture - will be able to run on such a stack relatively easily _when it exists_.

---

<div class="post-metadata">

**Author:** ![kuashe](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kuashe](https://forum.serverless.com/u/kuashe)\
**Post date:** [December 28, 2016, 9:51am UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/5 "2016-12-28T09:51:32Z")

</div>

@rowanu

To precise my point here, replicating exactly the same architecture as AWS is impossible.

Yet doing a **simplified** , **rough** and **stable** replication of the Lambda + API Gateway is doable in a few weeks .

Sure FaaS is likely to be only done by Iaas companies, therefore a simplified and limited implementation of the technology should be achieved with a very common stack that most developpers are familliar with such as express.

It won’t have the same performance as AWS and it wont be perfect, but it will allow for seamless deployement , eventually after a few versions this tech will have improve.

---

<div class="post-metadata">

**Author:** ![rowanu](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/rowanu/32/75_2.png) [@rowanu](https://forum.serverless.com/u/rowanu)\
**Post date:** [December 29, 2016, 1:49am UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/6 "2016-12-29T01:49:55Z")

</div>

> [@kuashe](#):
>
> Yet doing a simplified, rough and stable replication of the Lambda + API Gateway is doable in a few weeks .

So you’re volunteering? 😜

---

<div class="post-metadata">

**Author:** ![kuashe](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kuashe](https://forum.serverless.com/u/kuashe)\
**Post date:** [December 29, 2016, 9:15am UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/7 "2016-12-29T09:15:48Z")

</div>

Of course 😊 ! I’ve already started prototyping the tech !

To be honest i was thinking about maintaining the repo myself with help of people who wants to as i really really need serverless on premise .

But I came to the forum to see if other people are interrested in it and how we should organize ?

I should just start the repo and see how things goes .

---

<div class="post-metadata">

**Author:** ![bbilger](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bbilger/32/1066_2.png) [@bbilger](https://forum.serverless.com/u/bbilger)\
**Post date:** [December 29, 2016, 10:28am UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/8 "2016-12-29T10:28:25Z")

</div>

Since you already started, what’s your tech stack?

BTW openwhisk recently became an Apache project so I’d really consider using it.

---

<div class="post-metadata">

**Author:** ![kuashe](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kuashe](https://forum.serverless.com/u/kuashe)\
**Post date:** [December 29, 2016, 11:21am UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/9 "2016-12-29T11:21:25Z")

</div>

As I said it will be express for the first version .

**Lot** of people know express , the framework is simple and straightforward.

Also nodejs is very simple.

The idea for this first version is just to get something that works with nodejs and python functions, later the tech should be improved with very high performance architecture.

---

<div class="post-metadata">

**Author:** ![kuashe](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kuashe](https://forum.serverless.com/u/kuashe)\
**Post date:** [December 29, 2016, 12:14pm UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/10 "2016-12-29T12:14:31Z")

</div>

@bbilger  
I wouldn’t bother with openwhisk , it’s made by a big company for big companies.

I want to move fast and not have to adapt myself to the whole IBM cloud which must be heavy as hell and the community around it is almost non-existent compared to AWS or Azure…

---

<div class="post-metadata">

**Author:** ![bbilger](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bbilger/32/1066_2.png) [@bbilger](https://forum.serverless.com/u/bbilger)\
**Post date:** [December 29, 2016, 4:59pm UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/11 "2016-12-29T16:59:51Z")

</div>

@kuashe  
Just a few things and my personal opinion:

1. If you are in need to host a serverless infrastructure yourself you are most likely a big company else you might be better off implementing your stuff in a traditional, non-serverless, way.
2. I wouldn’t doom openwhisk so fast. It probably just takes some time until a community will build around it.

Having said this, I don’t want to argue against your idea and I am curious to see some other OSS implementation or rather an alternative to openwhisk.

---

<div class="post-metadata">

**Author:** ![fruffin](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/fruffin/32/929_2.png) [@fruffin](https://forum.serverless.com/u/fruffin)\
**Post date:** [December 31, 2016, 9:34am UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/12 "2016-12-31T09:34:56Z")

</div>

I believe serverless support for Azure Functions is not too far away, and you can deploy that on your own servers if you want to. Otherwise, closer to lambda, the new AWS Greengrass product might be suitable for you: [https://aws.amazon.com/greengrass/](https://aws.amazon.com/greengrass/)

---

<div class="post-metadata">

**Author:** ![kuashe](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kuashe](https://forum.serverless.com/u/kuashe)\
**Post date:** [December 31, 2016, 11:58am UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/13 "2016-12-31T11:58:04Z")

</div>

Thanks a lot .

Basically that’s the idea i would like to have , a sort of blackbox that you just need to deploy and it does all the job for you.

Unfortunately, it’s made for IOT devices consumption . In the doc it’s designed for 3 Devices running the SDK , i don’t think it suited for company who wants to deploy serverless solution on premise for thousands of clients (Web / Mobile / Server ) as a true backend.

---

<div class="post-metadata">

**Author:** ![dsole](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@dsole](https://forum.serverless.com/u/dsole)\
**Post date:** [January 4, 2017, 11:50am UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/14 "2017-01-04T11:50:25Z")

</div>

Have you seen lambci’s docker image of the lambda environment ?

> **[lambci/docker-lambda](https://github.com/lambci/docker-lambda)**
>
> Docker images and test runners that replicate the live AWS Lambda environment - lambci/docker-lambda

  
It might be a step towards what you want to do

---

<div class="post-metadata">

**Author:** ![kuashe](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kuashe](https://forum.serverless.com/u/kuashe)\
**Post date:** [January 4, 2017, 12:08pm UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/15 "2017-01-04T12:08:15Z")

</div>

Yes indeed .

Needs and Http server but that’s the idea .

---

<div class="post-metadata">

**Author:** ![rowanu](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/rowanu/32/75_2.png) [@rowanu](https://forum.serverless.com/u/rowanu)\
**Post date:** [January 5, 2017, 1:20am UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/16 "2017-01-05T01:20:57Z")

</div>

There’s also an official AWS Linux Docker image, if you’re after a Lambda-like environment.

Just saw [fission](http://fission.io/), which sounds relevant.

---

<div class="post-metadata">

**Author:** ![kuashe](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kuashe](https://forum.serverless.com/u/kuashe)\
**Post date:** [January 5, 2017, 8:54am UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/17 "2017-01-05T08:54:10Z")

</div>

Fission looks very promising and serious.

The problem it’s too packed with Kubernet , what if i need to use docker ?

Should be decoupled from kubernet.

Will still write my own , otherwise that’s what i needed i think, the performance seemed very good.

---

<div class="post-metadata">

**Author:** ![soamvasani](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@soamvasani](https://forum.serverless.com/u/soamvasani)\
**Post date:** [January 12, 2017, 10:57pm UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/18 "2017-01-12T22:57:28Z")

</div>

Hey there @kuashe,  
I’m the author of Fission. We built it on Kubernetes because we it takes care of cluster management, scheduling, networking, and so on; we didn’t want to reinvent all that.  
Kubernetes is pretty easy to get up and running these days, even on dev laptops; but if it doesn’t work for you for some reason, I’d be very interested to learn more about your use case.

thanks!  
-soam

---

<div class="post-metadata">

**Author:** ![kuashe](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kuashe](https://forum.serverless.com/u/kuashe)\
**Post date:** [January 14, 2017, 11:03pm UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/19 "2017-01-14T23:03:28Z")

</div>

Hey @soamvasani . Thanks for reaching out .

My problem is very simple :

Let’s say i create a serverless application , maybe for some enterprise i’ll need to host it on site.

What if the client uses Docker Swarm (or something else) ? I’ll need to be dealing with kubernet myself…

My point here is that , the framework that “Emulate” serverless functions , has to be indepent from the infrastructure (Docker ,Rckt, Kubernet etc…)

Also the framework needs to emulate as much as possible functions from the differents provider seamlessly (Google , Azure , AWS…)

Otherwise Fission looks great !

---

<div class="post-metadata">

**Author:** ![bourgois](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bourgois/32/765_2.png) [@bourgois](https://forum.serverless.com/u/bourgois)\
**Post date:** [June 30, 2017, 3:22pm UTC](https://forum.serverless.com/t/serverless-needs-on-premise-hosting/1012/20 "2017-06-30T15:22:39Z")

</div>

Hi @soamvasani !  
Do you know if Fission will be supported by Serverless? Have you guys been discussing this?  
Looks like a promising solution 🙂
