Successfully reported this slideshow.
Your SlideShare is downloading. ×

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

Ad

Edward Wilde - Core Contributor - @ewilde
Platform Architect, Form3
Serverless: when functions and GitOps collide
Docker a...

Ad

What we are going to cover?
• Installing OpenFaaS in 60s 📈
• Your first function
• Autoscaling
• GitOps + Functions = Open...

Ad

OpenFaaS - Functions as a Service
• Started in Nov 2016
• Containers, Alexa, Swarm 🐳
• Full time team @ VMware
• Productio...

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Ad

Loading in …3
×

Check these out next

1 of 62 Ad
1 of 62 Ad

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

Download to read offline

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.

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.

More Related Content

Slideshows for you (18)

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

×