Introduction To Serverless Compute With Azure Functions: Callon Campbell Systems Architect
Introduction To Serverless Compute With Azure Functions: Callon Campbell Systems Architect
Callon Campbell
Systems Architect
About me
Callon Campbell
Systems Architect / Developer. 19 years of
experience developing desktop, mobile and web
enterprise applications using .NET Framework, SQL
Server and Azure technologies.
Co-creator of ReflectInsight, a.NET logging
framework and a real-time Live Log Viewer.
Microsoft Azure 3
What is Azure Functions?
• Azure Functions are a serverless event driven compute on
demand experience
Microsoft Azure
Serverless scale
Function
Microservice
Function
Function
Microservice Function
Function
Microsoft Azure 7
Benefits of serverless
Microsoft Azure 8
Realizing serverless benefits
Microsoft Azure 9
What can I do with Azure Functions?
• Azure Functions are great for processing data,
integrating systems, working with IoT, simple API’s
and microservices
• Azure Functions provide templates for a number of
key scenarios
• Azure Functions supports
• Triggers - a way to start execution
• Bindings - a way to simplify code for input and output of
data
Microsoft Azure 10
Integrations
• Azure Functions can be Supported Integrations
triggered by virtually any
event in Azure, other 3rd • CosmosDB
party services or even from • Event Hubs
on-premise systems • Mobile Apps (tables)
• Notification Hubs
• Service Bus (queues, topics)
• These services can trigger
• Storage (blob, queues, tables)
your function (startup) or
• GitHub (webhooks)
serve as input and output
• Twilio (SMS messages)
for your code
• On-premises (using Service Bus)
Microsoft Azure 11
Microsoft Azure 12
Azure Functions runtime versions
Microsoft Azure
Develop how you want
Microsoft Azure 14
Demo 1:
Azure Functions
from Portal
Demo 2:
Azure Functions
from Visual Studio
Common scenarios for Azure Functions
Microsoft Azure 29
Timer-based processing
Azure Functions supports an event based on a timer
using CRON job syntax.
Microsoft Azure 30
Azure service event processing
Azure Functions supports triggering an event based
on an activity in an Azure service.
Microsoft Azure 31
SaaS event processing
Azure Functions supports triggers based on activity in
a SaaS service.
Microsoft Azure 32
Serverless web application architectures
Azure Functions can power a single page app.
Microsoft Azure 33
Serverless mobile backends
A mobile backend can be just a set of HTTP APIs that
are called from a mobile client using the WebHook
URL.
Microsoft Azure 34
Real-time stream processing
Azure Functions can power an IoT Stream Analytics
app.
Microsoft Azure 35
Real-time bot messaging
Azure Functions can be used to customize the
behavior of a bot using a WebHook.
Microsoft Azure 36
Summary
Microsoft Azure 37
Summary
• With Azure Functions, the focus is on the code and not
managing the infrastructure.
Microsoft Azure 39
Azure Functions are bricks.
You are the architect!
Thank you!
[email protected]
TheFlyingMaverick.com
@Flying_Maverick
Microsoft Azure 41
What’s next?
• Try Azure Functions for free:
https://azure.microsoft.com/en-us/try/app-service/
• Blog:https://blogs.msdn.microsoft.com/appservicete
am/tag/azure-functions/
• Twitter: @AzureFunctions
• Learn more at Microsoft Virtual Academy and
Channel 9
Microsoft Azure 42
References
• https://azure.microsoft.com/en-us/services/functions/
• https://functions.azure.com/
• https://portal.azure.com/
• https://docs.microsoft.com/en-us/azure/azure-functions/
• https://azure.microsoft.com/en-us/pricing/details/functions/
• Azure Functions in Practice
• Azure - Serverless Architecture with Azure Functions
• Visual Studio Tools for Azure Functions Preview
• Azure Storage Explorer
Microsoft Azure 43