Serverless Computing Using Azure Functions
US$ 19.95
The publisher has enabled DRM protection, which means that you need to use the BookFusion iOS, Android or Web app to read this eBook. This eBook cannot be used outside of the BookFusion platform.
Description
Contents
Reviews
Language
English
ISBN
9789390684946
Cover Page
Title Page
Copyright Page
Dedication Page
About the Authors
About the Reviewers
Acknowledgements
Preface
Errata
Table of Contents
1. Overview of Azure and Serverless Computing
Structure
Objective
The evolution of cloud service platforms
On-Premises
Infrastructure as a service (IaaS)
Platform as a Service (PaaS)
Serverless
Getting to know Azure Cloud
Infrastructure as a Service
Platform as a Service
Software as a Service
Overview of Azure products and services
Introduction to Azure portal and regions
Creating an Azure account
Azure regions
Resource group
Azure Resource Manager
Azure availability zones
Azure pricing and cost analysis
Azure cost analysis
Review costs in cost analysis
View forecasted costs for a service
Overview of serverless computing
Benefits of serverless
Conclusion
Points to remember
2. Introduction to Azure Functions
Structure
Objective
Getting started with functions
Planning
Building
Testing
Deploying
Monitoring and operating
Benefits of Azure Functions
Azure Functions hosting plans
Consumption plan
Premium plan
App service plan
Difference between Azure Functions and Azure WebJobs
Introducing triggers and binding
Triggers
Bindings
Working with Azure functions app
Functions code
Functions settings
Folder structure
Runtime versions
Supported languages
Development tools
App Service Editor
Advanced tools (Kudu)
Console
Azure functions behind the scenes
Functions cold start
Cold start process
Pre-warmed instances
Preventing cold start
Conclusion
Points to remember
3. Creating Your First Azure Function
Structure
Objective
Creating a function in the Azure portal
Creating your first function app
Creating your first function in the function app
Testing and running the function in the portal
Creating a function using Visual Studio Code
Creating an Azure Functions project
Publishing a function application to Azure
Creating a function application using Visual Studio 2019
Azure CLI
Creating a function using Azure CLI
Create resource group
Create an Azure storage account
Create a serverless function app
Deploy the function app to Azure
Creating a function using an ARM template
Deleting the resource group
Conclusion
Points to remember
4. Azure Function Triggers and Bindings
Structure
Objective
Overview of triggers and bindings
Understanding triggers with a sample use case
Using Azure Functions to convert a monolithic architecture into microservices
Azure Functions Integrations in the portal
HTTP triggers and bindings
Configuring the custom HTTP endpoint for your function
Azure Blob storage triggers and bindings
Azure Functions Blob input and output bindings
Sending an email notification using SendGrid
Configuring SendGrid using the Azure portal
Configure Function App
Implementing ‘AddMessage’ function
Implementing 'SendEmail' function
Timer trigger and bindings
Conclusion
Points to remember
5. Durable Functions and Orchestration
Structure
Objective
Overview of Durable Functions
Orchestrator functions
Client functions
Activity functions
Entity functions
Understanding the working of Durable Orchestrations
Handling race condition
Sub-orchestration
Underlying Azure Storage provider for Durable Functions
History table
Instance table
Work-item queue
Control queue
Durable Functions patterns
Function chaining pattern
Fanning out and fanning in pattern
Async long-running APIs pattern
Monitor pattern
Human interaction pattern
Aggregator pattern
Working with Durable Functions
Activity function 1: Getting records from a SQL table to export
Activity function 2: Exporting records.txt file to Azure blob
Azure Function to send a file as an email attachment using SendGrid and Blob triggers
Running and testing Azure Durable Function locally
Publishing Azure Durable Function from Visual Studio
Handling exceptions in Durable Functions
Conclusion
Points to remember
6. Configuring Security for Azure Functions Security
Structure
Objective
Function access keys
Accessing host, master, and system keys
Accessing function keys
Creating a new key
Renew an existing key
Azure active directory authentication
Configuring Azure active directory authentication advanced settings
TLS/SSL certificate for function apps
Configuring protocol settings and TLS/SSL bindings
Managing private key certificates
Uploading public key certificates
Configuring auto-renewal settings
Using managed identities for functions
Enabling the system-assigned identity
Creating the user-assigned identity
Network security
Use Case 1: Integrating Azure Functions with an Azure virtual network
Creating a function app in the premium plan
Create a virtual machine in a virtual network without a public IP address
Connecting the function app to the virtual network
Creating a function proxy to access resources of the virtual network from inside the virtual network
Enabling CORS for Azure Function
Enabling access restrictions
Private endpoint connections
Network security using API Management
Conclusion
Points to remember
7. Continuous Deployment for Azure Functions
Structure
Objective
Deployment methods and technologies
Continuous integration and continuous deployment using Azure DevOps
Source control integration for deployments:
Setting up Azure DevOps account
Create Azure DevOps project in an organization
Pushing Azure Functions source code in Azure Repos
Build automation (CI) - creating a build pipeline
Deployment automation (CD) – Creating release pipeline
Building and deploying Azure Function using GitHub actions
Azure Functions deployment slots
Creating deployment slots
Swap slots
Conclusion
Points to remember
8. Troubleshooting and Monitoring Azure Functions
Structure
Objective
Integrating Azure Functions with Application Insights
Enabling Application Insights
Configuring log level
Configuring the aggregator
Query telemetry data using the Kusto Query language
Troubleshooting Azure Functions
Viewing exceptions in Application Insights
Troubleshooting guides
Diagnosing and solving problems
Starting Azure Functions diagnostics
Monitoring Azure Functions
Live streaming
Azure Monitor Logs
Azure activity log
Monitoring alerts
Creating an alert for your function
Performance monitoring of your function app
AppDynamics
Prometheus for Azure
Application maps
Integrating Application Insights with Power BI
API capabilities
Creating the API Key in the Azure Portal
Creating the API key using PowerShell and ARM
Connecting to Power BI
Conclusion
Points to remember
Index
The book hasn't received reviews yet.