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
Cloud Na...
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...
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
LIBERTY, EQUALITY, FRATERNITY
• Raspberry Pi ARM (docker swarm)



• Docker swarm x86-6...
Demo
What you saw:
• Installing OpenFaaS
• Function Store
• Machine-learning
• Creating a new function
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...
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
working
and/or
We only hire nice people!
Cloud native yay!
https://form3.tech
Thank you!
www.openfaas.com @ewilde
Serverless: when functions and GitOps collide
Serverless: when functions and GitOps collide
Serverless: when functions and GitOps collide
Serverless: when functions and GitOps collide
Serverless: when functions and GitOps collide
Serverless: when functions and GitOps collide
Serverless: when functions and GitOps collide
Serverless: when functions and GitOps collide
Serverless: when functions and GitOps collide
Ha terminado este documento.
Descárguela y léala sin conexión.
Próximo SlideShare
What to Upload to SlideShare
Siguiente
Próximo SlideShare
What to Upload to SlideShare
Siguiente
Descargar para leer sin conexión y ver en pantalla completa.

Compartir

Serverless: when functions and GitOps collide

Descargar para leer sin conexión

Abstract
--------
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 seconds (ish). Next we step up and look at the level of 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 openFaaS the serverless platform and OpenFaaS cloud the multi-user environment for practicing git ops with functions.

Bio
---
Edward Wilde is a core contributor to the OpenFaaS project and platform architect at Form3

Libros relacionados

Gratis con una prueba de 30 días de Scribd

Ver todo
  • Sé el primero en recomendar esto

Serverless: when functions and GitOps collide

  1. 1. Edward Wilde - Core Contributor - @ewilde Platform Architect, Form3 Serverless: when functions and GitOps collide Cloud Native Computing Paris 2018
  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. Serverless Functions Made Simple Easy to use
  5. 5. Serverless Functions Made Simple Easy to use Any code Anywhere Any scale You decide the limits
  6. 6. Developer-first Gets out your way • 📄 • 💬 • 🕸
  7. 7. Templates for most popular languages* * DigitalOcean Currents report https://do.co/2wjzUyR
  8. 8. Templates for most popular languages* * DigitalOcean Currents report https://do.co/2wjzUyR
  9. 9. Installing OpenFaaS democratically LIBERTY, EQUALITY, FRATERNITY • Raspberry Pi ARM (docker swarm)
 
 • Docker swarm x86-64
 
 • Kubernetes x86-64 ▪ List

  10. 10. Demo What you saw: • Installing OpenFaaS • Function Store • Machine-learning • Creating a new function
  11. 11. 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-paris --lang go -p ewilde Go Template Docker Image $ faas up1. 2. Handler Registry + Gateway
  12. 12. 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
  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. Why OpenFaaS?
  17. 17. Why OpenFaaS? • Build and deployment pipeline

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

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

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

  21. 21. Why OpenFaaS? • Build and deployment pipeline
 • Portability
 • Open-source
  22. 22. Why OpenFaaS? • Build and deployment pipeline
 • Portability
 • Open-source
  23. 23. Why OpenFaaS? • Build and deployment pipeline
 • Portability
 • Open-source
  24. 24. Why OpenFaaS? • Build and deployment pipeline
 • Portability
 • Open-source • Fits our engineering tao
 a Chinese word signifying
 'way', 'path', 'route', ‘road' #fancy
  25. 25. 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
  26. 26. 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
  27. 27. 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
  28. 28. 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
  29. 29. 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 ✅ ❌ ✅
  30. 30. GitOps + Functions
  31. 31. GitOps + Functions = OpenFaaS Cloud
  32. 32. Are you in?
  33. 33. 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
  34. 34. https://www.msf.org.uk/ You register with the App and I’ll pledge
  35. 35. Pledge via this URL: https://pledge-app.mini.o6s.io https://bit.ly/2PffyBy
  36. 36. How it works https://bit.ly/2PffyBy https://pledge-app.mini.o6s.io
  37. 37. OpenFaaS Cloud ☁ - Managed - Multi-user - Personal dashboard - CI/CD (git push) - Feedback via GitHub/ GitLab
  38. 38. OpenFaaS Cloud ☁ - Managed - Multi-user - Personal dashboard - CI/CD (git push) - Feedback via GitHub/ GitLab Free Community Cluster*
  39. 39. OpenFaaS Cloud Dashboard ☁
  40. 40. Summing up Don’t get locked-in: • Kubernetes & Docker • Existing microservices and functions • OpenFaaS/Cloud with GitHub or GitLab Serverless 2.0
  41. 41. Community Centric 14k x3.5 growth
  42. 42. Community Centric 14k x3.5 growth
  43. 43. 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/
  44. 44. Customer  Bank (or regulated institution) Our customer's   customer Bank A Bank B Bank etc... Form3  Financial Cloud
  45. 45. Customer  Bank (or regulated institution) Our customer's   customer Bank A Bank B Bank etc... Form3  Financial Cloud
  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. working and/or We only hire nice people! Cloud native yay! https://form3.tech
  50. 50. Thank you! www.openfaas.com @ewilde

Abstract -------- 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 seconds (ish). Next we step up and look at the level of 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 openFaaS the serverless platform and OpenFaaS cloud the multi-user environment for practicing git ops with functions. Bio --- Edward Wilde is a core contributor to the OpenFaaS project and platform architect at Form3

Vistas

Total de vistas

303

En Slideshare

0

De embebidos

0

Número de embebidos

15

Acciones

Descargas

1

Compartidos

0

Comentarios

0

Me gusta

0

×