SlideShare a Scribd company logo
Partir à la découverte du
serverless avec OpenFaas
Emmanuel Lebeaupin
…As A Service
IaaS
Infrastructure
PaaS
Platform
CaaS
Container
SaaS
Software
… As A Service
FaaS
Function
Use cases
IOT
ML
Bot
Batch
Stream
Processing
Mobile Backend
CNCF Landscape
CNCF Landscape
Hosted Installable
• Alex Ellis
• DockerCon 2017 (Copenhague)
• Encapsule n’importe quelle fonction au sein
d’un conteneur
• Portable - On premise, cloud - Kubernetes
ou Swarm
• https://github.com/openfaas/faas
OpenFaas
Architecture
• Route vers les fonctions
• UI
• Autoscaling via Prometheus et
AlertManager
Gateway
• Serveur HTTP en Go
• Interface entre l’API Gateway et la fonction
Watchdog
FROM node:8.9.1-alpine
…
# Alternatively use ADD https:// (which will not be cached by Docker builder)
RUN apk --no-cache add curl 
&& echo "Pulling watchdog binary from Github." 
&& curl -sSL https://github.com/openfaas/faas/releases/download/0.7.6/fwatchdog >
/usr/bin/fwatchdog 
&& chmod +x /usr/bin/fwatchdog 
&& apk del curl --no-cache
…
ENV cgi_headers="true"
ENV fprocess="node index.js"
HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1
CMD ["fwatchdog"]
module.exports = (context, callback) => {
callback(undefined, {hello: "devfest"});
}
handler.js
{
…
"dependencies": {
…
}
}
package.json
Node
Template
Image Registry
Exemple de fonction
CLI / YAML
provider:
name: faas
gateway: http://127.0.0.1:8080
functions:
url-ping:
lang: python
handler: ./sample/url-ping
image: alexellis2/faas-urlping
secrets:
- secret-name-1
- secret-name-2
environment:
http_proxy: http://proxy1.corp.com:3128
labels:
devfest: "true"
$ faas-cli new
$ faas-cli build
$ faas-cli deploy
Monitoring
DEMO
Merci
@elebeaup

More Related Content

PDF
GitOps meets Serverless
PPTX
Support of containerized workloads in ONAP
PDF
TDC2017 | São Paulo - Trilha Containers How we figured out we had a SRE team ...
PPTX
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES HAS NEVER BEEN SO EASY
PDF
yegor maksymchuk - open shift as a cloud for data science
PPTX
DevOps stage 2018 OPENSHIFT AS A CLOUD FOR DATA SCIENCE Yegor Maksymchuk
PDF
Your Java Journey into the Serverless World
PDF
Kubernetes at Zalando - CNCF End User Committee Presentation
GitOps meets Serverless
Support of containerized workloads in ONAP
TDC2017 | São Paulo - Trilha Containers How we figured out we had a SRE team ...
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES HAS NEVER BEEN SO EASY
yegor maksymchuk - open shift as a cloud for data science
DevOps stage 2018 OPENSHIFT AS A CLOUD FOR DATA SCIENCE Yegor Maksymchuk
Your Java Journey into the Serverless World
Kubernetes at Zalando - CNCF End User Committee Presentation

What's hot (20)

PDF
Project Frankenstein: A multitenant, horizontally scalable Prometheus as a se...
PDF
Going Serverless: The Best Ops is NoOps.
PDF
Function as a Service
PDF
Short journey into the serverless world
PPTX
Kubernetes @ Nanit by Chen Fisher
PDF
Open source and cross platform .net
PDF
From AWS/STUPS to Kubernetes on AWS @Zalando - Berlin Kubernetes Meetup
PDF
Kubernetes and Prometheus
KEY
Event machine
PDF
5 cool ways to get started with Cloud Native Development ( with Okteto)
PDF
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...
PDF
Ops for NoOps - Operational Challenges for Serverless Apps
PDF
Kubernets Helm - Okay so my cluster's up, how do I manage all the sh*t to run...
PDF
DevOps and Hybrid Applications: What You Need to Know
PDF
API First with Connexion - PyConWeb 2018
PDF
Building Composable Serverless Apps with IOpipe
PPTX
Nebula container orchestrator
PDF
Splunk user group - automating Splunk with Ansible
PDF
Manage any AWS resources with Terraform 0.12 - April 2020
PPTX
DEMYSTIFYING KUBERNETES AND CONTAINER ORCHESTRATION
Project Frankenstein: A multitenant, horizontally scalable Prometheus as a se...
Going Serverless: The Best Ops is NoOps.
Function as a Service
Short journey into the serverless world
Kubernetes @ Nanit by Chen Fisher
Open source and cross platform .net
From AWS/STUPS to Kubernetes on AWS @Zalando - Berlin Kubernetes Meetup
Kubernetes and Prometheus
Event machine
5 cool ways to get started with Cloud Native Development ( with Okteto)
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...
Ops for NoOps - Operational Challenges for Serverless Apps
Kubernets Helm - Okay so my cluster's up, how do I manage all the sh*t to run...
DevOps and Hybrid Applications: What You Need to Know
API First with Connexion - PyConWeb 2018
Building Composable Serverless Apps with IOpipe
Nebula container orchestrator
Splunk user group - automating Splunk with Ansible
Manage any AWS resources with Terraform 0.12 - April 2020
DEMYSTIFYING KUBERNETES AND CONTAINER ORCHESTRATION
Ad

Similar to Partir à la découverte du serverless avec openfaas (20)

PPTX
Serverless Pune meetup 3
PPT
Develop with linux containers and docker
PPTX
Docker Container As A Service - Mix-IT 2016
PDF
Effective Building your Platform with Kubernetes == Keep it Simple
PDF
Kubernetes for Java Developers
PPT
2 Linux Container and Docker
PPTX
Docker Platform and Ecosystem Nov 2015
PDF
Zero to Serverless - OpenFaaS at the Open Source Summit
PDF
DCEU 18: Docker Containers in a Serverless World
PPTX
Docker Container As A Service - JAX 2016
PDF
OpenFaaS serverless framework for Docker and Kubernetes - London
PDF
Kubernetes for java developers - Tutorial at Oracle Code One 2018
PDF
Get you Java application ready for Kubernetes !
PPT
Sebastien goasguen cloud stack and docker
PDF
Event-driven Applications with Kafka, Micronaut, and AWS Lambda | Dave Klein,...
PPTX
Docker Container As A Service - March 2016
PPTX
Containers as a Service with Docker
PPTX
What's New in Docker - February 2017
PDF
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
Serverless Pune meetup 3
Develop with linux containers and docker
Docker Container As A Service - Mix-IT 2016
Effective Building your Platform with Kubernetes == Keep it Simple
Kubernetes for Java Developers
2 Linux Container and Docker
Docker Platform and Ecosystem Nov 2015
Zero to Serverless - OpenFaaS at the Open Source Summit
DCEU 18: Docker Containers in a Serverless World
Docker Container As A Service - JAX 2016
OpenFaaS serverless framework for Docker and Kubernetes - London
Kubernetes for java developers - Tutorial at Oracle Code One 2018
Get you Java application ready for Kubernetes !
Sebastien goasguen cloud stack and docker
Event-driven Applications with Kafka, Micronaut, and AWS Lambda | Dave Klein,...
Docker Container As A Service - March 2016
Containers as a Service with Docker
What's New in Docker - February 2017
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
Ad

Recently uploaded (20)

PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
assetexplorer- product-overview - presentation
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
PDF
Types of Token_ From Utility to Security.pdf
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
Time Tracking Features That Teams and Organizations Actually Need
PDF
STL Containers in C++ : Sequence Container : Vector
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PPTX
Cybersecurity: Protecting the Digital World
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PDF
iTop VPN Crack Latest Version Full Key 2025
PPTX
GSA Content Generator Crack (2025 Latest)
PDF
Cost to Outsource Software Development in 2025
PPTX
"Secure File Sharing Solutions on AWS".pptx
PDF
Topaz Photo AI Crack New Download (Latest 2025)
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
assetexplorer- product-overview - presentation
How Tridens DevSecOps Ensures Compliance, Security, and Agility
Digital Systems & Binary Numbers (comprehensive )
Wondershare Recoverit Full Crack New Version (Latest 2025)
Types of Token_ From Utility to Security.pdf
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Designing Intelligence for the Shop Floor.pdf
Time Tracking Features That Teams and Organizations Actually Need
STL Containers in C++ : Sequence Container : Vector
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Cybersecurity: Protecting the Digital World
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
iTop VPN Crack Latest Version Full Key 2025
GSA Content Generator Crack (2025 Latest)
Cost to Outsource Software Development in 2025
"Secure File Sharing Solutions on AWS".pptx
Topaz Photo AI Crack New Download (Latest 2025)

Partir à la découverte du serverless avec openfaas

  • 1. Partir à la découverte du serverless avec OpenFaas Emmanuel Lebeaupin
  • 6. • Alex Ellis • DockerCon 2017 (Copenhague) • Encapsule n’importe quelle fonction au sein d’un conteneur • Portable - On premise, cloud - Kubernetes ou Swarm • https://github.com/openfaas/faas OpenFaas
  • 8. • Route vers les fonctions • UI • Autoscaling via Prometheus et AlertManager Gateway
  • 9. • Serveur HTTP en Go • Interface entre l’API Gateway et la fonction Watchdog FROM node:8.9.1-alpine … # Alternatively use ADD https:// (which will not be cached by Docker builder) RUN apk --no-cache add curl && echo "Pulling watchdog binary from Github." && curl -sSL https://github.com/openfaas/faas/releases/download/0.7.6/fwatchdog > /usr/bin/fwatchdog && chmod +x /usr/bin/fwatchdog && apk del curl --no-cache … ENV cgi_headers="true" ENV fprocess="node index.js" HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1 CMD ["fwatchdog"]
  • 10. module.exports = (context, callback) => { callback(undefined, {hello: "devfest"}); } handler.js { … "dependencies": { … } } package.json Node Template Image Registry Exemple de fonction
  • 11. CLI / YAML provider: name: faas gateway: http://127.0.0.1:8080 functions: url-ping: lang: python handler: ./sample/url-ping image: alexellis2/faas-urlping secrets: - secret-name-1 - secret-name-2 environment: http_proxy: http://proxy1.corp.com:3128 labels: devfest: "true" $ faas-cli new $ faas-cli build $ faas-cli deploy
  • 13. DEMO