Go Serverless with Azure Functions | Scribe

Go Serverless with Azure Functions

  • Hafeez Baig |
  • 17 steps |
  • 2 minutes
  • AzureAzure
1
Sign in into the **Microsoft Azure Portal**
2
Type **Function App** in the search bar and click on the **Function App** to view the Function App dashboard
information ordinal icon
**What is Function App?**\ \ A Function App in Azure is a service for hosting and running serverless functions. It allows developers to execute code in response to events without managing infrastructure, providing scalability, reliability, and integrated development tools.
3
On the **Function App** dashboard, click on the **Create** button on the left side
4
**Create Function App** wizard will open, click on the **Consumption** option
information ordinal icon
**What is Consumption option in Azure Function App?**\ \ The Consumption option in an Azure Function App is a pricing plan where you pay only for the compute resources used during the execution of your functions. It automatically scales to meet demand, handling the infrastructure management and scaling, which helps optimize costs by charging based on actual usage rather than pre-allocated resources.
5
Scroll the page and click on the **Select** button
6
On the **Create Function App** wizard, click on the **Resource group** dropdown and select the resource group **computer-rg** option **Note:** If you do not have a Resource group, you can create one by clicking on the **Create new** link option
7
Scroll to the **Function App name** and give Name as - "**my-function-app-in28minutes-new**"
8
Select the option **Node.js** for the **Runtime stack**
9
Scroll to the **Operating System** section, select the option **Linux** and click on the **Review + create** button
10
Review the **Function App** details
11
Scroll the page and click on the **Create** button
12
After the deployment is complete, click on the **Go to resource** button
13
Click on the **Overview** from the left bar
14
Click on the **Functions** tab to create functions using **VS Code Desktop** or **CLI**
15
Locate the **URL** on the right side and click on the copy widget
16
Open any browser and paste the link in new tab
17
**Microsoft Azure Your Functions 4.0 app is up and running**
information ordinal icon
Congratulations on completing this lab and Understanding Serverless with Azure Functions! Good Job!