SlideShare a Scribd company logo
#DevoxxFR
Devoxx France 2021
Serverless everywhere
Aymeric Weinbach @aymericw
1
Programme
Intro - Why
Azure Functions qu’est ce que c’est
Extensions à Azure Functions
Dapr qu’est ce que c’est
Azure Functions + Dapr
#DevoxxFR 3
Serverless doesn't mean
there are no servers, it
means let's think about
servers...less.
Dans le cloud on est Event Driven on a besoin d’ Event Driven
Architecture
Développer des apps à base de microservice qui interagissent avec
des services qui sont resilient et scalable
De multiples langages de programmation C# Python Javascript …
Stateless, Stateful, et utilisation de pattern tels que les functions,
workflow, actor
Le moins possible d’adhérence à la plateforme : on veut que notre
code tourne partout
Azure Functions
V3 - 4.0 public preview avec .NET 6 support
Opensource
Host écrit en .net core
On peux écrire des functions en C#, F#, Java, Javascript, Python,
Powershell
Tooling
Azure Function Core Tools
VS CODE et l’extension Azure Functions
Github Codespace ou Devcontainer est pratique
Simplifie la plomberie
Triggers
Input Binding
Output Binding
Retry auto ( réglable)
Logs, Metrics
Votre projet functions est dans un container docker
Les functions sont de base prévu pour être shortlived TTL ( Timeout
10 min de base)
1.5 Go Ram en mode serverless
Stateless
Démo
https://www.gangogh.art
Instagram: @vincentgangogh
Twitter : @vincentgangogh
Stateful patterns avec
Durable Functions
Extension à Azure functions
Chaînage de fonctions
Fan-out/fan-in
API HTTP Async
Surveillance
Interaction humaine
Agrégateur (entités avec état)
Type de Fonctions
Durable
Fonctions d’orchestrateur
Fonctions d'activités
Fonctions d'entité
Fonctions clientes
Hebergement
Dans Azure App service
Serverless mode
Premium mode
Dans son propre App Service
Azure IOT Edge
Dans AKS (Azure KUBERNETES SERVICES)
Avec KEDA
Hors d’Azure ?
Functions Iot Edge
Serverless Azure
universe
Azure Static Web Apps
Azure Container Instance
Logic Apps
https://dapr.io
Dapr Goals
Application Types
Develop resilient, scalable, microservice-based apps that interact with services
stateless, stateful, long-running, short-lived function-like
Increasingly apps are polyglot. Written with different languages and frameworks
Microservice building blocks
Standard APIs accessed over http/gRPC protocols from user service code
http://localhost:3500/v1.0/state/inventory/orderkey
http://localhost:3500/v1.0/invoke/myapp/method/neworder
Runs as local “side car library” dynamically loaded at runtime for each service
Service-
to- service
invocation
State
management
Publish
and
subscribe
Resource
bindings
and triggers
Actors Distributed
tracing
Secrets
HTTP API gRPC API
Extensible
Application code
Any code or framework…
Microservices written in
State stores
Publish & subscribe
Resource bindings
Scanning
for events
Dapr API
Dapr API
Messaging
Load and
save state
Service
code B
Service
code A
Input/output
Application
Sidecar Sidecar
Secure communication with mTLS
Sidecar and component architecture
Tracing, logs
and metrics
Tracing, logs
and metrics
Service-
to- service
invocation
State
management
Publish
and
subscribe
Resource
bindings
and triggers
Actors Distributed
tracing
Secrets Extensible
Any cloud or edge infrastructure
HTTP API gRPC API
Application code
Any code or framework…
Microservices written in
Dapr: Distributed Application Runtime
Build apps using any language with any framework
1
Pod
Update component changes
Updates actor partition placement
Injects Dapr runtime
Components
Component
management
Deploys and manages Dapr
Any cloud or edge infrastructure
Publish & subscribe
State stores
Resource bindings
Input/output
Pod
C O N T A I N E R
Actor Placement
Pod
C O N T A I N E R
Sidecar Injector
Pod
C O N T A I N E R
Operator
Dapr API
HTTP or gRPC
Uses components
C O N T A I N E R
Sidecar
C O N T A I N E R
Application code
Pod
C O N T A I N E R
Sentry
Certificate Authority
Distributed Tracing
Prometheus AppInsightts Jaeger
Dapr Kubernetes hosted
Dapr and Azure Functions
Building an Azure Functions Dapr extension
Enables an Azure Function to interact seamlessly with Dapr capabilities in Kubernetes,
IoT Edge and other hosting platforms
KEDA
KEDA = Kubernetes-based Event
Driven Autoscaler
Source des évenements
Azure Functions Sans Azure ?
Avec l’extension Dapr Pour Azure Functions et
Avec KEDA
On peut utiliser Azure Functions partout ?
Quelques Liens
https://functions.azure.com
https://keda.sh/
https://www.dapr.io/
Q&A
Aymeric@zecloud.fr
Twitter : @aymericw
https://www.github.com/sponsors/zecloud
Contactez moi pour du conseil et faire vos apps Event Driven

More Related Content

PPTX
Intro To Serverless Architectures
PPTX
Serverless Architecture
PDF
AWS Lambda
PDF
AWS Serverless Introduction (Lambda)
PDF
Serverless Applications on AWS
PPTX
Deploy Microservices in the Real World
PDF
Serverless Architectures on AWS Lambda
PDF
aws lambda & api gateway
Intro To Serverless Architectures
Serverless Architecture
AWS Lambda
AWS Serverless Introduction (Lambda)
Serverless Applications on AWS
Deploy Microservices in the Real World
Serverless Architectures on AWS Lambda
aws lambda & api gateway

What's hot (8)

PPTX
AWS Serverless concepts and solutions
PPTX
DevOps, Microservices and Serverless Architecture
PDF
AWS Lambda and Serverless framework: lessons learned while building a serverl...
PDF
Serverless Computing
PDF
Amazon API Gateway and AWS Lambda: Better Together
PDF
AWS Lambda Documentation
PDF
AWS Lambda from the Trenches
PDF
AWS Lambda
AWS Serverless concepts and solutions
DevOps, Microservices and Serverless Architecture
AWS Lambda and Serverless framework: lessons learned while building a serverl...
Serverless Computing
Amazon API Gateway and AWS Lambda: Better Together
AWS Lambda Documentation
AWS Lambda from the Trenches
AWS Lambda
Ad

Similar to Serverless everywhere (20)

PPTX
Dapr- Distrbuted Application Runtime. .Net Summit 2020_ Bangalore
PPTX
ServerLess by usama Azure fuctions.pptx
PPTX
Open Shift.Run2019 マイクロサービスの開発に疲れる前にdaprを使おう
PDF
Going FaaSter, Functions as a Service at Netflix
PDF
Aplicaciones distribuidas con Dapr
PPTX
Real time web applications with signal r
PPTX
Azure API Management
PPTX
Gab2015 samir arezki_api management
PDF
2021 JCConf 使用Dapr簡化Java微服務應用開發
PDF
Azure Container Apps
PPTX
Running PHP In The Cloud
PPTX
What's Better than Microservices? Serverless Microservices.
PPTX
Serverless on Azure with Functions
PDF
A microservice architecture based on golang
PPTX
Scalable APIs with Azure Functions
PPTX
Getting started with containers on Azure
PDF
What's New in Confluent Platform 5.5
PPTX
Windows Azure AppFabric
PDF
DevOps and BigData Analytics
PDF
Alfresco and the Model Context Protocol (MCP)
Dapr- Distrbuted Application Runtime. .Net Summit 2020_ Bangalore
ServerLess by usama Azure fuctions.pptx
Open Shift.Run2019 マイクロサービスの開発に疲れる前にdaprを使おう
Going FaaSter, Functions as a Service at Netflix
Aplicaciones distribuidas con Dapr
Real time web applications with signal r
Azure API Management
Gab2015 samir arezki_api management
2021 JCConf 使用Dapr簡化Java微服務應用開發
Azure Container Apps
Running PHP In The Cloud
What's Better than Microservices? Serverless Microservices.
Serverless on Azure with Functions
A microservice architecture based on golang
Scalable APIs with Azure Functions
Getting started with containers on Azure
What's New in Confluent Platform 5.5
Windows Azure AppFabric
DevOps and BigData Analytics
Alfresco and the Model Context Protocol (MCP)
Ad

More from Aymeric Weinbach (20)

PDF
Gaib19 azure + ia = art
PPTX
Gab 2017 iot azure aymeric weinbach
PDF
Cnam cours azure ze cloud intro et présentation generale 2016
PDF
Cnam azure ze cloud resource manager
PDF
Microsoft azure boot camp Keynote
PPTX
Gab paris 2015 automatisation
PPTX
Gab 2015 aymeric weinbach azure iot
PPTX
Concevoir ses premiers objets connectés avec azure
PPTX
Cnam cours azure web sites
PPTX
Cnam cours azure zecloud mobile services
PPTX
Cnam cours azure intro et présentation generale
PPTX
Cnam cours azure iaas
PPTX
Cnam cours azure cloud services
PPTX
Cnam azure 2015 storage
PPTX
Windows azure gwab - mobile services
PPTX
Gérer facilement les identités dans le cloud
PPTX
Backup Recovery Hybride avec Windows Azure Backup au Gwab 2014 Paris
PPTX
Gwab 2014 Paris keynote
PPTX
Session Objet Connecté gwab 2014 paris
PPTX
Introduction gwab 2014 paris
Gaib19 azure + ia = art
Gab 2017 iot azure aymeric weinbach
Cnam cours azure ze cloud intro et présentation generale 2016
Cnam azure ze cloud resource manager
Microsoft azure boot camp Keynote
Gab paris 2015 automatisation
Gab 2015 aymeric weinbach azure iot
Concevoir ses premiers objets connectés avec azure
Cnam cours azure web sites
Cnam cours azure zecloud mobile services
Cnam cours azure intro et présentation generale
Cnam cours azure iaas
Cnam cours azure cloud services
Cnam azure 2015 storage
Windows azure gwab - mobile services
Gérer facilement les identités dans le cloud
Backup Recovery Hybride avec Windows Azure Backup au Gwab 2014 Paris
Gwab 2014 Paris keynote
Session Objet Connecté gwab 2014 paris
Introduction gwab 2014 paris

Recently uploaded (20)

PPTX
international classification of diseases ICD-10 review PPT.pptx
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PPTX
innovation process that make everything different.pptx
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PPTX
Introduction to Information and Communication Technology
PPTX
Internet___Basics___Styled_ presentation
PPTX
SAP Ariba Sourcing PPT for learning material
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
Introuction about WHO-FIC in ICD-10.pptx
international classification of diseases ICD-10 review PPT.pptx
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
RPKI Status Update, presented by Makito Lay at IDNOG 10
Slides PDF The World Game (s) Eco Economic Epochs.pdf
The New Creative Director: How AI Tools for Social Media Content Creation Are...
SASE Traffic Flow - ZTNA Connector-1.pdf
522797556-Unit-2-Temperature-measurement-1-1.pptx
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
introduction about ICD -10 & ICD-11 ppt.pptx
Paper PDF World Game (s) Great Redesign.pdf
Cloud-Scale Log Monitoring _ Datadog.pdf
innovation process that make everything different.pptx
PptxGenJS_Demo_Chart_20250317130215833.pptx
Introduction to Information and Communication Technology
Internet___Basics___Styled_ presentation
SAP Ariba Sourcing PPT for learning material
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Introuction about WHO-FIC in ICD-10.pptx

Serverless everywhere