In this post, we will create an Azure Web App resource. This resource can be used to deploy your web applications. We will use Azure Portal to create the resource.
Azure Web Apps is a cloud computing based platform for hosting websites, created and operated by Microsoft. It is a platform as a service which allows publishing Web apps running on multiple frameworks and written in different programming languages, including Microsoft proprietary ones and 3rd party ones.
Create Azure Web App
Log in to the Azure Portal. Click on
Create a resource.
Web App and click on it. It will be available in the Get started section.
Fill up the form with the following values and create the Web App –
- Subscription: Select the name of your Azure Subscription. Mine is Pay-As-You-Go.
- Resource Group: Select the resource group from the dropdown where you want to keep this Web App. You can also create a new one by clicking on
- Name: Enter the name of the Web App. It should be global unique name.
- Publish: Select
Codeas I will be deploying my code directly to this web app. If you have a requirement that uses Docker. You can select accordingly.
- Runtime stack: On what technology stack your code works on. Mine is working on
.NET Core 3.1 (LTS). There are other options also available. To name a few Java x, Node x.x, Python 3.x, PHP, etc.
- Operating System: I want to run my code on
Windows OS. If you want to run on
Linux, choose that.
- Region: The region can be selected based on your customers location. The closer the location, the better the performance and low-latency.
- App Service Plan: You need an App Service plan that determines the location, cost, and compute resources associated with your web app.
- Windows Plan: The name of your App Service Plan. It will be auto created. You can also choose the existing plan from the drop down.
- Sku and Size: The compute resources you want to allocate to your web app. It depends on the Size you choose. For Testing and development purpose, I have selected
Once the deployment is completed, go to the resource.
On the Overview tab, you will see the URL. This is the URL where your web app will be hosted when it is deployed to this App service. There are other Sku and Sizes available that allows you to add the custom URL.