Re:Show HN: OpenFaaS - Serverless on your terms
by superasn on Monday September 25, 2017 @02:25AM
(#15328439)
I've been trying to run PHP functions on Aws lambda for sometime. The solutions provided so far[1] are really complicated and serverless framework doesn't have amy inbuilt templates for PHP.
Anyway though I totally don't get this (using a mobile phone will watch the video when I get home) but the thing that really got my eye was I can write in any programming language. So can this help me accomplish what I'm trying to do?
Re:Show HN: OpenFaaS - Serverless on your terms
by superasn on Tuesday September 26, 2017 @03:52PM
(#15341981)
Thanks for the reply. It helped me to get a basic understanding of Openfaas. The only thing the article didn't mention is how to move the docker image to aws lambda and invoke it via aws. sorry I'm a total noob but i will try to find out more.
Re:Show HN: OpenFaaS - Serverless on your terms
by alexellisuk on Monday September 25, 2017 @05:26AM
(#15328997)
We actually have a serverless function running right now that takes GitHub Star events and posts your avatar as a Polaroid over here -> https://twitter.com/alexellisuk_bot
Re:Show HN: OpenFaaS - Serverless on your terms
by tfjaeckel on Monday September 25, 2017 @07:03PM
(#15334891)
We're working mostly with the Serverless framework. Cool to see you're working on a plugin for that. Will give it a spin once that's ready. Any timeline for that?
Re:Show HN: OpenFaaS - Serverless on your terms
by alexellisuk on Tuesday September 26, 2017 @04:01AM
(#15336975)
We have a CLI [1] for OpenFaaS which gives a better experience than the Serverless Inc. Framework format along with more native integrations. Example stack.yml file [3].
The integration with serverless framework is functioning and if you'd like to be involved with testing ping me for a Slack invite. I'll connect you to the contributor who is leading it.
Anyway though I totally don't get this (using a mobile phone will watch the video when I get home) but the thing that really got my eye was I can write in any programming language. So can this help me accomplish what I'm trying to do?
[1] https://aws.amazon.com/blogs/compute/scripting-languages-for...
I can intro you to the guy who wrote the PHP template.
If anyone would like to join our Slack Community - ping an email to me at [email protected].
Here's the code including stack.yml that shows how the functions are built/deployed - https://github.com/alexellis/faas-twitter-fanclub
All the people who have been staring the openfaas/faas repo ove the last few days have triggered it and are on the feed.
The integration with serverless framework is functioning and if you'd like to be involved with testing ping me for a Slack invite. I'll connect you to the contributor who is leading it.
[1] https://github.com/openfaas/faas-cli , https://blog.alexellis.io/quickstart-openfaas-cli/
[2] https://github.com/openfaas/serverless-faas
[3] https://github.com/alexellis/faas-twitter-fanclub/blob/maste...
Something that works via libvirt to allow multiple backends would honestly be a much nicer option.
We're also looking at ACI integration and I believe GKE will work out the box with our native Kubernetes back-end
The things you mentioned are all just services providing hosted docker.
Libvirt would allow someone to run this with practically any "virtualisation-like" system.
I believe all the Open Source projects are using Docker at some level via K8s or closer to the metal with runc.