Book Image

Mastering Azure Serverless Computing

By : Lorenzo Barbieri, Massimo Bonanni
Book Image

Mastering Azure Serverless Computing

By: Lorenzo Barbieri, Massimo Bonanni

Overview of this book

Application development has evolved from traditional monolithic app development to using serverless options and microservices. This book is designed to guide you through using Microsoft's Azure Functions to process data, integrate systems, and build simple APIs and microservices. You will discover how to apply serverless computing to speed up deployment and reduce downtime. You'll also explore Azure Functions, including its core functionalities and essential tools, along with understanding how to debug and even customize Azure Functions. In addition to this, the book will take you through how you can effectively implement DevOps and automation in your working environment. Toward the concluding chapters, you'll cover some quick tips, troubleshooting techniques, and real-world serverless use cases that will help you make the most of serverless computing. By the end of this book, you will have gained the skills you need to develop and deliver cost-effective Azure serverless solutions.
Table of Contents (19 chapters)
Free Chapter
1
Section 1: Azure Functions 2.0 Fundamentals
5
Section 2: Azure Functions 2.0 Deployment and Automation
10
Section 3: Serverless Orchestration, API Management, and Event Processing
15
Section 4: Real-World Serverless Use Cases

Using the deployment slots

Azure Functions run inside App Services, and they inherit many of the features available for App Services. One of these is deployment slots.

Deployment slots enable you to deploy different versions of your function app with different URLs.

You can imagine a deployment slot as like another function app contained in the main function app. You create a slot with a name and you can use it to deploy your functions in the same way that you would with a normal function app. In the following screenshot, you can see a slot called beta:

If the function app is called testingazfunctions, its URL will be http://testingazfunctions.azurewebsites.net. If you create a slot called beta, its URL will be http://testingazfunctions-beta.azurewebsites.net.

The process of deploying a function app inside a slot is completely identical to what was seen previously. After you...