Back to Azure Resource templates index <–
![]()
Azure App Service plan deployment creates an Azure App Service Plan and configures the initial Scale Out options.
Template Locations
Infrastructure As Code Advisor (Beta)
WAF-compliance
The WAF-compliance advisor validates templates based on the Well Architected Framework practices. Every day a GitHub Action updates the templates compliance data and lists the recomendations.
Sustainbility Advisor
The sustainability advisor is based on the Sogeti Cloud Reference Architecture with sustainble practices. These sustainble practices cover application code, cloud infrastructures and data. The global Sogeti community is continously evolving the sustainble practices and every day new and tuned are added. For cloud infrastructures the sustainble practices are automatically validated and reported below.
note: when 100% it can be that there is no sustainble practices yet for this Cloud infrastructure.
Online documentation
Template reference
Service description
Related Azure Resources
| Resource | Description | Automation |
|---|---|---|
| API App Service | Azure API App deployment in an existing Azure App Service Plan. | ARM |
| Application Insights | his template creates an Application Insights object, but doesn't connect it with any resource yet.. | ARM |
| App Service Environment | The Azure App Service Environment is an Azure App Service feature that provides a fully isolated and dedicated environment for securely running App Service apps at high scale. | ARM |
Requirements
- Resource group must been created with a valid name and location.
Input values
- tagBillingIdentifier: Cost Center.
- aspTier : B=Basic(max 3 instances), S=Standard (max 10 instances), P=Premium (max 20 instances).
- aspInstances: Provide the amount of workers needed (cannot be more than allowed in the chosen tier).
- aspMinInstances: Provide the minimum amount of workers needed, this is needed for scaling purposes (must be less than default/max)
- aspMaxInstances: Provide the maximum amount of workers needed, this is needed for scaling purposes (cannot be more than allowed in the chosen tier)
- aspScaleOut: Provide the CPU percentage, when to scale out (default 80)
- aspScaleDown: Provide the CPU percentage, when to scale down (default 60)
- aspInstanceAutoscale: Provide whether AutoScaling is Enabled (or not)
Output values
- aspName: Name.
- aspResourceID: aspResourceID
Compliance Advisor details
Resource Health Result
| Message | ResourceType | Severity |
|---|---|---|
| Location for the resource should not be hardcoded, it should be parameterized and should refer from Resource Group's location i.e. [resourceGroup().location] | Microsoft.Web/serverfarms | 2 |
| It is recommended to use serverless options wherever possible, which scales your environment when needed rather having a dedicated environment. This will minimize the need for constant hardware allocation | Microsoft.Web/serverfarms | 2 |
| Your current API Version i.e.2019-08-01 for the resource Microsoft.Web/serverfarms is outdatedconsider updating to new recent version available i.e. 2022-09-01 or 2022-03-01 | Microsoft.Web/serverfarms | 2 |
| Location for the resource should not be hardcoded, it should be parameterized and should refer from Resource Group's location i.e. [resourceGroup().location] | Microsoft.Insights/autoscaleSettings | 2 |
| Your current API Version i.e.2015-04-01 for the resource Microsoft.Insights/autoscaleSettings is outdatedconsider updating to new recent version available i.e. 2023-01-01-preview or 2022-10-01 | Microsoft.Insights/autoscaleSettings | 2 |
| To help other contributors understand the purpose of the resource, specify comments for each resource in the template | Microsoft.Web/serverfarms | 1 |
| To help other contributors understand the purpose of the resource, specify comments for each resource in the template | Microsoft.Insights/autoscaleSettings | 1 |
TemplateParameterHealthResult
| Message | Severity |
|---|---|
| It is recommended to make your parameter as camel case, wherever possible for i.e. tierRead More | 1 |
| Define default values for parameters that aren't sensitive. By specifying a default value, it's easier to deploy the template, and users of your template see an example of an appropriate value i.e. aspCustomNameRead More | 1 |
| Define default values for parameters that aren't sensitive. By specifying a default value, it's easier to deploy the template, and users of your template see an example of an appropriate value i.e. autoScalecustomnameRead More | 1 |
| It is recommended to make your parameter as camel case, wherever possible for i.e. instancesRead More | 1 |
TemplateVariableHealthResult
| Message | Severity |
|---|---|
| It is recommended to make your variable as camel case, wherever possible for e.g. environmentRead More | 1 |
Sustainable Advisor details
| Message | ResourceType | Severity |
|---|---|---|
| It is recommended to use serverless options wherever possible, which scales your environment when needed rather having a dedicated environment. This will minimize the need for constant hardware allocation | Microsoft.Web/serverfarms | 2 |