Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.
Edward Wilde - Core Contributor - @ewilde
Platform Architect, Form3
Serverless: when functions and GitOps collide
Docker a...
What we are going to cover?
• Installing OpenFaaS in 60s 📈
• Your first function
• Autoscaling
• GitOps + Functions = Open...
OpenFaaS - Functions as a Service
• Started in Nov 2016
• Containers, Alexa, Swarm 🐳
• Full time team @ VMware
• Productio...
OpenFaaS - Functions as a Service
• Started in Nov 2016
• Containers, Alexa, Swarm 🐳
• Full time team @ VMware
• Productio...
OpenFaaS - Functions as a Service
• Started in Nov 2016
• Containers, Alexa, Swarm 🐳
• Full time team @ VMware
• Productio...
Serverless Functions Made Simple
Easy to use
Serverless Functions Made Simple
Easy to use
Any code
Anywhere
Any scale
You decide the limits
Developer-first
Gets out your way
• 📄
• 💬
• 🕸
Templates for most popular languages*
* DigitalOcean Currents report https://do.co/2wjzUyR
Templates for most popular languages*
* DigitalOcean Currents report https://do.co/2wjzUyR
Installing OpenFaaS democratically
LEAGUE OF LIBERALISM
• Raspberry Pi ARM (docker swarm)



• Docker swarm x86-64



• Ku...
Write a function
// Handle a serverless request
func Handle(req []byte) string {
    return fmt.Sprintf("Hello, Go. You
sa...
Stack files (YAML)
functions:
move-money:
lang: go
handler: ./move-money
image: move-money:0.1
register-user:
lang: go
han...
Stack files (YAML)
functions:
move-money:
lang: go
handler: ./move-money
image: move-money:0.1
register-user:
lang: go
han...
Stack files (YAML)
functions:
move-money:
lang: go
handler: ./move-money
image: move-money:0.1
register-user:
lang: go
han...
Stack files (YAML)
functions:
move-money:
lang: go
handler: ./move-money
image: move-money:0.1
register-user:
lang: go
han...
Demo
What you saw:
• Installing OpenFaaS
• Function Store
• Machine-learning
• Creating a new function
Why OpenFaaS?
Why OpenFaaS?
• Build and deployment pipeline

Why OpenFaaS?
• Build and deployment pipeline

Why OpenFaaS?
• Build and deployment pipeline

Why OpenFaaS?
• Build and deployment pipeline

• Portability

Why OpenFaaS?
• Build and deployment pipeline

• Portability

• Open-source
Why OpenFaaS?
• Build and deployment pipeline

• Portability

• Open-source
Why OpenFaaS?
• Build and deployment pipeline

• Portability

• Open-source
Why OpenFaaS?
• Build and deployment pipeline

• Portability

• Open-source
• Fits our engineering tao

a Chinese word sig...
Why OpenFaaS?
• Build and deployment pipeline

• Portability

• Open-source
• Fits our engineering tao

• Open vs closed s...
Why OpenFaaS?
• Build and deployment pipeline

• Portability

• Open-source
• Fits our engineering tao

• Open vs closed s...
Why OpenFaaS?
• Build and deployment pipeline

• Portability

• Open-source
• Fits our engineering tao

• Open vs closed s...
Why OpenFaaS?
• Build and deployment pipeline

• Portability

• Open-source
• Fits our engineering tao

• Open vs closed s...
Kubernetes FaaS compared
OpenFaaS Kubeless Knative
Vendor Community Bitnami Google
Maturity 2.5yr 2.5yr 6mo
Stable ✅ ✅ ❌
D...
GitOps + Functions
GitOps + Functions
= OpenFaaS Cloud
Are you in?
Initial
Funding
+100GBP
Move
1GBP
Charity
Pot
Pledged
Pot
Main
Account
90/100 GBP 10/100 GBP
Personal Account
Working with...
https://www.msf.org.uk/
You register with the App and I’ll pledge
Pledge via this URL:
https://pledge-app.mini.o6s.io
https://bit.ly/2PffyBy
How it works
https://bit.ly/2PffyBy
https://pledge-app.mini.o6s.io
OpenFaaS Cloud ☁
- Managed
- Multi-user
- Personal dashboard
- CI/CD (git push)
- Feedback via GitHub/
GitLab
OpenFaaS Cloud ☁
- Managed
- Multi-user
- Personal dashboard
- CI/CD (git push)
- Feedback via GitHub/
GitLab
Free Communi...
OpenFaaS Cloud Dashboard ☁
Summing up
Don’t get locked-in:
• Kubernetes & Docker
• Existing microservices
and functions
• OpenFaaS/Cloud with
GitHub ...
Community Centric 14k
x3.5 growth
Community Centric 14k
x3.5 growth
Get involved
1. Join Slack 👌
https://docs.openfaas.com/community
2. Try the self-paced workshop! 💻
https://github.com/open...
Customer 
Bank (or regulated institution)
Our customer's  
customer
Bank A
Bank B
Bank etc...
Form3 
Financial Cloud
Customer 
Bank (or regulated institution)
Our customer's  
customer
Bank A
Bank B
Bank etc...
Form3 
Financial Cloud
Customer 
Bank (or regulated institution)
Our customer's  
customer
Bank A
Bank B
Bank etc...
Form3 
Financial Cloud
Customer 
Bank (or regulated institution)
Our customer's  
customer
Bank A
Bank B
Bank etc...
Form3 
Financial Cloud
Customer 
Bank (or regulated institution)
Our customer's  
customer
Bank A
Bank B
Bank etc...
Form3 
Financial Cloud
Customer 
Bank (or regulated institution)
Our customer's  
customer
Bank A
Bank B
Bank etc...
Form3 
Financial Cloud
working
and/or
We only hire nice people!
Cloud native yay!
https://form3.tech
Thank you!
www.openfaas.com @ewilde
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide
Próxima SlideShare
Cargando en…5
×
Próximo SlideShare
What to Upload to SlideShare
Siguiente
Descargar para leer sin conexión y ver en pantalla completa.

Compartir

Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide

Descargar para leer sin conexión

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.

Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions and GitOps collide

  1. 1. Edward Wilde - Core Contributor - @ewilde Platform Architect, Form3 Serverless: when functions and GitOps collide Docker and serverless 2019
  2. 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. 3. OpenFaaS - Functions as a Service • Started in Nov 2016 • Containers, Alexa, Swarm 🐳 • Full time team @ VMware • Production users 💻 • Bossie awards 🥇🥈
  4. 4. OpenFaaS - Functions as a Service • Started in Nov 2016 • Containers, Alexa, Swarm 🐳 • Full time team @ VMware • Production users 💻 • Bossie awards 🥇🥈
  5. 5. OpenFaaS - Functions as a Service • Started in Nov 2016 • Containers, Alexa, Swarm 🐳 • Full time team @ VMware • Production users 💻 • Bossie awards 🥇🥈
  6. 6. Serverless Functions Made Simple Easy to use
  7. 7. Serverless Functions Made Simple Easy to use Any code Anywhere Any scale You decide the limits
  8. 8. Developer-first Gets out your way • 📄 • 💬 • 🕸
  9. 9. Templates for most popular languages* * DigitalOcean Currents report https://do.co/2wjzUyR
  10. 10. Templates for most popular languages* * DigitalOcean Currents report https://do.co/2wjzUyR
  11. 11. Installing OpenFaaS democratically LEAGUE OF LIBERALISM • Raspberry Pi ARM (docker swarm)
 
 • Docker swarm x86-64
 
 • Kubernetes x86-64 ▪ List

  12. 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
  13. 13. Stack files (YAML) functions: move-money: lang: go handler: ./move-money image: move-money:0.1 register-user: lang: go handler: ./register-user image: register-user:0.2 environment: http_proxy: http://corp.ad.com:3128 secrets: - bank-api-key
  14. 14. Stack files (YAML) functions: move-money: lang: go handler: ./move-money image: move-money:0.1 register-user: lang: go handler: ./register-user image: register-user:0.2 environment: http_proxy: http://corp.ad.com:3128 secrets: - bank-api-key
  15. 15. Stack files (YAML) functions: move-money: lang: go handler: ./move-money image: move-money:0.1 register-user: lang: go handler: ./register-user image: register-user:0.2 environment: http_proxy: http://corp.ad.com:3128 secrets: - bank-api-key
  16. 16. Stack files (YAML) functions: move-money: lang: go handler: ./move-money image: move-money:0.1 register-user: lang: go handler: ./register-user image: register-user:0.2 environment: http_proxy: http://corp.ad.com:3128 secrets: - bank-api-key
  17. 17. Demo What you saw: • Installing OpenFaaS • Function Store • Machine-learning • Creating a new function
  18. 18. Why OpenFaaS?
  19. 19. Why OpenFaaS? • Build and deployment pipeline

  20. 20. Why OpenFaaS? • Build and deployment pipeline

  21. 21. Why OpenFaaS? • Build and deployment pipeline

  22. 22. Why OpenFaaS? • Build and deployment pipeline
 • Portability

  23. 23. Why OpenFaaS? • Build and deployment pipeline
 • Portability
 • Open-source
  24. 24. Why OpenFaaS? • Build and deployment pipeline
 • Portability
 • Open-source
  25. 25. Why OpenFaaS? • Build and deployment pipeline
 • Portability
 • Open-source
  26. 26. Why OpenFaaS? • Build and deployment pipeline
 • Portability
 • Open-source • Fits our engineering tao
 a Chinese word signifying
 'way', 'path', 'route', ‘road' #fancy
  27. 27. 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
  28. 28. 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
  29. 29. 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
  30. 30. 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
  31. 31. Kubernetes FaaS compared OpenFaaS Kubeless Knative Vendor Community Bitnami Google Maturity 2.5yr 2.5yr 6mo Stable ✅ ✅ ❌ Docker ✅ ❌ ✅ YAML Stack/CRD CRD CRD Lightweight ✅✅ ✅ ❌ Code limits ✅ No limit ❌50kb/1mb ✅ No limit Zero-scale ✅ ❌ ✅
  32. 32. GitOps + Functions
  33. 33. GitOps + Functions = OpenFaaS Cloud
  34. 34. Are you in?
  35. 35. Initial Funding +100GBP Move 1GBP Charity Pot Pledged Pot Main Account 90/100 GBP 10/100 GBP Personal Account Working with my bank’s API
  36. 36. https://www.msf.org.uk/ You register with the App and I’ll pledge
  37. 37. Pledge via this URL: https://pledge-app.mini.o6s.io https://bit.ly/2PffyBy
  38. 38. How it works https://bit.ly/2PffyBy https://pledge-app.mini.o6s.io
  39. 39. OpenFaaS Cloud ☁ - Managed - Multi-user - Personal dashboard - CI/CD (git push) - Feedback via GitHub/ GitLab
  40. 40. OpenFaaS Cloud ☁ - Managed - Multi-user - Personal dashboard - CI/CD (git push) - Feedback via GitHub/ GitLab Free Community Cluster*
  41. 41. OpenFaaS Cloud Dashboard ☁
  42. 42. Summing up Don’t get locked-in: • Kubernetes & Docker • Existing microservices and functions • OpenFaaS/Cloud with GitHub or GitLab Serverless 2.0
  43. 43. Community Centric 14k x3.5 growth
  44. 44. Community Centric 14k x3.5 growth
  45. 45. Get involved 1. Join Slack 👌 https://docs.openfaas.com/community 2. Try the self-paced workshop! 💻 https://github.com/openfaas/workshop 3. Pickup a small PR 💻 https://docs.openfaas.com/contributing/get-started/
  46. 46. Customer  Bank (or regulated institution) Our customer's   customer Bank A Bank B Bank etc... Form3  Financial Cloud
  47. 47. Customer  Bank (or regulated institution) Our customer's   customer Bank A Bank B Bank etc... Form3  Financial Cloud
  48. 48. Customer  Bank (or regulated institution) Our customer's   customer Bank A Bank B Bank etc... Form3  Financial Cloud
  49. 49. Customer  Bank (or regulated institution) Our customer's   customer Bank A Bank B Bank etc... Form3  Financial Cloud
  50. 50. Customer  Bank (or regulated institution) Our customer's   customer Bank A Bank B Bank etc... Form3  Financial Cloud
  51. 51. Customer  Bank (or regulated institution) Our customer's   customer Bank A Bank B Bank etc... Form3  Financial Cloud
  52. 52. working and/or We only hire nice people! Cloud native yay! https://form3.tech
  53. 53. Thank you! www.openfaas.com @ewilde
  • CatalinJora

    Jan. 30, 2019

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.

Vistas

Total de vistas

265

En Slideshare

0

De embebidos

0

Número de embebidos

0

Acciones

Descargas

10

Compartidos

0

Comentarios

0

Me gusta

1

×