Book Image

Azure Serverless Computing Cookbook

By : Praveen Kumar Sreeram
Book Image

Azure Serverless Computing Cookbook

By: Praveen Kumar Sreeram

Overview of this book

Microsoft provides a solution to easily run small segment of code in the Cloud with Azure Functions. Azure Functions provides solutions for processing data, integrating systems, and building simple APIs and microservices. The book starts with intermediate-level recipes on serverless computing along with some use cases on benefits and key features of Azure Functions. Then, we’ll deep dive into 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. Moving on, you’ll get practical recipes on integrating DevOps with Azure functions, and providing continuous integration and continous deployment with Visual Studio Team Services. It also provides hands-on steps and tutorials based on real-world serverless use cases, to guide you through configuring and setting up your serverless environments with ease. Finally, you’ll see how to manage Azure functions, providing enterprise-level security and compliance to your serverless code architecture. By the end of this book, you will have all the skills required to work with serverless code architecture, providing continuous delivery to your users.
Table of Contents (11 chapters)

Introduction

In all our previous chapters, you learned how to develop Azure Function and where they are useful and looked at validating the functionality of those functions.

In this chapter, we will start looking at ways of testing different Azure Functions. For example, running tests of HTTP trigger functions using Postman, usage of Microsoft Storage Explorer to test Azure Blob triggers, Queue triggers, and other storage-service-related triggers. You will also learn how to perform a simple load test on an HTTP trigger to understand how the serverless architecture works on provisioning the instances in the backend without developers worrying about the scaling settings on different factors. Azure Function runtime will automatically take care of scaling the instances.

You will also learn how to set up a test that checks the availability of our functions by continuously pinging the...