SlideShare a Scribd company logo
1 of 19
Download to read offline
AZURE
FUNCTIONS
CLOUDIFICATION
WHAT TO EXPECT :
2
GET FAMILIAR WITH AZURE FUNCTIONS
PRICING MODEL
DEMO
MANAGEMENT, SECURITY AND PERFORMANCE
Copyright © 2017 AxEdge Consulting. All rights reserved.
3
AZURE FUNCTIONS
 Azure Functions is a serverless compute
service that enables you to run code on-
demand without having to explicitly provision or
manage infrastructure
 Functions provides a fully managed
compute platform with high reliability and
security.
• Manage your apps instead of infrastructure.
• Gain flexible scaling.
• Only pay for resources you use.
Copyright © 2017 AxEdge Consulting. All rights reserved.
AZURE FUNCTIONS - FEATURES
Copyright © 2017 AxEdge Consulting. All rights reserved.
Easily leverage Azure services and
software-as-a-service (SaaS)
offerings.
Pay only for the time spent
running your code depending
on
• Executions.
• Resource Consumption
Write functions using:
C#, F#, Node.js, Python, PHP,
batch, bash, or any executable.
• Protect HTTP-triggered functions with
OAuth provider.
• Managed Service Identity.
• RBAC
• Supports NuGet and NPM
CHOICE OF LANGUAGE SECURITY
SIMPLIFIED INTEGRATION PRICING
4
BRING YOU DEPENDENCIES
FLEXIBLE DEPLOYMENT
• Through Azure Portal.
• Set up continuous
integration and deploy your
code through
 GitHub
 Visual Studio Team
Services
AZURE FUNCTIONS ARCHITECTURE
Built on top of App Service and Webjobs SDK
SUPPORTED LANGUAGES
Copyright © 2017 AxEdge Consulting. All rights reserved. 6
Microsoft Confidential
TRIGGERS
7
 A trigger defines how a function is
invoked.
 A function must have exactly one trigger.
 Triggers have associated data, which is
usually the payload that triggered the
function.
 Direction of a trigger is always in.
INTEGRATIONS – OUTPUT/ INPUT BINDINGS
Copyright © 2017 AxEdge Consulting. All rights reserved. 8
COSMOS DB
AZURE SERVICE BUS
GITHUB
NOTIFICATION HUB
AZURE STORAGE
AZURE EVENT HUB
AZURE MOBILE TABLETS
SUPPORTED BINDINGS
TYPE SERVICE TRIGGER INPUT OUTPUT
Schedule Azure Functions ✔
HTTP (REST or webhook) Azure Functions ✔ ✔**
Blob Storage Azure Storage ✔ ✔ ✔
Events Azure Event Hubs ✔ ✔
Queues Azure Storage ✔ ✔
Queues and topics Azure Service Bus ✔ ✔
Storage tables Azure Storage ✔ ✔
SQL tables Azure Mobile Apps ✔ ✔
NoSQL DB Azure Cosmos DB ✔ ✔ ✔
Push Notifications Azure Notification Hubs ✔
Twilio SMS Text Twilio ✔
SendGrid email SendGrid ✔
Excel tables Microsoft Graph ✔ ✔
OneDrive files Microsoft Graph ✔ ✔
Outlook email Microsoft Graph ✔
Microsoft Graph events Microsoft Graph ✔ ✔ ✔
Auth tokens Microsoft Graph ✔
Copyright © 2017 AxEdge Consulting. All rights reserved. 9
AZURE FUNCTIONS
TECHNICAL CONCEPTS AND COMPONENTS
FUNCTION APP
 Comprised of one or more
individual functions that are
managed together by azure app
service.
 All of the functions in a function
app share the same pricing plan,
continuous deployment and
runtime version.
Copyright © 2017 AxEdge Consulting. All rights reserved. 10
RUNTIME
The runtime, or script host, is the
underlying webjobs SDK host
that
• listens for events
• gathers and sends data
• ultimately runs your code
To facilitate http triggers, there is
also a web host that is designed
to sit in front of the script host in
production scenarios.
Having two hosts helps to isolate
the script host from the front end
traffic managed by the web host
FUNCTION CODE
 A function is the primary concept
in Azure Functions.
• Write Code in a Language of
your choice.
• Save the code and configuration
files in the same folder.
Microsoft Confidential 11
CONSUMPTION PLAN
Copyright © 2017 AxEdge Consulting. All rights reserved. 12
Consumption plan – Pay as you go.
• Dynamic scaling based on the number of incoming requests.
• Pricing based on Resource consumption and Executions.
• Free grant of 1 million requests and 400000 GBs.
• Maximum execution time of 10 mins for a function.
• Max memory limit of 1.5 GB per instance of function host.
APP SERVICE PLAN
Copyright © 2017 AxEdge Consulting. All rights reserved. 13
App Service plan
• Function apps run on dedicated VMs on Basic, Standard, Premium, and Isolated SKUs.
• Azure function host is always running.
• Same as cost of VMs.
• Scale out using autoscaling.
Consider an App Service plan in the following cases:
 Existing, underutilized VMs that are already running other App Service instances.
 Function apps to run continuously, or nearly continuously.
 More CPU or memory .
 Run functions longer than the maximum execution time allowed on the Consumption plan (of 10 minutes).
 Require features that are only available on an App Service plan.
PERFORMANCE CONSIDERATIONS
Copyright © 2017 AxEdge Consulting. All rights reserved. 14
Avoid Long Running Functions
Functions should be stateless
and idempotent if possible.
Cross function communication
Write defensive functions
Use async code but avoid
blocking calls
Don't mix test and production
code in the same function app
SECURITY FEATURES
 Azure services integration is done with TLS encrypted connections (over port 443).
 Supports SSO.
 Integrated with managed service identity
 Can be integrated with azure active directory (AAD)
 Supports on premise secure token service (STS) such as active directory federation
services (adfs).
 Supports popular authentication protocols, such as oauth 2.0, openid connect, and SAML
2.0
 Can also configure function apps to use 3rd party login authentications like Facebook,
Google, Microsoft account and Twitter.
Copyright © 2017 AxEdge Consulting. All rights reserved. 15
MONITOR
Application Insights for monitoring functions.
 You can use application insights without any custom configuration, but
the default configuration can result in high volumes of data and can hit
data cap for app insights.
Azure functions logger includes:
Categories
 The category indicates which part of the runtime code or your function
code wrote the log.
Log levels
 The azure functions logger also includes a log level with every log
Real-time monitoring
Monitor log files from a command line
Monitor function app log files with PowerShell
Copyright © 2017 AxEdge Consulting. All rights reserved. 16
DURABLE FUNCTIONS
Copyright © 2017 AxEdge Consulting. All rights reserved. 17
FUNCTION CHAINING FAN-OUT/FAN-IN ASYNC HTTP APIS
STATEFUL SINGLETONS HUMAN INTERACTION
Copyright © 2018 AxEdge Consulting. All rights reserved. 18
Copyright © 2018 AxEdge Consulting. All rights reserved. 19

More Related Content

What's hot

Infrastructure as Code on Azure - NET Conf AR v2018
Infrastructure as Code on Azure - NET Conf AR v2018 Infrastructure as Code on Azure - NET Conf AR v2018
Infrastructure as Code on Azure - NET Conf AR v2018 Victor Silva
 
Intro to Azure Static Web Apps
Intro to Azure Static Web AppsIntro to Azure Static Web Apps
Intro to Azure Static Web AppsMoaid Hathot
 
TechEvent Infrastructure as Code on Azure
TechEvent Infrastructure as Code on AzureTechEvent Infrastructure as Code on Azure
TechEvent Infrastructure as Code on AzureTrivadis
 
IaaS with ARM templates for Azure
IaaS with ARM templates for AzureIaaS with ARM templates for Azure
IaaS with ARM templates for AzureChristoffer Noring
 
WKS420 Create an IoT Gateway & Establish a Data Pipeline to AWS IoT with Intel
WKS420 Create an IoT Gateway & Establish a Data Pipeline to AWS IoT with IntelWKS420 Create an IoT Gateway & Establish a Data Pipeline to AWS IoT with Intel
WKS420 Create an IoT Gateway & Establish a Data Pipeline to AWS IoT with IntelAmazon Web Services
 
Azure for AWS & GCP Pros: Which Azure services to use?
Azure for AWS & GCP Pros: Which Azure services to use?Azure for AWS & GCP Pros: Which Azure services to use?
Azure for AWS & GCP Pros: Which Azure services to use?Daniel Zivkovic
 
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...Trivadis
 
Serverless API with Azure Functions
Serverless API with Azure FunctionsServerless API with Azure Functions
Serverless API with Azure FunctionsAnalben Mehta
 
Serverless Stream Processing with Bill Bejeck
Serverless Stream Processing with Bill BejeckServerless Stream Processing with Bill Bejeck
Serverless Stream Processing with Bill Bejeckconfluent
 
Azure Service Fabric: The road ahead for microservices
Azure Service Fabric: The road ahead for microservicesAzure Service Fabric: The road ahead for microservices
Azure Service Fabric: The road ahead for microservicesMicrosoft Tech Community
 
Running Splunk on AWS
Running Splunk on AWSRunning Splunk on AWS
Running Splunk on AWSAlan Williams
 
How to Deploy .NET Code to AWS from Within Visual Studio - AWS Online Tech Talks
How to Deploy .NET Code to AWS from Within Visual Studio - AWS Online Tech TalksHow to Deploy .NET Code to AWS from Within Visual Studio - AWS Online Tech Talks
How to Deploy .NET Code to AWS from Within Visual Studio - AWS Online Tech TalksAmazon Web Services
 
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...Amazon Web Services
 
[Serverless OpenHack Tokyo] Azure Serverless (English)
[Serverless OpenHack Tokyo] Azure Serverless (English)[Serverless OpenHack Tokyo] Azure Serverless (English)
[Serverless OpenHack Tokyo] Azure Serverless (English)Naoki (Neo) SATO
 
Securing an Azure full-PaaS architecture - Data saturday #0001 Pordenone
Securing an Azure full-PaaS architecture - Data saturday #0001 PordenoneSecuring an Azure full-PaaS architecture - Data saturday #0001 Pordenone
Securing an Azure full-PaaS architecture - Data saturday #0001 PordenoneMarco Obinu
 
Azure Automation and Update Management
Azure Automation and Update ManagementAzure Automation and Update Management
Azure Automation and Update ManagementUdaiappa Ramachandran
 

What's hot (20)

Infrastructure as Code on Azure - NET Conf AR v2018
Infrastructure as Code on Azure - NET Conf AR v2018 Infrastructure as Code on Azure - NET Conf AR v2018
Infrastructure as Code on Azure - NET Conf AR v2018
 
Intro to Azure Static Web Apps
Intro to Azure Static Web AppsIntro to Azure Static Web Apps
Intro to Azure Static Web Apps
 
Azure Functions - Introduction
Azure Functions - IntroductionAzure Functions - Introduction
Azure Functions - Introduction
 
Azure web apps
Azure web appsAzure web apps
Azure web apps
 
TechEvent Infrastructure as Code on Azure
TechEvent Infrastructure as Code on AzureTechEvent Infrastructure as Code on Azure
TechEvent Infrastructure as Code on Azure
 
IaaS with ARM templates for Azure
IaaS with ARM templates for AzureIaaS with ARM templates for Azure
IaaS with ARM templates for Azure
 
WKS420 Create an IoT Gateway & Establish a Data Pipeline to AWS IoT with Intel
WKS420 Create an IoT Gateway & Establish a Data Pipeline to AWS IoT with IntelWKS420 Create an IoT Gateway & Establish a Data Pipeline to AWS IoT with Intel
WKS420 Create an IoT Gateway & Establish a Data Pipeline to AWS IoT with Intel
 
Azure for AWS & GCP Pros: Which Azure services to use?
Azure for AWS & GCP Pros: Which Azure services to use?Azure for AWS & GCP Pros: Which Azure services to use?
Azure for AWS & GCP Pros: Which Azure services to use?
 
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
 
Serverless API with Azure Functions
Serverless API with Azure FunctionsServerless API with Azure Functions
Serverless API with Azure Functions
 
Azure functions
Azure functionsAzure functions
Azure functions
 
Serverless Stream Processing with Bill Bejeck
Serverless Stream Processing with Bill BejeckServerless Stream Processing with Bill Bejeck
Serverless Stream Processing with Bill Bejeck
 
Azure Service Fabric: The road ahead for microservices
Azure Service Fabric: The road ahead for microservicesAzure Service Fabric: The road ahead for microservices
Azure Service Fabric: The road ahead for microservices
 
Running Splunk on AWS
Running Splunk on AWSRunning Splunk on AWS
Running Splunk on AWS
 
How to Deploy .NET Code to AWS from Within Visual Studio - AWS Online Tech Talks
How to Deploy .NET Code to AWS from Within Visual Studio - AWS Online Tech TalksHow to Deploy .NET Code to AWS from Within Visual Studio - AWS Online Tech Talks
How to Deploy .NET Code to AWS from Within Visual Studio - AWS Online Tech Talks
 
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
 
[Serverless OpenHack Tokyo] Azure Serverless (English)
[Serverless OpenHack Tokyo] Azure Serverless (English)[Serverless OpenHack Tokyo] Azure Serverless (English)
[Serverless OpenHack Tokyo] Azure Serverless (English)
 
Securing an Azure full-PaaS architecture - Data saturday #0001 Pordenone
Securing an Azure full-PaaS architecture - Data saturday #0001 PordenoneSecuring an Azure full-PaaS architecture - Data saturday #0001 Pordenone
Securing an Azure full-PaaS architecture - Data saturday #0001 Pordenone
 
Azure Batch and MPI
Azure Batch and MPIAzure Batch and MPI
Azure Batch and MPI
 
Azure Automation and Update Management
Azure Automation and Update ManagementAzure Automation and Update Management
Azure Automation and Update Management
 

Similar to Azure Functions

Azure Functions.pptx
Azure Functions.pptxAzure Functions.pptx
Azure Functions.pptxYachikaKamra
 
Azure realtime-interview questions - part 7
Azure realtime-interview questions - part 7Azure realtime-interview questions - part 7
Azure realtime-interview questions - part 7Malleswar Reddy
 
Build intelligent solutions using Azure
Build intelligent solutions using AzureBuild intelligent solutions using Azure
Build intelligent solutions using AzureMostafa
 
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic Apps2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic AppsSandro Pereira
 
SAFwAD @ Intelligent Cloud Conference
SAFwAD @ Intelligent Cloud ConferenceSAFwAD @ Intelligent Cloud Conference
SAFwAD @ Intelligent Cloud ConferenceRick van den Bosch
 
Build intelligent solutions using ms azure
Build intelligent solutions using ms azureBuild intelligent solutions using ms azure
Build intelligent solutions using ms azureMostafa
 
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud ServicesGIDS 2019: Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud ServicesPatrick Chanezon
 
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud ServicesDockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud ServicesPatrick Chanezon
 
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud ServicesDCSF 19 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud ServicesDocker, Inc.
 
How to create a Function App on Cosmos DB
How to create a Function App on Cosmos DBHow to create a Function App on Cosmos DB
How to create a Function App on Cosmos DBHansamali Gamage
 
AWS 2016 re:Invent Launch Summary
AWS 2016 re:Invent Launch SummaryAWS 2016 re:Invent Launch Summary
AWS 2016 re:Invent Launch SummaryAmazon Web Services
 
Four Scenarios for an Integration Service Environment (ISE)
Four Scenarios for an Integration Service Environment (ISE)Four Scenarios for an Integration Service Environment (ISE)
Four Scenarios for an Integration Service Environment (ISE)Daniel Toomey
 
Getting started with development in azure
Getting started with development in azureGetting started with development in azure
Getting started with development in azureJasjit Chopra
 
Azure functions: Build apps faster with serverless architecture (March 2018)
Azure functions: Build apps faster with serverless architecture (March 2018)Azure functions: Build apps faster with serverless architecture (March 2018)
Azure functions: Build apps faster with serverless architecture (March 2018)Callon Campbell
 
Azure satpn19 time series analytics with azure adx
Azure satpn19   time series analytics with azure adxAzure satpn19   time series analytics with azure adx
Azure satpn19 time series analytics with azure adxRiccardo Zamana
 
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Deep Dive Azure Functions - Global Azure Bootcamp 2019Deep Dive Azure Functions - Global Azure Bootcamp 2019
Deep Dive Azure Functions - Global Azure Bootcamp 2019Andrea Tosato
 
Scalable APIs with Azure Functions
Scalable APIs with Azure FunctionsScalable APIs with Azure Functions
Scalable APIs with Azure FunctionsChristos Matskas
 
Unleash the power of Serverless Computing
Unleash the power of Serverless ComputingUnleash the power of Serverless Computing
Unleash the power of Serverless ComputingGaurav Madaan
 

Similar to Azure Functions (20)

Azure Functions.pptx
Azure Functions.pptxAzure Functions.pptx
Azure Functions.pptx
 
Azure realtime-interview questions - part 7
Azure realtime-interview questions - part 7Azure realtime-interview questions - part 7
Azure realtime-interview questions - part 7
 
Azure functions
Azure functionsAzure functions
Azure functions
 
Build intelligent solutions using Azure
Build intelligent solutions using AzureBuild intelligent solutions using Azure
Build intelligent solutions using Azure
 
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic Apps2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
 
SAFwAD @ Intelligent Cloud Conference
SAFwAD @ Intelligent Cloud ConferenceSAFwAD @ Intelligent Cloud Conference
SAFwAD @ Intelligent Cloud Conference
 
ServerLess by usama Azure fuctions.pptx
ServerLess by usama Azure fuctions.pptxServerLess by usama Azure fuctions.pptx
ServerLess by usama Azure fuctions.pptx
 
Build intelligent solutions using ms azure
Build intelligent solutions using ms azureBuild intelligent solutions using ms azure
Build intelligent solutions using ms azure
 
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud ServicesGIDS 2019: Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
 
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud ServicesDockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
 
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud ServicesDCSF 19 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
 
How to create a Function App on Cosmos DB
How to create a Function App on Cosmos DBHow to create a Function App on Cosmos DB
How to create a Function App on Cosmos DB
 
AWS 2016 re:Invent Launch Summary
AWS 2016 re:Invent Launch SummaryAWS 2016 re:Invent Launch Summary
AWS 2016 re:Invent Launch Summary
 
Four Scenarios for an Integration Service Environment (ISE)
Four Scenarios for an Integration Service Environment (ISE)Four Scenarios for an Integration Service Environment (ISE)
Four Scenarios for an Integration Service Environment (ISE)
 
Getting started with development in azure
Getting started with development in azureGetting started with development in azure
Getting started with development in azure
 
Azure functions: Build apps faster with serverless architecture (March 2018)
Azure functions: Build apps faster with serverless architecture (March 2018)Azure functions: Build apps faster with serverless architecture (March 2018)
Azure functions: Build apps faster with serverless architecture (March 2018)
 
Azure satpn19 time series analytics with azure adx
Azure satpn19   time series analytics with azure adxAzure satpn19   time series analytics with azure adx
Azure satpn19 time series analytics with azure adx
 
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Deep Dive Azure Functions - Global Azure Bootcamp 2019Deep Dive Azure Functions - Global Azure Bootcamp 2019
Deep Dive Azure Functions - Global Azure Bootcamp 2019
 
Scalable APIs with Azure Functions
Scalable APIs with Azure FunctionsScalable APIs with Azure Functions
Scalable APIs with Azure Functions
 
Unleash the power of Serverless Computing
Unleash the power of Serverless ComputingUnleash the power of Serverless Computing
Unleash the power of Serverless Computing
 

Recently uploaded

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 

Recently uploaded (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

Azure Functions

  • 2. WHAT TO EXPECT : 2 GET FAMILIAR WITH AZURE FUNCTIONS PRICING MODEL DEMO MANAGEMENT, SECURITY AND PERFORMANCE Copyright © 2017 AxEdge Consulting. All rights reserved.
  • 3. 3 AZURE FUNCTIONS  Azure Functions is a serverless compute service that enables you to run code on- demand without having to explicitly provision or manage infrastructure  Functions provides a fully managed compute platform with high reliability and security. • Manage your apps instead of infrastructure. • Gain flexible scaling. • Only pay for resources you use. Copyright © 2017 AxEdge Consulting. All rights reserved.
  • 4. AZURE FUNCTIONS - FEATURES Copyright © 2017 AxEdge Consulting. All rights reserved. Easily leverage Azure services and software-as-a-service (SaaS) offerings. Pay only for the time spent running your code depending on • Executions. • Resource Consumption Write functions using: C#, F#, Node.js, Python, PHP, batch, bash, or any executable. • Protect HTTP-triggered functions with OAuth provider. • Managed Service Identity. • RBAC • Supports NuGet and NPM CHOICE OF LANGUAGE SECURITY SIMPLIFIED INTEGRATION PRICING 4 BRING YOU DEPENDENCIES FLEXIBLE DEPLOYMENT • Through Azure Portal. • Set up continuous integration and deploy your code through  GitHub  Visual Studio Team Services
  • 5. AZURE FUNCTIONS ARCHITECTURE Built on top of App Service and Webjobs SDK
  • 6. SUPPORTED LANGUAGES Copyright © 2017 AxEdge Consulting. All rights reserved. 6
  • 7. Microsoft Confidential TRIGGERS 7  A trigger defines how a function is invoked.  A function must have exactly one trigger.  Triggers have associated data, which is usually the payload that triggered the function.  Direction of a trigger is always in.
  • 8. INTEGRATIONS – OUTPUT/ INPUT BINDINGS Copyright © 2017 AxEdge Consulting. All rights reserved. 8 COSMOS DB AZURE SERVICE BUS GITHUB NOTIFICATION HUB AZURE STORAGE AZURE EVENT HUB AZURE MOBILE TABLETS
  • 9. SUPPORTED BINDINGS TYPE SERVICE TRIGGER INPUT OUTPUT Schedule Azure Functions ✔ HTTP (REST or webhook) Azure Functions ✔ ✔** Blob Storage Azure Storage ✔ ✔ ✔ Events Azure Event Hubs ✔ ✔ Queues Azure Storage ✔ ✔ Queues and topics Azure Service Bus ✔ ✔ Storage tables Azure Storage ✔ ✔ SQL tables Azure Mobile Apps ✔ ✔ NoSQL DB Azure Cosmos DB ✔ ✔ ✔ Push Notifications Azure Notification Hubs ✔ Twilio SMS Text Twilio ✔ SendGrid email SendGrid ✔ Excel tables Microsoft Graph ✔ ✔ OneDrive files Microsoft Graph ✔ ✔ Outlook email Microsoft Graph ✔ Microsoft Graph events Microsoft Graph ✔ ✔ ✔ Auth tokens Microsoft Graph ✔ Copyright © 2017 AxEdge Consulting. All rights reserved. 9
  • 10. AZURE FUNCTIONS TECHNICAL CONCEPTS AND COMPONENTS FUNCTION APP  Comprised of one or more individual functions that are managed together by azure app service.  All of the functions in a function app share the same pricing plan, continuous deployment and runtime version. Copyright © 2017 AxEdge Consulting. All rights reserved. 10 RUNTIME The runtime, or script host, is the underlying webjobs SDK host that • listens for events • gathers and sends data • ultimately runs your code To facilitate http triggers, there is also a web host that is designed to sit in front of the script host in production scenarios. Having two hosts helps to isolate the script host from the front end traffic managed by the web host FUNCTION CODE  A function is the primary concept in Azure Functions. • Write Code in a Language of your choice. • Save the code and configuration files in the same folder.
  • 12. CONSUMPTION PLAN Copyright © 2017 AxEdge Consulting. All rights reserved. 12 Consumption plan – Pay as you go. • Dynamic scaling based on the number of incoming requests. • Pricing based on Resource consumption and Executions. • Free grant of 1 million requests and 400000 GBs. • Maximum execution time of 10 mins for a function. • Max memory limit of 1.5 GB per instance of function host.
  • 13. APP SERVICE PLAN Copyright © 2017 AxEdge Consulting. All rights reserved. 13 App Service plan • Function apps run on dedicated VMs on Basic, Standard, Premium, and Isolated SKUs. • Azure function host is always running. • Same as cost of VMs. • Scale out using autoscaling. Consider an App Service plan in the following cases:  Existing, underutilized VMs that are already running other App Service instances.  Function apps to run continuously, or nearly continuously.  More CPU or memory .  Run functions longer than the maximum execution time allowed on the Consumption plan (of 10 minutes).  Require features that are only available on an App Service plan.
  • 14. PERFORMANCE CONSIDERATIONS Copyright © 2017 AxEdge Consulting. All rights reserved. 14 Avoid Long Running Functions Functions should be stateless and idempotent if possible. Cross function communication Write defensive functions Use async code but avoid blocking calls Don't mix test and production code in the same function app
  • 15. SECURITY FEATURES  Azure services integration is done with TLS encrypted connections (over port 443).  Supports SSO.  Integrated with managed service identity  Can be integrated with azure active directory (AAD)  Supports on premise secure token service (STS) such as active directory federation services (adfs).  Supports popular authentication protocols, such as oauth 2.0, openid connect, and SAML 2.0  Can also configure function apps to use 3rd party login authentications like Facebook, Google, Microsoft account and Twitter. Copyright © 2017 AxEdge Consulting. All rights reserved. 15
  • 16. MONITOR Application Insights for monitoring functions.  You can use application insights without any custom configuration, but the default configuration can result in high volumes of data and can hit data cap for app insights. Azure functions logger includes: Categories  The category indicates which part of the runtime code or your function code wrote the log. Log levels  The azure functions logger also includes a log level with every log Real-time monitoring Monitor log files from a command line Monitor function app log files with PowerShell Copyright © 2017 AxEdge Consulting. All rights reserved. 16
  • 17. DURABLE FUNCTIONS Copyright © 2017 AxEdge Consulting. All rights reserved. 17 FUNCTION CHAINING FAN-OUT/FAN-IN ASYNC HTTP APIS STATEFUL SINGLETONS HUMAN INTERACTION
  • 18. Copyright © 2018 AxEdge Consulting. All rights reserved. 18
  • 19. Copyright © 2018 AxEdge Consulting. All rights reserved. 19