PaaS solutions using ARM templates
Platform as a service (PaaS) resources and solutions can be deployed using ARM templates. One of the main resources related to PaaS is Azure Web Apps, and in this section, we will focus on creating web apps on Azure using ARM templates.
The template expects a few parameters to be supplied while executing it. The parameters needed are the SKU for the App Service plan, the Azure region hosting the resources, and the SKU capacity of the App Service plan.
There are a couple of variables declared within the template to make it generic and maintainable. The first one, hostingPlanName
, is for the App Service plan name, and the next one, webSiteName
, is for the app service itself.
There are at minimum two resources that should be declared and provisioned for a working web app in Azure. They are the following:
- The Azure App Service plan
- Azure App Service
The first step in creating a web app on Azure is defining the configuration...