News for hackers. Stuff that matters.

Ask HN: Self-Hosted Serverless Solution?

I'm currently using AWS Lambda as a serverless solution for some of my IoT devices and I wanted to move all those functions on a server in my LAN.

Which is the best solution for this?

( 5 comments | 5 points | on HN )
Re:Ask HN: Self-Hosted Serverless Solution? by f0e4c2f7 on Tuesday January 04, 2022 @11:23AM (#29796530)
You can run kubeless on top of a self hosted Kubernetes cluster:

https://kubeless.io/

Edit: googling it looks like kubeless is actually no longer under active development.

There is also https://github.com/openfaas/faas

Re:Ask HN: Self-Hosted Serverless Solution? by 369548684892826 on Tuesday January 04, 2022 @09:02AM (#29794807)
I don't think anyone can answer this without knowing how you're currently calling your lambda functions, and which trigger types you're using.
Re:Ask HN: Self-Hosted Serverless Solution? by mattrighetti on Tuesday January 04, 2022 @09:13AM (#29794914)
I’m using AWS API Gateway to trigger lambdas but I’m open to alternatives.

Basically I’m just calling a REST endpoint and the lambda responds accordingly.

Re:Ask HN: Self-Hosted Serverless Solution? by 369548684892826 on Tuesday January 04, 2022 @10:05AM (#29795503)
Sounds like you just want to write an API and host it locally?
Re:Ask HN: Self-Hosted Serverless Solution? by tossaway9000 on Tuesday January 04, 2022 @10:15AM (#29795621)
> a serverless solution

> I wanted to move all those functions on a server in my LAN.

Not so "serverless" after all eh?