SlideShare a Scribd company logo
Creating real life serverless solutions with Azure Functions
Creating real life serverless solutions with Azure Functions
servers
Like PaaS
“If your PaaS can efficiently start instances in 20ms that run for
half a second, then call it serverless.”
Adrian Cockcroft - VP Cloud Architecture Strategy AWS
So, Containers?
Creating real life serverless solutions with Azure Functions
Keep It Small and Simple
Creating real life serverless solutions with Azure Functions
URL Minification
GET minified URL redirect
CREATE minified URL
QueriesCommands
Segregate all the Responsibilities
Creating real life serverless solutions with Azure Functions
CosmosDB
Oh yeah!
Creating real life serverless solutions with Azure Functions
Web App CosmosDB
Creating real life serverless solutions with Azure Functions
CosmosDB
GET
POST
CosmosDB
GET
POST
Azure cache
UPDATE Change
Feed
CosmosDB
GET
POST
Azure cache
UPDATE
Change
Feed
Queue TRIGGER
Bindings & Triggers
"bindings": [
{
"type": "httpTrigger",
"route": "{slug}",
"methods": [
"get"
],
"authLevel": "anonymous",
"name": "req"
}
],
Function, User, System & Admin
"bindings": [
{
"name": "minifiedUrl",
"type": "documentDB",
"databaseName": "MinifyRepository",
"collectionName": "MinifiedUrls",
"createIfNotExists": true,
"connection": "CosmosDbConnection",
"direction": "out"
}
],
Don’t write JSON
Creating real life serverless solutions with Azure Functions
Where to put the code
private readonly ICosmosClient cosmosClient;
public CreateUrlHandler()
{
this.cosmosClient = new CosmosClient();
}
public CreateUrlHandler(ICosmosClient cosmosClient)
{
this.cosmosClient = cosmosClient;
}
Creating real life serverless solutions with Azure Functions
CosmosDB
GET
POST
Azure cache
UPDATE
Change
Feed
Queue TRIGGER
Creating real life serverless solutions with Azure Functions
https://m.jdv.li/api/minifiedurl
or
https://m.jdv.li/minifiedurl
{
"$schema": "http://json.schemastore.org/proxies",
"proxies": {
"getminifiedredirect": {
"matchCondition": {
"methods": [ "GET" ],
"route": "/{slug}"
},
"backendUri": "https://%WEBSITE_HOSTNAME%/api/{slug}"
}
}
}
Matching conditions
https://github.com/Jandev/minifier
@Jan_de_V
jandv@4dotnet.nl
https://jan-v.nl

More Related Content

What's hot (20)

PDF
When all you have is a hammer, everything looks like Javascript - ebookcraft ...
BookNet Canada
 
PDF
Intro Couchdb
selvamanisampath
 
PDF
Into to Node.js: Building Fast, Scaleable Network Applications
Flatiron School
 
PPTX
Azure Service Fabric Mesh
Udaiappa Ramachandran
 
PPTX
ASP.NET WEB API
Waldyr Felix
 
PDF
Ng init | EPI Sousse
Hamdi Hmidi
 
PDF
DevOps on AWS
Brett Gillett
 
PDF
Getting started with node JS
Hamdi Hmidi
 
PPTX
Microservices/dropwizard
FKM Naimul Huda, PMP
 
PDF
Global Windows Azure Bootcamp : Cedric Derue playing with php on azure. (spon...
MUG-Lyon Microsoft User Group
 
PPTX
Elastic search intro-@lamper
medcl
 
PDF
【勉強会資料】ネットワークアクセス制御編 for PCI DSS
Takuro Iwaki
 
PPTX
10 Ways to Gaurantee Your Azure Project will Fail
Michael Collier
 
PDF
Consuming Web Services in Android
David Truxall
 
PDF
Infrastructure as Code: Manage your Architecture with Git
Danilo Poccia
 
PPTX
曾勇 Elastic search-intro
Shaoning Pan
 
PDF
Containers on Microsoft Azure
Toru Makabe
 
PDF
MongoDB + Node.JS + EPAM ROAD
Szilveszter Molnár
 
PPTX
A faster web
Bakani Pilime
 
PPTX
Icinga Camp Bangalore - Icinga2 API use cases and BlueJeans Inc.
Icinga
 
When all you have is a hammer, everything looks like Javascript - ebookcraft ...
BookNet Canada
 
Intro Couchdb
selvamanisampath
 
Into to Node.js: Building Fast, Scaleable Network Applications
Flatiron School
 
Azure Service Fabric Mesh
Udaiappa Ramachandran
 
ASP.NET WEB API
Waldyr Felix
 
Ng init | EPI Sousse
Hamdi Hmidi
 
DevOps on AWS
Brett Gillett
 
Getting started with node JS
Hamdi Hmidi
 
Microservices/dropwizard
FKM Naimul Huda, PMP
 
Global Windows Azure Bootcamp : Cedric Derue playing with php on azure. (spon...
MUG-Lyon Microsoft User Group
 
Elastic search intro-@lamper
medcl
 
【勉強会資料】ネットワークアクセス制御編 for PCI DSS
Takuro Iwaki
 
10 Ways to Gaurantee Your Azure Project will Fail
Michael Collier
 
Consuming Web Services in Android
David Truxall
 
Infrastructure as Code: Manage your Architecture with Git
Danilo Poccia
 
曾勇 Elastic search-intro
Shaoning Pan
 
Containers on Microsoft Azure
Toru Makabe
 
MongoDB + Node.JS + EPAM ROAD
Szilveszter Molnár
 
A faster web
Bakani Pilime
 
Icinga Camp Bangalore - Icinga2 API use cases and BlueJeans Inc.
Icinga
 

Similar to Creating real life serverless solutions with Azure Functions (19)

PDF
TechDays Sweden - Creating real-life serverless solutions with Azure Functions
Jan de Vries
 
PPTX
cosmodb ppt personal.pptxgskjhkjsfgkhkjgskhk
Central University of South Bihar
 
PPTX
Introduction to CosmosDB - Azure Bootcamp 2018
Josh Carlisle
 
PPTX
Cosmos DB and Azure Functions A serverless database processing.pptx
icebeam7
 
PPTX
DataWeekender 4_2 Cosmos DB and Azure Functions- A serverless database proces...
Luis Beltran
 
PPTX
Tech-Spark: Exploring the Cosmos DB
Ralph Attard
 
PPTX
NoSQL Migration Technical Pitch Deck
Nicholas Vossburg
 
PPTX
Azure Cosmos DB L100 Pitch Deck
Nicholas Vossburg
 
PDF
Dealing with Azure Cosmos DB
Mihail Mateev
 
PPTX
Cosmos db
Martino Bordin
 
PPTX
Azure Cosmos DB - Azure Austin Meetup
Matias Quaranta
 
PPTX
Azure Cosmos DB by Mohammed Gadi AUG April 2019
Mohammed Gadi
 
PPTX
How to create a Function App on Cosmos DB
Hansamali Gamage
 
PDF
Getting started with Cosmos DB + Linkurious Enterprise
Linkurious
 
PDF
Azure Cosmos DB: Globally Distributed Multi-Model Database Service
Denny Lee
 
PPTX
cosmodb ppt.pptxfkhkfsgkhgfkfghkhsadaljlsfdfhkgjh
Central University of South Bihar
 
PPTX
Azure Cosmos DB - NET Conf AR 2017 - English
Matias Quaranta
 
PDF
Cosmos DB - Database for Serverless era
Michał Jankowski
 
PPTX
Cosmos DB Conf - Cosmos DB + Azure Functions .pptx
Luis Beltran
 
TechDays Sweden - Creating real-life serverless solutions with Azure Functions
Jan de Vries
 
cosmodb ppt personal.pptxgskjhkjsfgkhkjgskhk
Central University of South Bihar
 
Introduction to CosmosDB - Azure Bootcamp 2018
Josh Carlisle
 
Cosmos DB and Azure Functions A serverless database processing.pptx
icebeam7
 
DataWeekender 4_2 Cosmos DB and Azure Functions- A serverless database proces...
Luis Beltran
 
Tech-Spark: Exploring the Cosmos DB
Ralph Attard
 
NoSQL Migration Technical Pitch Deck
Nicholas Vossburg
 
Azure Cosmos DB L100 Pitch Deck
Nicholas Vossburg
 
Dealing with Azure Cosmos DB
Mihail Mateev
 
Cosmos db
Martino Bordin
 
Azure Cosmos DB - Azure Austin Meetup
Matias Quaranta
 
Azure Cosmos DB by Mohammed Gadi AUG April 2019
Mohammed Gadi
 
How to create a Function App on Cosmos DB
Hansamali Gamage
 
Getting started with Cosmos DB + Linkurious Enterprise
Linkurious
 
Azure Cosmos DB: Globally Distributed Multi-Model Database Service
Denny Lee
 
cosmodb ppt.pptxfkhkfsgkhgfkfghkhsadaljlsfdfhkgjh
Central University of South Bihar
 
Azure Cosmos DB - NET Conf AR 2017 - English
Matias Quaranta
 
Cosmos DB - Database for Serverless era
Michał Jankowski
 
Cosmos DB Conf - Cosmos DB + Azure Functions .pptx
Luis Beltran
 
Ad

More from Jan de Vries (14)

PDF
Webdev Zwolle - PaaSwordless in Azure
Jan de Vries
 
PDF
Global Azure - Use Azure Active Directory Managed Identities for your services!
Jan de Vries
 
PDF
Next.Net event - Use Azure Active Directory Managed Identities for your servi...
Jan de Vries
 
PPTX
Move Up - Design je Azure Functions als een pro
Jan de Vries
 
PDF
TechDays Sweden - No Nouns!
Jan de Vries
 
PPTX
Serverless... Hoe, wat en vooral waarom
Jan de Vries
 
PPTX
Why care about serverless
Jan de Vries
 
PPTX
No nouns, hoe ga je een microservices architectuur opzetten
Jan de Vries
 
PDF
No nouns
Jan de Vries
 
PPTX
Using the Azure Container Service in your company
Jan de Vries
 
PPTX
Visual Studio 2017
Jan de Vries
 
PPTX
Applied patterns in the project
Jan de Vries
 
PPTX
Dependency injection en testen
Jan de Vries
 
PPT
Clean Code summary
Jan de Vries
 
Webdev Zwolle - PaaSwordless in Azure
Jan de Vries
 
Global Azure - Use Azure Active Directory Managed Identities for your services!
Jan de Vries
 
Next.Net event - Use Azure Active Directory Managed Identities for your servi...
Jan de Vries
 
Move Up - Design je Azure Functions als een pro
Jan de Vries
 
TechDays Sweden - No Nouns!
Jan de Vries
 
Serverless... Hoe, wat en vooral waarom
Jan de Vries
 
Why care about serverless
Jan de Vries
 
No nouns, hoe ga je een microservices architectuur opzetten
Jan de Vries
 
No nouns
Jan de Vries
 
Using the Azure Container Service in your company
Jan de Vries
 
Visual Studio 2017
Jan de Vries
 
Applied patterns in the project
Jan de Vries
 
Dependency injection en testen
Jan de Vries
 
Clean Code summary
Jan de Vries
 
Ad

Recently uploaded (20)

PPT
Brief History of Python by Learning Python in three hours
adanechb21
 
PDF
Australian Enterprises Need Project Service Automation
Navision India
 
PPTX
Chess King 25.0.0.2500 With Crack Full Free Download
cracked shares
 
PDF
Optimizing Tiered Storage for Low-Latency Real-Time Analytics at AI Scale
Alluxio, Inc.
 
PDF
Why Are More Businesses Choosing Partners Over Freelancers for Salesforce.pdf
Cymetrix Software
 
PDF
Infrastructure planning and resilience - Keith Hastings.pptx.pdf
Safe Software
 
PDF
custom development enhancement | Togglenow.pdf
aswinisuhu
 
PDF
Enhancing Security in VAST: Towards Static Vulnerability Scanning
ESUG
 
PDF
Show Which Projects Support Your Strategy and Deliver Results with OnePlan df
OnePlan Solutions
 
PPTX
Transforming Lending with IntelliGrow – Advanced Loan Software Solutions
Intelli grow
 
PDF
SAP GUI Installation Guide for macOS (iOS) | Connect to SAP Systems on Mac
SAP Vista, an A L T Z E N Company
 
PDF
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
PDF
Supabase Meetup: Build in a weekend, scale to millions
Carlo Gilmar Padilla Santana
 
PDF
How to Download and Install ADT (ABAP Development Tools) for Eclipse IDE | SA...
SAP Vista, an A L T Z E N Company
 
PDF
Instantiations Company Update (ESUG 2025)
ESUG
 
PPTX
TexSender Pro 8.9.1 Crack Full Version Download
cracked shares
 
PPTX
Operations Profile SPDX_Update_20250711_Example_05_03.pptx
Shane Coughlan
 
PPTX
Processing with Claim Management Automation Solutions
Insurance Tech Services
 
PDF
Introduction to Apache Iceberg™ & Tableflow
Alluxio, Inc.
 
PDF
Message Level Status (MLS): The Instant Feedback Mechanism for UAE e-Invoicin...
Prachi Desai
 
Brief History of Python by Learning Python in three hours
adanechb21
 
Australian Enterprises Need Project Service Automation
Navision India
 
Chess King 25.0.0.2500 With Crack Full Free Download
cracked shares
 
Optimizing Tiered Storage for Low-Latency Real-Time Analytics at AI Scale
Alluxio, Inc.
 
Why Are More Businesses Choosing Partners Over Freelancers for Salesforce.pdf
Cymetrix Software
 
Infrastructure planning and resilience - Keith Hastings.pptx.pdf
Safe Software
 
custom development enhancement | Togglenow.pdf
aswinisuhu
 
Enhancing Security in VAST: Towards Static Vulnerability Scanning
ESUG
 
Show Which Projects Support Your Strategy and Deliver Results with OnePlan df
OnePlan Solutions
 
Transforming Lending with IntelliGrow – Advanced Loan Software Solutions
Intelli grow
 
SAP GUI Installation Guide for macOS (iOS) | Connect to SAP Systems on Mac
SAP Vista, an A L T Z E N Company
 
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
Supabase Meetup: Build in a weekend, scale to millions
Carlo Gilmar Padilla Santana
 
How to Download and Install ADT (ABAP Development Tools) for Eclipse IDE | SA...
SAP Vista, an A L T Z E N Company
 
Instantiations Company Update (ESUG 2025)
ESUG
 
TexSender Pro 8.9.1 Crack Full Version Download
cracked shares
 
Operations Profile SPDX_Update_20250711_Example_05_03.pptx
Shane Coughlan
 
Processing with Claim Management Automation Solutions
Insurance Tech Services
 
Introduction to Apache Iceberg™ & Tableflow
Alluxio, Inc.
 
Message Level Status (MLS): The Instant Feedback Mechanism for UAE e-Invoicin...
Prachi Desai
 

Creating real life serverless solutions with Azure Functions