S f
M S
Vitor Tadashi Uno Nishimura
vitor.tadashi@outlook.com
Github: vitor-tadashi
Linkedin: vitor.tadashi
Twitter: tadashera
Instagram: @vitor
João Paulo Luigi Luiz
joao.luigi@gmail.com
Github: joaopluigi
Linkedin: joao-paulo-luigi-luiz
Platforms (FaaS)
Frameworks
Tools &
Monitoring
Google
functions
Azure
functions
Iron.io
AWS
Lambda
OpenWhisk Docker
PubNub
functions
Bitnami
Kubeless
RedHat
Openwhisk
Spotinst
functions
Pivotal Spring
Cloud Function
IOPipe Dashbird Stackery Epsagon Thundra Puresec Snyk LambCI
Node
Lambda
Algorithmia
Apex
Lambdoky
Up
Chalice
Lambda
Restify
CIM
SAM
Scar
Middy
ClaudiaJS
Sparta
Modofun
JRestless
Squeezer
Shep
Lambder
Zappa
Turtle
Lambda
Forecast
Fission.io
Galact
Fog
Lamdbfy
Serverless
Inc.
Vandium
Apex
EFFE
JRestless
Function as a Service
API Gateway
API Gateway
API Gateway
API Gateway
API Gateway & Prometheus
IOT / Users / App
fertilizers/
farms/
recommendation/
Function ‘/fertilizer’ A
API Gateway
API Gateway & Prometheus
IOT / Users / App
fertilizers/
farms/
recommendation/
REQUEST
Function ‘/fertilizer’ A
API Gateway
API Gateway & Prometheus
IOT / Users / App
fertilizers/
farms/
recommendation/
Send request to
Prometheus
Alert if it’s
critical
Function ‘/fertilizer’ A
API Gateway
API Gateway & Prometheus
IOT / Users / App
fertilizers/
farms/
recommendation/
Function ‘/fertilizer’ A
API Gateway
API Gateway & Prometheus
IOT / Users / App
fertilizers/
farms/
recommendation/
Function ‘/fertilizer’ A
Function ‘/fertilizer’ B
Send
request
to
Function
B
Watchdog
Any language
Our friend Cowsay
faas-cli
new function
Dockerfile
Build & Deploy
Our friend OpenFaaS
HTTP Headers
Samples
Samples
So let’s be FaaS and Furious!
João Paulo Luigi Luiz
joao.luigi@gmail.com
Github: joaopluigi
Linkedin: joao-paulo-luigi-luiz
Vitor Tadashi Uno Nishimura
vitor.tadashi@outlook.com
Github: vitor-tadashi
Linkedin: vitor.tadashi
Twitter: tadashera
Instagram: @vitor
Links
● https://github.com/openfaas/faas - OpenFaas
● https://sensedia.com/blog/apis/api-gateway-governando-a-arquitetura-de-microservices/ -API
Gateway
● https://github.com/openfaas/faas/tree/master/watchdog - Watchdog
● https://docs.openfaas.com/community/#contribute - How to contribute with OpenFaaS
● https://docs.openfaas.com/cli/install/ - faas-cli
● https://www.nkode.io/2017/09/12/serverless-frameworks.html - Serverless frameworks
● https://stackify.com/function-as-a-service-serverless-architecture/ - FaaS Architecture

TDC2018SP | Trilha Serverless - Serverless function made simple

  • 1.
  • 3.
    Vitor Tadashi UnoNishimura vitor.tadashi@outlook.com Github: vitor-tadashi Linkedin: vitor.tadashi Twitter: tadashera Instagram: @vitor
  • 4.
    João Paulo LuigiLuiz joao.luigi@gmail.com Github: joaopluigi Linkedin: joao-paulo-luigi-luiz
  • 7.
    Platforms (FaaS) Frameworks Tools & Monitoring Google functions Azure functions Iron.io AWS Lambda OpenWhiskDocker PubNub functions Bitnami Kubeless RedHat Openwhisk Spotinst functions Pivotal Spring Cloud Function IOPipe Dashbird Stackery Epsagon Thundra Puresec Snyk LambCI Node Lambda Algorithmia Apex Lambdoky Up Chalice Lambda Restify CIM SAM Scar Middy ClaudiaJS Sparta Modofun JRestless Squeezer Shep Lambder Zappa Turtle Lambda Forecast Fission.io Galact Fog Lamdbfy Serverless Inc. Vandium Apex EFFE JRestless
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
    API Gateway API Gateway& Prometheus IOT / Users / App fertilizers/ farms/ recommendation/ Function ‘/fertilizer’ A
  • 13.
    API Gateway API Gateway& Prometheus IOT / Users / App fertilizers/ farms/ recommendation/ REQUEST Function ‘/fertilizer’ A
  • 14.
    API Gateway API Gateway& Prometheus IOT / Users / App fertilizers/ farms/ recommendation/ Send request to Prometheus Alert if it’s critical Function ‘/fertilizer’ A
  • 15.
    API Gateway API Gateway& Prometheus IOT / Users / App fertilizers/ farms/ recommendation/ Function ‘/fertilizer’ A
  • 16.
    API Gateway API Gateway& Prometheus IOT / Users / App fertilizers/ farms/ recommendation/ Function ‘/fertilizer’ A Function ‘/fertilizer’ B Send request to Function B
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
    So let’s beFaaS and Furious! João Paulo Luigi Luiz joao.luigi@gmail.com Github: joaopluigi Linkedin: joao-paulo-luigi-luiz Vitor Tadashi Uno Nishimura vitor.tadashi@outlook.com Github: vitor-tadashi Linkedin: vitor.tadashi Twitter: tadashera Instagram: @vitor
  • 29.
    Links ● https://github.com/openfaas/faas -OpenFaas ● https://sensedia.com/blog/apis/api-gateway-governando-a-arquitetura-de-microservices/ -API Gateway ● https://github.com/openfaas/faas/tree/master/watchdog - Watchdog ● https://docs.openfaas.com/community/#contribute - How to contribute with OpenFaaS ● https://docs.openfaas.com/cli/install/ - faas-cli ● https://www.nkode.io/2017/09/12/serverless-frameworks.html - Serverless frameworks ● https://stackify.com/function-as-a-service-serverless-architecture/ - FaaS Architecture