This talk introduces OpenFaaS, an open source platform for serverless functions. We begin by installing, running the platform and invoking a machine learning function within 60 second (ish). Next we step up and look at the high level platform architecture and key pillars of OpenFaaS: developer first, operator friendly and community focused. We close by looking at a multiuser platform built on top OpenFaas.
The objective of this talk is to introduce you to OpenFaaS the serverless platform and OpenFaaS cloud the multi-user environment for practicing git ops with functions.
How to Troubleshoot Apps for the Modern Connected Worker
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide
1. Edward Wilde - Core Contributor - @ewilde
Platform Architect, Form3
Serverless: when functions and GitOps collide
Docker and serverless 2019
2. What we are going to cover?
• Installing OpenFaaS in 60s 📈
• Your first function
• Autoscaling
• GitOps + Functions = OpenFaaS Cloud
• Live demo 🔥 💳
• Get involved 👍
Tweet @openfaas 🤳 📸 @ewilde
3. OpenFaaS - Functions as a Service
• Started in Nov 2016
• Containers, Alexa, Swarm 🐳
• Full time team @ VMware
• Production users 💻
• Bossie awards 🥇🥈
4. OpenFaaS - Functions as a Service
• Started in Nov 2016
• Containers, Alexa, Swarm 🐳
• Full time team @ VMware
• Production users 💻
• Bossie awards 🥇🥈
5. OpenFaaS - Functions as a Service
• Started in Nov 2016
• Containers, Alexa, Swarm 🐳
• Full time team @ VMware
• Production users 💻
• Bossie awards 🥇🥈
12. 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
30. Why OpenFaaS?
• Build and deployment pipeline
• Portability
• Open-source
• Fits our engineering tao
a Chinese word signifying
'way', 'path', 'route', ‘road' #fancy
31. 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
32. 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
33. 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
34. 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