SlideShare a Scribd company logo
Serverless in Azure with Functions
Sponsors
Serverless in Azure with Functions
https://cmatskas.com
Serverless in Azure with Functions
Serverless in Azure with Functions
Serverless in Azure with Functions
Serverless in Azure with Functions
Serverless in Azure with Functions
Serverless in Azure with Functions
Serverless in Azure with Functions
Web Glue
Bots IoT
Serverless in Azure with Functions
Serverless Apps Lifecycle
Design Develop Deploy Monitor
Design
Design Develop Deploy Monitor
Distributed Architecture
• Design stateless and ASync solutions to enable scaling.
• Connect with other Azure Services via triggers and bindings.
• Leverage proxies for API abstraction and composition.
• Use Logic Apps to orchestrate workflows
• Use managed connectors to abstract calls to cloud and on-premises services.
Cloud DevOps
• Design for automation. Use ARM templates.
• Design DevOps for the cloud: safe deployment with test/development and
production environment separation and test on the target platform.
• Monitor the running apps with App Insights and tune for best experience.
Serverless in Azure with Functions
Serverless in Azure with Functions
function.json
"bindings": [
{
"type": "httpTrigger",
"direction": "in",
"webHookType": "genericJson",
"name": "req"
},
{
"type": "http",
"direction": "out",
"name": "res"
},
{
"type": "queue",
"name": "eventOutput",
"queueName": "aievents1",
"connection":"AiStorageConnection",
"direction": "out"
}
]
public static class OrderHandler
{
[FunctionName("OrderWebhook")]
public static async Task<HttpResponseMessage> Run(
[HttpTrigger] HttpRequestMessage req,
[Queue("aievents1", Connection = "AiStorageConnection")]
IAsyncCollector<String> eventOutput,
TraceWriter log)
{
log.Info($"Webhook was triggered!");
string jsonContent = await req.Content.ReadAsStringAsync();
dynamic data = JsonConvert.DeserializeObject(jsonContent);
await eventOutput.AddAsync(
JsonConvert.SerializeObject(GetLogData(data)));
int orderId = PlaceOrder(data);
return req.CreateResponse(HttpStatusCode.OK,
new {orderNumber = orderId });
}
. . .
}
/FB
/FA Function A
/FC
API proxy endpoints
HttpTrigger function endpoints
Key:
Design: API Abstraction and Composition
Function App A
Function C/FC
Function App C
Function B/FB
Function App B
Serverless in Azure with Functions
 Workflow in the cloud
 Powerful control flow
 Connect functions and APIs
 Declarative definition to
persist in source control and
drive deployments
Logic Apps
Cloud APIs and platform
• Supports over 125 built-in connectors
• Scales to meet your needs
• Enables rapid development
• Extends with custom APIs and
Functions
API connections
• Authenticate once and reuse
Serverless in Azure with Functions
Serverless in Azure with Functions
Develop
Design Develop Deploy Monitor
Azure Functions Core Tools
 Provides the entire Functions runtime
 Trigger off of Azure events and debug locally
JavaScript
 Use Visual Studio Code or any Node debugger
C#
 Use Visual Studio 2017 Preview
 Use class libraries with attributes in Visual Studio 2017 Preview
 Based on class libraries
 Get the full power of
IntelliSense, unit testing, and
local debugging
 Use WebJobs attributes to
define triggers and bindings
Learn more at https://aka.ms/vs2017functiontools
Serverless in Azure with Functions
 Supports Node.js v6.5.0
 Supports JS and TypeScript
 You can use the callback or
return a Promise
 VS Code support for local
debugging via CLI
 VS Code supports rich
Node.js debugging
Deploy
Design Develop Deploy Monitor
Resource deployment
• Azure Resource Manager (i.e. ARM)
Content deployment
• Visual Studio
• Azure CLI (Logic App)
• Azure Functions Core Tools (Function App)
• CI/CD
Safe deployment practices
• Use Azure Functions deployment slots for environment separation and swap
deployments
https://management.azure.com/subscriptions/<subscription ID>/
resourceGroups/<resource group>/providers/Microsoft.Web/sites/<function app>
Serverless in Azure with Functions
Serverless in Azure with Functions
Monitor
Design Develop Deploy Monitor
Serverless in Azure with Functions
 Extensible Application
Performance Management
(APM)
 Rich data: Metrics, Traces,
Exception tracking,
Dependencies, Page Views, User
data, custom events
 Easy to use graph/alerts,
powerful analytics portal,
integration with PowerBI and
other analytics services
Serverless in Azure with Functions
https://aka.ms/azafr
Developer experience
 Same consistent Programming Model
 Same Azure Functions portal
 Publish directly from Visual Studio tooling
 Leverage triggers: timer trigger and new SQL Service Broker trigger
Administrator features
 Take advantage of Azure Functions on premises
 Workers can run in spare compute – i.e. desktops left on overnight within orgs
 Only provision two types of roles
 Management Role – Hosts Portal, Publishing Endpoint and
 Worker Role – Runs Function in Windows Server Containers
 Azure offers a comprehensive Serverless Application Platform
 Azure Functions bindings and local DevEx optimize time to market
 Azure Logic Apps provide orchestration and integration with 125+
connectors
Try Azure Functions and Logic Apps: http://aka.ms/TryFunctions
Join the Azure Functions Community https://aka.ms/func-github
Serverless in Azure with Functions

More Related Content

PPTX
Going Serverless with Azure Functions
PPTX
Azure Functions - Introduction
PPTX
Azure serverless architectures
PDF
Go Serverless with Java and Azure Functions
PPTX
Serverless Application Development with Azure
PDF
Leading Edge of Modern Web Apps on Azure - Menaka - CCDays
PPTX
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
PPTX
Azure functions
Going Serverless with Azure Functions
Azure Functions - Introduction
Azure serverless architectures
Go Serverless with Java and Azure Functions
Serverless Application Development with Azure
Leading Edge of Modern Web Apps on Azure - Menaka - CCDays
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
Azure functions

What's hot (19)

PDF
Improve monitoring and observability for kubernetes with oss tools
PPTX
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
PPTX
Deploy Microservices To Kubernetes Without Secrets by Reenu Saluja
PPTX
Using Azure Functions for Integration
PPTX
Azure cloud for the web frontend developers
PPTX
WRITE SCALABLE COMMUNICATION APPLICATION WITH POWER OF SERVERLESS
PPTX
Introduction to Azure Functions - Tutorial
PDF
Shift Remote AI: Build and deploy PyTorch Models with Azure Machine Learning ...
PDF
Serverless API with Azure Functions
PDF
Azure Service Fabric - Hamida Rebai - CCDays
PDF
Building Deploying and Managing Microservices-based Applications with Azure P...
PDF
Java & Microservices in Azure
PPTX
Serverless with Azure Functions
PPTX
Azure functions
PDF
SERVERLESS MIDDLEWARE IN AZURE FUNCTIONS
PPTX
Introduction to serverless compute with azure functions
PPTX
Azure Batch and MPI
PDF
DevOps for Databricks
PDF
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
Improve monitoring and observability for kubernetes with oss tools
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Deploy Microservices To Kubernetes Without Secrets by Reenu Saluja
Using Azure Functions for Integration
Azure cloud for the web frontend developers
WRITE SCALABLE COMMUNICATION APPLICATION WITH POWER OF SERVERLESS
Introduction to Azure Functions - Tutorial
Shift Remote AI: Build and deploy PyTorch Models with Azure Machine Learning ...
Serverless API with Azure Functions
Azure Service Fabric - Hamida Rebai - CCDays
Building Deploying and Managing Microservices-based Applications with Azure P...
Java & Microservices in Azure
Serverless with Azure Functions
Azure functions
SERVERLESS MIDDLEWARE IN AZURE FUNCTIONS
Introduction to serverless compute with azure functions
Azure Batch and MPI
DevOps for Databricks
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
Ad

Similar to Serverless in Azure with Functions (20)

PPTX
Gapand 2017 - Diseñando Arquitecturas Serverless en Azure
PDF
Voxxed Days Thesaloniki 2016 - A journey to Open Source Technologies on Azure
PPTX
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
PDF
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
PPTX
Vijay Oscon
PPTX
Capture the Cloud with Azure
PPTX
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
PPTX
Teched India Vijay Interop Track
PDF
App Service Web
PPTX
Serverless on Azure with Functions
PDF
Azure DevOps Engineer Roadmap PDF By Scholarhat.pdf
PDF
Modernize Java Apps on Microsoft Azure
PPTX
Tooling and DevOps for the Hybrid Cloud with Azure and Azure Stack
PPTX
Azure App Service
DOCX
Md Zahir Uddin
PDF
Taking Spring Apps for a Spin on Microsoft Azure Cloud
PPTX
Vijay Mix Presentation
PPTX
Windows Azure
PPTX
Microsoft Azure Platform-as-a-Service (PaaS)
PDF
Microsoft Azure For Solutions Architects
Gapand 2017 - Diseñando Arquitecturas Serverless en Azure
Voxxed Days Thesaloniki 2016 - A journey to Open Source Technologies on Azure
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
Vijay Oscon
Capture the Cloud with Azure
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
Teched India Vijay Interop Track
App Service Web
Serverless on Azure with Functions
Azure DevOps Engineer Roadmap PDF By Scholarhat.pdf
Modernize Java Apps on Microsoft Azure
Tooling and DevOps for the Hybrid Cloud with Azure and Azure Stack
Azure App Service
Md Zahir Uddin
Taking Spring Apps for a Spin on Microsoft Azure Cloud
Vijay Mix Presentation
Windows Azure
Microsoft Azure Platform-as-a-Service (PaaS)
Microsoft Azure For Solutions Architects
Ad

More from Christos Matskas (20)

PPTX
Introduction to the Microsoft identity platform for developers
PPTX
Secure and scalable apps with .net and azure
PPTX
Azure Managed Identities and service principals
PPTX
Scalable APIs with Azure Functions
PPTX
0 to hero with Azure DevOps
PPTX
Serverless architecture with Azure
PPTX
Extreme microservices with Azure Functions
PPTX
Serverless with azure functions the rebel service
PPTX
Becoming an awesome Open Source contributor and maintainer
PPTX
Visual Studio Code and JavaScript - a pair made in heaven
PPTX
Universal windows platform - Application development done right
PPTX
How to become an awesome oss
PPTX
TypeScript - Your regular JavaScript on steroids
PPTX
How to become an awesome Open Source contributor
PPTX
IoT fun with Raspberry Pi and .NET
PPTX
Mobile application architecture
PPTX
Visual Studio 2015 - Productivity tips & tricks
PPTX
Common mistakes in tdd can you guess
PPTX
Getting Started With Microsoft Azure
PPTX
Microsoft ASP.NET 5 - The new kid on the block
Introduction to the Microsoft identity platform for developers
Secure and scalable apps with .net and azure
Azure Managed Identities and service principals
Scalable APIs with Azure Functions
0 to hero with Azure DevOps
Serverless architecture with Azure
Extreme microservices with Azure Functions
Serverless with azure functions the rebel service
Becoming an awesome Open Source contributor and maintainer
Visual Studio Code and JavaScript - a pair made in heaven
Universal windows platform - Application development done right
How to become an awesome oss
TypeScript - Your regular JavaScript on steroids
How to become an awesome Open Source contributor
IoT fun with Raspberry Pi and .NET
Mobile application architecture
Visual Studio 2015 - Productivity tips & tricks
Common mistakes in tdd can you guess
Getting Started With Microsoft Azure
Microsoft ASP.NET 5 - The new kid on the block

Recently uploaded (20)

PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
System and Network Administration Chapter 2
PDF
top salesforce developer skills in 2025.pdf
PDF
Digital Strategies for Manufacturing Companies
PDF
medical staffing services at VALiNTRY
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
Cost to Outsource Software Development in 2025
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
System and Network Administraation Chapter 3
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
assetexplorer- product-overview - presentation
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Transform Your Business with a Software ERP System
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Reimagine Home Health with the Power of Agentic AI​
Odoo POS Development Services by CandidRoot Solutions
System and Network Administration Chapter 2
top salesforce developer skills in 2025.pdf
Digital Strategies for Manufacturing Companies
medical staffing services at VALiNTRY
How to Choose the Right IT Partner for Your Business in Malaysia
Why Generative AI is the Future of Content, Code & Creativity?
PTS Company Brochure 2025 (1).pdf.......
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Cost to Outsource Software Development in 2025
Digital Systems & Binary Numbers (comprehensive )
System and Network Administraation Chapter 3
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
assetexplorer- product-overview - presentation
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Transform Your Business with a Software ERP System
Which alternative to Crystal Reports is best for small or large businesses.pdf
Reimagine Home Health with the Power of Agentic AI​

Serverless in Azure with Functions

  • 14. Serverless Apps Lifecycle Design Develop Deploy Monitor
  • 16. Distributed Architecture • Design stateless and ASync solutions to enable scaling. • Connect with other Azure Services via triggers and bindings. • Leverage proxies for API abstraction and composition. • Use Logic Apps to orchestrate workflows • Use managed connectors to abstract calls to cloud and on-premises services. Cloud DevOps • Design for automation. Use ARM templates. • Design DevOps for the cloud: safe deployment with test/development and production environment separation and test on the target platform. • Monitor the running apps with App Insights and tune for best experience.
  • 19. function.json "bindings": [ { "type": "httpTrigger", "direction": "in", "webHookType": "genericJson", "name": "req" }, { "type": "http", "direction": "out", "name": "res" }, { "type": "queue", "name": "eventOutput", "queueName": "aievents1", "connection":"AiStorageConnection", "direction": "out" } ] public static class OrderHandler { [FunctionName("OrderWebhook")] public static async Task<HttpResponseMessage> Run( [HttpTrigger] HttpRequestMessage req, [Queue("aievents1", Connection = "AiStorageConnection")] IAsyncCollector<String> eventOutput, TraceWriter log) { log.Info($"Webhook was triggered!"); string jsonContent = await req.Content.ReadAsStringAsync(); dynamic data = JsonConvert.DeserializeObject(jsonContent); await eventOutput.AddAsync( JsonConvert.SerializeObject(GetLogData(data))); int orderId = PlaceOrder(data); return req.CreateResponse(HttpStatusCode.OK, new {orderNumber = orderId }); } . . . }
  • 20. /FB /FA Function A /FC API proxy endpoints HttpTrigger function endpoints Key: Design: API Abstraction and Composition Function App A Function C/FC Function App C Function B/FB Function App B
  • 22.  Workflow in the cloud  Powerful control flow  Connect functions and APIs  Declarative definition to persist in source control and drive deployments
  • 23. Logic Apps Cloud APIs and platform • Supports over 125 built-in connectors • Scales to meet your needs • Enables rapid development • Extends with custom APIs and Functions API connections • Authenticate once and reuse
  • 27. Azure Functions Core Tools  Provides the entire Functions runtime  Trigger off of Azure events and debug locally JavaScript  Use Visual Studio Code or any Node debugger C#  Use Visual Studio 2017 Preview  Use class libraries with attributes in Visual Studio 2017 Preview
  • 28.  Based on class libraries  Get the full power of IntelliSense, unit testing, and local debugging  Use WebJobs attributes to define triggers and bindings Learn more at https://aka.ms/vs2017functiontools
  • 30.  Supports Node.js v6.5.0  Supports JS and TypeScript  You can use the callback or return a Promise  VS Code support for local debugging via CLI  VS Code supports rich Node.js debugging
  • 32. Resource deployment • Azure Resource Manager (i.e. ARM) Content deployment • Visual Studio • Azure CLI (Logic App) • Azure Functions Core Tools (Function App) • CI/CD Safe deployment practices • Use Azure Functions deployment slots for environment separation and swap deployments
  • 38.  Extensible Application Performance Management (APM)  Rich data: Metrics, Traces, Exception tracking, Dependencies, Page Views, User data, custom events  Easy to use graph/alerts, powerful analytics portal, integration with PowerBI and other analytics services
  • 41. Developer experience  Same consistent Programming Model  Same Azure Functions portal  Publish directly from Visual Studio tooling  Leverage triggers: timer trigger and new SQL Service Broker trigger Administrator features  Take advantage of Azure Functions on premises  Workers can run in spare compute – i.e. desktops left on overnight within orgs  Only provision two types of roles  Management Role – Hosts Portal, Publishing Endpoint and  Worker Role – Runs Function in Windows Server Containers
  • 42.  Azure offers a comprehensive Serverless Application Platform  Azure Functions bindings and local DevEx optimize time to market  Azure Logic Apps provide orchestration and integration with 125+ connectors Try Azure Functions and Logic Apps: http://aka.ms/TryFunctions Join the Azure Functions Community https://aka.ms/func-github

Editor's Notes

  • #3: Thank them & visit their stands Microsoft – venue Black Marble – organisation/volunteers NDC, Grey Matter, Sonoco Trident, Fiscal Technologies, iO Associates – Platinum Sponsors DevExpress – speaker/volunteer shirts Huddle – Agendas! ByBox - xxx