Introduction

This article will help you learn about Azure Functions and how to create Azure Functions in the Azure Portal.

This article will cover the following.

Azure Function

Azure Functions is a serverless computing service and it's hosted on the Microsoft Azure public cloud. It is designed to accelerate and simplify application development. The cloud provider takes care of all the headaches of running the server, dynamically managing the resources of the machine, etc. It also provides auto scalability.

Serverless applications, also known as Function-as-a-Service or FaaS, are an offering from most of the enterprise cloud providers in which they allow the users to only write code, and the infrastructure behind the scenes is managed by them.

Azure Functions is the event-based serverless application framework that can automatically scale up and down based on the executions that are being triggered. This Microsoft Azure service allows you to run small pieces of code in Node.js, C#, Python, PHP, and Java without any infrastructure configurations.

Purpose

Azure Functions lets you execute your code in a serverless environment without having to first create a VM or publish a web application.

Key Features

Supported Languages

Azure Function supports multiple languages and it is based on the Runtime versions.

Ref: https://docs.microsoft.com/en-us/azure/azure-functions/supported-languages

Create the Azure Function in the Azure Portal

Prerequisites

Follow the below steps to create an Azure Storage Account.

Step 1. Log in here. On the dashboard, choose "Create a resource", and click "Compute". Now, choose "Function App".

Create a resource

Step 2. Enter the details for fields - choose the subscription, resource group, storage name, location, performance, account type, replication, and access tier. Let's see each, one by one.

Resource group

Now, click on Hosting

Step 3. Here, choose the following settings.

Hosting

Step 4. In the monitoring tab, choose Application Insights.

Application Insights

And Click on Review+ Create

Step 5. Review all the settings and click on Create

 Review+ Create

Step 6. Now, deployment is complete. And click on Go to Resource.

Deployment is complete

Output

Now, we can see the overview page of Azure Function.

 Azure Function

Summary

I hope you understand Azure Functions. Stay tuned for more articles on Azure Functions.