SlideShare a Scribd company logo
Using the Event Gateway to build
serverless multi-cloud applications
philipp@serverless.com
@pmmuens
Philipp Müns
Software Engineer, Serverless Inc.
Using the Event Gateway To Build Multi-Cloud Serverless Applications - JeffConf Hamburg 2018
architectures
serverless
http://theburningmonk.com/2016/12/yubls-road-to-serverless-architecture-part-1/
Using the Event Gateway To Build Multi-Cloud Serverless Applications - JeffConf Hamburg 2018
# serverless.yml
service:
name: users
description: Users CRUD service
provider:
name: aws
runtime: nodejs6.10
stage: prod
region: us-east-1
functions:
register:
handler: users.register
events:
- http:
path: /users
method: POST
Using the Event Gateway To Build Multi-Cloud Serverless Applications - JeffConf Hamburg 2018
Use Cases
● Web, mobile, IoT backends
● Form processing
● Auth
● DevOps automation
● Stream processing
● Chatbots
● Voice apps
● GraphQL API
● ETL
● CRON jobs
● Webhooks
● Dynamic HTML
...
Server-Less == Service-Full
Going multi-cloud
AWS Azure Google IBM On-Prem
FaaS FaaS FaaS FaaS FaaS
Business Problem
at a large scale is still hard
serverless
The highly productive event router for FaaS
Event Gateway
● “Realtime data-flow engine” (L7 Proxy)
● Events (data) → Functions (serverless compute)
● API Gateway & Pub/Sub
● Run FaaS on any provider → Cross-cloud applications
● Extensible through middlewares and plugins
● Hosted version / On-Prem
What is the Event Gateway?
AWS
Lambda
Azure
Functions
Google Cloud
Functions
Event
Event Gateway
On-Prem FaaS...
Goals
● Express all data as events
● React to any event, with any FaaS, in any location
● Be flexible, develop fast
● Accommodate many use-cases
● Decouple logic
● Decouple teams
Express all data as events
● Receives data via HTTP and
interprets it as an event
● Ingests custom event schemas
● Ingests HTTP requests as events
● Emits logs, metrics & errors as events
Data
● Any event
● Supports major FaaS providers
● Discovery
● Composition
● Communication
React to any event, with any FaaS, in any location
AWS
Lambda
Azure
Functions
Google Cloud
Functions
Be flexible, accommodate many use-cases
Be flexible, accommodate many use-cases
Pub/Sub
HTTP
request with
special
headers
Request body
is converted to
an event
Be flexible, accommodate many use-cases
Pub/Sub
HTTP
request with
special
headers
Request body
is converted to
an event
API
Gateway
HTTP
request
Request is
converted to
an HTTP event
Be flexible, accommodate many use-cases
Pub/Sub
HTTP
request with
special
headers
Request body
is converted to
an event
API
Gateway
HTTP
request
Request is
converted to
an HTTP event
Webhooks
HTTP
request from
a supported
integration
Event
Gateway
knows what to
do
Decouple logic, decouple teams
App
Functions
Marketing
Functions
HR
Functions
Event
● FaaS decouples logic
● Event-driven design decouples teams
an example
event gateway
An example
google-hello
aws-hello
An example
curl --request POST 
--url http://localhost:4001/v1/functions 
--header 'content-type: application/json' 
--data '{
"functionId": "aws-hello",
"provider":{
"type": "awslambda",
"arn": "arn:aws:lambda:::function:aws-hello",
"region": "us-east-1"
}
}'
google-hello
aws-hello
An example
curl --request POST 
--url http://localhost:4001/v1/functions 
--header 'content-type: application/json' 
--data '{
"functionId": "google-hello",
"provider":{
"type": "http",
"url": "https://cloudfunctions.net/google-hello"
}
}'
google-hello
aws-hello
An example
curl --request POST 
--url http://localhost:4001/v1/subscriptions 
--header 'content-type: application/json' 
--data '{
"functionId": "aws-hello",
"event": "http",
"path": "/aws-hello",
"method": "GET"
}'
google-hello
aws-hello
An example
curl --request POST 
--url http://localhost:4001/v1/subscriptions 
--header 'content-type: application/json' 
--data '{
"functionId": "google-hello",
"event": "google.hello",
"path": "/google-hello"
}'
google-hello
aws-hello
An example
curl http://localhost:4000/aws-hello
google-hello
aws-hello
An example
curl --request POST 
--url http://localhost:4000 
--header 'content-type: application/json' 
--header 'event: google.hello' 
--data '{ "firstName": "John", "lastName": "Doe" }'
google-hello
aws-hello
old architecture
serverless
FaaS (single provider)
Workflows (e.g. AWS StepFunctions)
Streaming Data (e.g. AWS Kinesis)
Pub/Sub (e.g. AWS SNS)
API Gateway (e.g. AWS API Gateway)
new architecture
serverless
FaaS (multi cloud / on-prem)
Event Gateway
how do I get started?
Event Gateway
How do I get started?
● Product page → https://serverless.com/event-gateway
● GitHub repository → https://github.com/serverless/event-gateway
● Hosted version → https://serverless.com/event-gateway/enterprise
● Example application → https://github.com/serverless/event-gateway-example
● Workshop / Tutorial → https://github.com/serverless/event-gateway-workshop
AWS
Lambda
Azure
Functions
Google Cloud
Functions
Pub/SubAPI Endpoints Webhooks
Event Gateway
maciej@serverless.com
@mthenw
Maciej Winnicki
Event Gateway Architect
philipp@serverless.com
@pmmuens
Philipp Müns
Software Engineer, Serverless Inc.

More Related Content

Similar to Using the Event Gateway To Build Multi-Cloud Serverless Applications - JeffConf Hamburg 2018 (20)

PDF
API Gateway How-To: The Many Ways to Apply the Gateway Pattern
VMware Tanzu
 
PDF
Spring Cloud Gateway
Stéphane Maldini
 
PPTX
Serverless APIs and you
James Beswick
 
PDF
xConf-2022-api-gateway-service-mesh.pdf
Wesley Reisz
 
PDF
Spring Cloud Gateway - Stéphane Maldini
VMware Tanzu
 
PPTX
Role of edge gateways in relation to service mesh adoption
Christian Posta
 
PPTX
Event-Driven Serverless Architecture - the next big thing in the cloud (Cleme...
Codit
 
PDF
An eventful tour from enterprise integration to serverless and functions
Christian Posta
 
PPTX
Cloud Native Patterns Using AWS - Practical Examples
Anderson Carvalho
 
PDF
Cloud Native Patterns Using AWS
Anderson Carvalho
 
PPTX
Serverless Architectures
SuraiyaHasan19004210
 
PPTX
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Srini Karlekar
 
PDF
Living on the Edge With Spring Cloud Gateway - Cora Iberkleid
VMware Tanzu
 
PDF
Living on the Edge With Spring Cloud Gateway - Cora Iberkleid
VMware Tanzu
 
PDF
AWS Community Day - Amy Negrette - Gateways to Gateways
AWS Chicago
 
PPTX
Breaking it Down: Microservices Architecture for PHP Developers
pmeth1
 
PPTX
20 ways event-driven architectures can improve your development - Copy.pptx
James Beswick
 
PDF
Spring Cloud Gateway - Ryan Baxter
VMware Tanzu
 
PDF
Building Event-driven Architectures with Amazon EventBridge
James Beswick
 
PPTX
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
Vadim Zendejas
 
API Gateway How-To: The Many Ways to Apply the Gateway Pattern
VMware Tanzu
 
Spring Cloud Gateway
Stéphane Maldini
 
Serverless APIs and you
James Beswick
 
xConf-2022-api-gateway-service-mesh.pdf
Wesley Reisz
 
Spring Cloud Gateway - Stéphane Maldini
VMware Tanzu
 
Role of edge gateways in relation to service mesh adoption
Christian Posta
 
Event-Driven Serverless Architecture - the next big thing in the cloud (Cleme...
Codit
 
An eventful tour from enterprise integration to serverless and functions
Christian Posta
 
Cloud Native Patterns Using AWS - Practical Examples
Anderson Carvalho
 
Cloud Native Patterns Using AWS
Anderson Carvalho
 
Serverless Architectures
SuraiyaHasan19004210
 
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Srini Karlekar
 
Living on the Edge With Spring Cloud Gateway - Cora Iberkleid
VMware Tanzu
 
Living on the Edge With Spring Cloud Gateway - Cora Iberkleid
VMware Tanzu
 
AWS Community Day - Amy Negrette - Gateways to Gateways
AWS Chicago
 
Breaking it Down: Microservices Architecture for PHP Developers
pmeth1
 
20 ways event-driven architectures can improve your development - Copy.pptx
James Beswick
 
Spring Cloud Gateway - Ryan Baxter
VMware Tanzu
 
Building Event-driven Architectures with Amazon EventBridge
James Beswick
 
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
Vadim Zendejas
 

Recently uploaded (20)

PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Biography of Daniel Podor.pdf
Daniel Podor
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Ad

Using the Event Gateway To Build Multi-Cloud Serverless Applications - JeffConf Hamburg 2018