In most of our previous articles, we have learned the following different Azure COMPUTE options that could be used for hosting a different type of Web Applications like Websites, Web APIs, etc.
All the above options provide great services for different requirements. In this article, we will learn about another Azure COMPUTE option named Azure Functions.
Overview
Before discussing many Azure Functions, let's briefly discuss a few of the pain points of the above Azure Compute options when we plan to host components (Web APIs, background jobs, etc.) in them.

Introduction to Serverless Computing and Azure Functions

The name “Serverless” might be a bit confusing. People might think that there would be no Servers that host the Azure Functions. Of Course, there are Servers (Virtual Machine instances) that are responsible for hosting the Azure Functions and will scale automatically based on the traffic that the Azure Functions would receive.
As a developer, you don’t need to worry about patching and upgrading the Operating Systems or .NET Frameworks, etc. You don’t even need to worry about scaling (or even auto-scaling for that matter) the instances (you would have to do in case of all other Azure Compute options). Scaling is abstracted from you in the case of Azure Functions.

Benefits of Azure Functions

Given are a few of the benefits that one would get using Azure Functions.

Azure Functions Pricing Model

As discussed earlier, you only pay for the execution minutes by using the “Consumption Plan”. Below are the two different pricing models that Azure Function supports.

Summary

We have learned the following.