Primarily Azure is known for Pay-As-You-Go but it has some great features and some of those can be used free of cost. One such feature is Azure App Service that allows you to host your web application on Azure, free of cost for life.
Azure App Service
Azure App Service offers a variety of applications which can be hosted under Azure App Service, but this article is limited to Web Apps. You can learn more about various types of application.
Creating Free Azure Service
Login to Azure Portal.
Click on App Services and you will see your App Services panel as shown below (you will see your services listed if you have any; which were created previously).
Click on “+Add” and choose Web App from the screen.
From the next screen, click on “Create”. You may want to take a moment and read the text shown on the screen. I personally admire the Azure capabilities to even host PHP, Node.js, or Python and many more application types.
Now, the next screen will let you specify the name of the free app service.
Choosing Pricing Tier
After filling in the details on the left pane, select “App Service plan/Location”, and from the right pane, select “Create New”. A new window will appear as shown below. Enter Name and choose a location of Azure Data-center to host your app service, and select Pricing Tier.
Click on Pricing Tier will popup a new screen; scroll to the bottom and you will see a free service tier option, as shown below.
Make note that it offers only 1GB space max, and it will be deployed on a shared infrastructure i.e. there might be other websites hosted under the same IIS / Infrastructure. Also, note that it clearly and explicitly calls out 0.00 cost per month, i.e., it’s completely free and for life. Click on “F1 Free” tier and click “Select”. Now, “App Service Plan” pane will update to reflect the changes.
Verify the details and click OK, and now your “Web App” pane will pop up and show the changes applied to your App Service Plan and location.
Verify details and click “Create”. Your Free App Service deployment will start and you will notice that your “MyfreeAppService” appears under “App Services”.
Click on the “MyfreeAppService” to explore this App Service and a whole new pane with lots of options will load, as shown below.
To Test this App Service, click on “Browse” button from the top of right pane and you will notice that website will load in your default browser.
This website shows nothing worthwhile; that is because we just created an Azure App Service which is Free and has no application code in it.
We need to deploy the application to this newly created Free App Service on Azure. Microsoft Visual Studio and DevOps CI/CD are fully featured to let you deploy your web application to this app service and a separate article will better justify this requirement which is next logical step.
Can the Pricing Tier be changed?
Yes, once your application starts to have more features and you want to make it scalable, secure, and take advantage of Azure App Service features, you may want to change Pricing Trier from Free to Paid. This can be done very easily and quickly; by selecting “App Service Plan” and then choosing the Pricing Tier which aligns with your evolving business and application needs.