Azure App Service
Azure App Service is a fully managed platform-as-a-service (PaaS) offering from Microsoft Azure designed to host web applications, RESTful APIs, and mobile backends. It allows developers to build, deploy, and scale web apps quickly without managing the underlying infrastructure.
Steps to create Azure App Service
Step 1
Open your terminal and install Azure CLI (if not installed) 
Note: to get Azure CLI search for it on Google.
In this case i wont install CLI on my terminal, I already have it

Step 2
Login to your Azure Account by typing 'az login'

Step 3
Click enter to sign in into Azure portal

Step 4
Sign in, let it run and click enter after running

Step 5
Create a Resource Group using "az group create --name NAME --location eastus"
Note: 'NAME' should be the one you wish to give your resource group

Step 6
Create an App Service Plan using "az appservice plan create -- name NAME --resource-group NAME" (resource group name i.e FirstOne)

Step7
Create a webapp using "az webapp create --name NAME --resource group NAME --plan NAME"

Step 8
Go to Azure Portal to confirm 
On the Azure portal search for App Service

Step 10
On the left pane search bar, search and click Advance tools

Note: another page will be opend on your browser

Step 12
Click on Debug Console

Step 16
Click on the pencil icon to edit

Step 17
Enter your desired code and click save

Step 18
Go to your Azure Portal, on your webapp page click on overview

Step 18
Copy the Default Domain

Step 19 (Final Step)
Paste the copied Domain on a new tab in your browser 

You have just create a Azure WebApp using Azure CLI.
   In sumamary, Using Azure CLI to create and manage web apps simplifies the deployment process by allowing you to handle everything from the command line. This approach is efficient for automating deployment tasks, integrating with CI/CD pipelines, and managing web applications programmatically.  
              




    
Top comments (0)