3 options
Azure serverless computing cookbook : build and monitor azure applications hosted on serverless architecture using azure functions / Praveen Kumar Sreeram.
- Format:
- Book
- Author/Creator:
- Sreeram, Praveen Kumar, author.
- Language:
- English
- Subjects (All):
- Cloud computing.
- Application program interfaces (Computer software).
- Physical Description:
- 1 online resource (424 pages)
- Edition:
- Second edition
- Place of Publication:
- Birmingham ; Mumbai : Packt Publishing, 2018.
- System Details:
- text file
- Summary:
- Over 50 practical recipes that will help you develop and deliver high-quality and reliable cloud-centric Azure serverless applications for your organization Key Features Leverage practical use cases to build a robust serverless environment Enhance Azure Functions with continuous deployment using Visual Studio Team Services Deploy and manage cost-effective and highly available serverless applications using Azure Functions Book Description Microsoft provides a solution for easily running small segments of code in the cloud with Azure Functions. The second edition of Azure Serverless Computing Cookbook starts with intermediate-level recipes on serverless computing along with some use cases demonstrating the benefits and key features of Azure Functions. You'll explore the core aspects of Azure Functions, such as the services it provides, how you can develop and write Azure Functions, and how to monitor and troubleshoot them. As you make your way through the chapters, you'll get practical recipes on integrating DevOps with Azure Functions, and providing continuous integration and continuous deployment with Azure DevOps. This book also provides hands-on, step-by-step tutorials based on real-world serverless use cases to guide you through configuring and setting up your serverless environments with ease. You will also learn how to build solutions for complex, real-world, workflow-based scenarios quickly and with minimal code using Durable Functions. In the concluding chapters, you will ensure enterprise-level security within your serverless environment. The most common tips and tricks that you need to be aware of when working with Azure Functions on production environments will also be covered in this book. By the end of this book, you will have all the skills required for working with serverless code architecture, providing continuous delivery to your users. What you will learn Integrate Azure Functions with other Azure services Understand cloud application development using Azure Functions Employ durable functions for developing reliable and durable serverless applications Use SendGrid and Twilio services Explore code reusability and refactoring in Azure Functions Configure serverless applications in a production environment Who this book is for If you are a cloud administrator, architect, or developer who wants to build scalable systems and deploy serverless applications with Azure Functions, then the Azure Serverless Computing Cookbook is for you...
- Contents:
- Cover
- Title Page
- Copyright and Credits
- Dedication
- About Packt
- Contributors
- Table of Contents
- Preface
- Chapter 1: Developing Cloud Applications Using Function Triggers and Bindings
- Introduction
- Building a backend Web API using HTTP triggers
- Getting ready
- How to do it…
- How it works…
- See also
- Persisting employee details using Azure Storage table output bindings
- How to do it...
- How it works...
- Understanding storage connection
- What is the Azure Table storage service?
- Partition key and row key
- There's more...
- Saving the profile images to Queues using Queue output bindings
- Storing the image in Azure Blob Storage
- Chapter 2: Working with Notifications Using the SendGrid and Twilio Services
- Sending an email notification to the administrator of a website using the SendGrid service
- Creating a SendGrid account
- Generating an API key from the SendGrid portal
- Configuring the SendGrid API key with the Azure Function app
- Create Storage Queue binding to the HTTP Trigger
- Creating Queue Trigger to process the message of the HTTP Trigger
- Creating SendGrid output binding to the Queue Trigger
- There's more
- Sending an email notification dynamically to the end user
- Accepting the new email parameter in the RegisterUser function
- Retrieving the UserProfile information in the SendNotifications trigger
- Implementing email logging in Azure Blob Storage
- Modifying the email content to include an attachment
- How to do it.
- Customizing the log file name using IBinder interface
- Adding an attachment to the email
- Sending an SMS notification to the end user using the Twilio service
- Chapter 3: Seamless Integration of Azure Functions with Azure Services
- Using Cognitive Services to locate faces in images
- Creating a new Computer Vision API account
- Configuring application settings
- Azure SQL Database interactions using Azure Functions
- Monitoring tweets using Logic Apps and notifying users when a popular user tweets
- Creating a new Logic App
- Designing the Logic App with Twitter and Gmail connectors
- Testing the Logic App functionality
- Integrating Logic Apps with serverless functions
- Auditing Cosmos DB data using change feed triggers
- Creating a new Cosmos DB account
- Creating a new Cosmos DB collection
- Chapter 4: Understanding the Integrated Developer Experience of Visual Studio Tools
- Creating a function app using Visual Studio 2017
- Debugging C# Azure Functions on a local staged environment using Visual Studio 2017
- Connecting to the Azure Storage cloud from the local Visual Studio environment
- Deploying the Azure Function app to Azure Cloud using Visual Studio
- There's more.
- Debugging a live C# Azure Function, hosted on the Microsoft Azure Cloud environment, using Visual Studio
- Deploying Azure Functions in a container
- Creating an ACR
- Creating a Docker image for the function app
- Pushing the Docker image to the ACR
- Creating a new function app with Docker
- Chapter 5: Exploring Testing Tools for the Validation of Azure Functions
- Testing Azure Functions
- Testing HTTP triggers using Postman
- Testing a Blob trigger using Microsoft Storage Explorer
- Testing the Queue trigger using the Azure Management portal
- Testing an Azure Function on a staged environment using deployment slots
- Load testing Azure Functions using Azure DevOps
- Creating and testing Azure Functions locally using the Azure CLI tools
- Testing and validating Azure Function responsiveness using Application Insights
- Developing unit tests for Azure Functions with HTTP triggers
- Chapter 6: Monitoring and Troubleshooting Azure Serverless Services
- Troubleshooting your Azure Functions
- Viewing real-time application logs
- Diagnosing the entire function app
- Integrating Azure Functions with Application Insights
- Monitoring your Azure Functions
- Pushing custom telemetry details to Application Insights Analytics
- Creating an Application Insights function
- Configuring access keys
- Integrating and testing an Application Insights query
- Configuring the custom derived metric report
- Sending application telemetry details via email
- Integrating real-time Application Insights monitoring data with Power BI using Azure Functions
- Configuring Power BI with a dashboard, a dataset, and the push URI
- Creating an Azure Application Insights real-time Power BI - C# function
- Chapter 7: Developing Reliable Serverless Applications Using Durable Functions
- Configuring Durable Functions in the Azure Management portal
- Creating a Durable Function hello world app
- Creating an HttpStart function in the Orchestrator client
- Creating the Orchestrator function
- Creating an activity function
- Testing and troubleshooting Durable Functions
- Implementing multithreaded reliable applications using Durable Functions
- Creating a GetAllCustomers activity function
- Creating a CreateBARCodeImagesPerCustomer activity function
- Chapter 8: Bulk Import of Data Using Azure Durable Functions and Cosmos DB
- Business problem
- Durable serverless way of implementing an Excel import
- Uploading employee data into Blob Storage
- Creating a Blob trigger
- Creating the Durable Orchestrator and triggering it for each Excel import
- Reading Excel data using activity functions
- Reading data from Blob Storage
- Reading Excel data from the stream
- Creating the activity function
- Auto-scaling Cosmos DB throughput
- Bulk inserting data into Cosmos DB
- Chapter 9: Implementing Best Practices for Azure Functions
- Adding multiple messages to a queue using the IAsyncCollector function
- Implementing defensive applications using Azure Functions and queue triggers
- CreateQueueMessage - C# console application
- Developing the Azure Function - queue trigger
- Running tests using the console application
- Handling massive ingress using Event Hubs for IoT and other similar scenarios
- Creating an Azure Function event hub trigger
- Developing a console application that simulates IoT data
- Avoiding cold starts by warming the app at regular intervals
- Creating an HTTP trigger
- Creating a timer trigger
- Enabling authorization for function apps
- Controlling access to Azure Functions using function keys
- Configuring the function key for each application
- Configuring one host key for all the functions in a single function app
- Securing Azure Functions using Azure Active Directory
- Configuring Azure AD to the function app.
- Notes:
- Previous edition published: 2017.
- Description based on print version record.
- OCLC:
- 1078996626
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.