The document discusses OpenFaaS, a serverless functions framework. It covers installing OpenFaaS, creating functions, autoscaling, and deploying functions on Kubernetes. It also summarizes why OpenFaaS was chosen over other serverless options and how to get involved in the community. The presentation includes a live demo of installing OpenFaaS and invoking functions.
How AI, OpenAI, and ChatGPT impact business and software.
Edward Wilde - Kubernetes and AWS Lambda Functions Made Simple
1. Edward Wilde - Core Contributor - @ewilde
Platform Architect, Form3
Kubernetes and AWS Lambda can play nicely
together
OpenInfraDays UK 2019
2. What we are going to cover?
• Installing OpenFaaS in 60s 📈
• Your first function
• Autoscaling
• K8s + Lambda = OpenFaaS experiment
• Live demo 🔥
• Get involved 👍
Tweet @openfaas 🤳 📸 @ewilde
3. OpenFaaS - Functions as a Service
• Started in Nov 2016
• Containers, Alexa, Swarm 🐳
• Production users 💻
• Bossie awards 🥇🥈
4. OpenFaaS - Functions as a Service
• Started in Nov 2016
• Containers, Alexa, Swarm 🐳
• Production users 💻
• Bossie awards 🥇🥈
5. OpenFaaS - Functions as a Service
• Started in Nov 2016
• Containers, Alexa, Swarm 🐳
• Production users 💻
• Bossie awards 🥇🥈
9. Templates for most popular languages*
* DigitalOcean Currents report https://do.co/2wjzUyR
10. Templates for most popular languages*
* DigitalOcean Currents report https://do.co/2wjzUyR
11. Installing OpenFaaS democratically
IN THE UK = THIS COULD TAKE A WHILE
• Raspberry Pi ARM (docker swarm)
• Docker swarm x86-64
• Kubernetes x86-64
▪ List
12. Demo
What you saw:
• Installing OpenFaaS on Pi
• Installing OpenFaaS on Kubernetes
• Function Store
• Auto-scaling
• Creating a new function
23. Write a function
// Handle a serverless request
func Handle(req []byte) string {
return fmt.Sprintf("Hello, Go. You
said: %s", string(req))
}
handler.go
Use tools like dep for vendoring
faas new hello-nl --lang go -p ewilde
Go
Template
Docker
Image
$ faas up1. 2.
Handler
Registry
+
Gateway
37. Why OpenFaaS?
• Build and deployment pipeline
• Portability
• Open-source
• Fits our engineering tao
a Chinese word signifying
'way', 'path', 'route', ‘road' #fancy
38. Why OpenFaaS?
• Build and deployment pipeline
• Portability
• Open-source
• Fits our engineering tao
• Open vs closed source
a Chinese word signifying
'way', 'path', 'route', ‘road' #fancy
39. Why OpenFaaS?
• Build and deployment pipeline
• Portability
• Open-source
• Fits our engineering tao
• Open vs closed source
• Loosely coupled systems
a Chinese word signifying
'way', 'path', 'route', ‘road' #fancy
40. Why OpenFaaS?
• Build and deployment pipeline
• Portability
• Open-source
• Fits our engineering tao
• Open vs closed source
• Loosely coupled systems
• Unix philosophy
a Chinese word signifying
'way', 'path', 'route', ‘road' #fancy
41. Why OpenFaaS?
• Build and deployment pipeline
• Portability
• Open-source
• Fits our engineering tao
• Open vs closed source
• Loosely coupled systems
• Unix philosophy
• Vendor neutral
a Chinese word signifying
'way', 'path', 'route', ‘road' #fancy