Book Image

Azure Serverless Computing Cookbook - Third Edition

By : Praveen Kumar Sreeram
Book Image

Azure Serverless Computing Cookbook - Third Edition

By: Praveen Kumar Sreeram

Overview of this book

This third edition of Azure Serverless Computing Cookbook guides you through the development of a basic back-end web API that performs simple operations, helping you understand how to persist data in Azure Storage services. You'll cover the integration of Azure Functions with other cloud services, such as notifications (SendGrid and Twilio), Cognitive Services (computer vision), and Logic Apps, to build simple workflow-based applications. With the help of this book, you'll be able to leverage Visual Studio tools to develop, build, test, and deploy Azure functions quickly. It also covers a variety of tools and methods for testing the functionality of Azure functions locally in the developer's workstation and in the cloud environment. Once you're familiar with the core features, you'll explore advanced concepts such as durable functions, starting with a "hello world" example, and learn about the scalable bulk upload use case, which uses durable function patterns, function chaining, and fan-out/fan-in. By the end of this Azure book, you'll have gained the knowledge and practical experience needed to be able to create and deploy Azure applications on serverless architectures efficiently.
Table of Contents (14 chapters)
13
Index

Creating a release definition

Now that we know how to create a build definition and trigger an automated build in Azure DevOps pipelines, our next step is to release or deploy the package to an environment where the project stakeholders can review it and provide feedback. In order to do that, we need to create a release definition in the same way that we created the build definitions.

Getting ready

Before working on this recipe, please make sure you have created the build definition and also ensure that you have run it successfully at least once.

How to do it…

To release and deploy the package to an environment, we'll perform the following steps:

  1. Navigate to the Releases tab, as shown in Figure 12.26, and click on the New pipeline button:
    Creating a new pipeline
    Figure 12.26: Azure DevOps—release pipelines—New Pipeline
  2. The next step is to choose a release definition template. In the Select a template pop-up window, select Deploy the function app to Azure Functions...