BPB Online LLP
Serverless Computing Using Azure Functions
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

A complete end-to-end guide to implement Azure Functions and serverless orchestration with the help of various use cases.

Key Features
● Step-by-step guide along with code snippets and screenshots to master the topics.
● Easy handbook to brush up the fundamental concepts and advanced topics of Serverless computing.
● Includes real use-cases and numerous scenarios on creating Azure functions, its security, deployment, and troubleshooting them.
● Understand how to monitor, troubleshoot, and perform advanced level diagnostics on Azure functions.

Description
Serverless is the current ongoing trend in the cloud industry that allows you to focus on code without worrying about the underlying infrastructure and helps in cost optimizations by providing pay for what you use. This book provides a practical mentoring with a step-by-step guide on how to create and work on Azure functions. You will be benefited with various use cases, illustrations, and visual representation to address complex problems around serverless computing.

The book will help you to integrate Azure functions with other Azure services, seamlessly, without the need of writing much code. The book brings exclusive coverage on managing the deployment and security of the Azure functions. You will learn how to use different methods to monitor the Azure functions and how to perform correct diagnostics and troubleshooting without the use of any third-party integrations.

What you will learn
● Learn to easily create Azure functions using multiple tools and options.
● Learn to use triggers and bindings for integrating Azure functions with other Azure services.
● Get to know how to orchestrate the serverless workflow using Azure Durable functions.
● Learn to practice security mechanisms to secure Azure functions in the production environment.
Who this book is for
This book is for developers, DevOps engineers, technical specialists, architects and consultants at all levels, who want to build and deploy serverless applications with Azure functions. Some prior experience with C# (for developers) and fundamental Microsoft Azure services will help you to make the most of this book. However, the book is intended for each type of cloud-specific role.

Table of Contents
1. Overview of Azure and Serverless Computing
2. Introduction to Azure Functions
3. Creating Your First Function
4. Azure Functions Triggers and Bindings
5. Durable Functions and Orchestration
6. Configuring Security for Azure Functions Security
7. Continuous Deployment for Azure Functions
8. Troubleshooting and Monitoring Azure Functions

About the Authors
Varun Kumar is currently working with Microsoft as an architect helping various enterprise customers and startups in their cloud transformations, conducting technical reviews of the existing architecture, defining technology roadmaps, and architecting multi-million-dollar solutions. He has more than 12 years of experience in leading solutions delivery in .Net tech stack, Microsoft Azure and AWS. He also has vast experience in direct engagement with stakeholders at all levels, including CxOs, MDs, Business owners, Architects, SMEs, Vendors, Consultants, and Designers, etc.

LinkedIn Profile: https://www.linkedin.com/in/varun-kumar-64576825
Blogs: https://cloudavenue.in/

Ketan Agnihotri is a proud Indian working as an Azure consultant at Microsoft and loves making new professional acquaintances. He is a senior Full Stack developer having team leading experience and is a Microsoft Certified Solutions Expert (MCSE). He is a seasoned team-oriented and ambitious software engineer with a successful track record of delivering high-performance applications. He is also a speaker, blogger, and trainer working with people across the globe.

LinkedIn Profile: https://www.linkedin.com/in/ketanagnihotri/
Blogs: https://k10.in/

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.