Skip navigation

Create Azure App Service Environment With An Web App Added.

Last updated: 29/06/2018

Creates an Azure App Service Environment inside A Virtual Network Subnet. This template also adds a Azure Web App inside the App Service Environment. Template originally authored by Callum Brankin of PixelPin

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service, and are made available AS IS without warranty of any kind.


Parameter Name Description
ASE-ipSslAddressCount Number of IP addresses for the IP-SSL address pool.
ASE-frontEndSize Instance size for the front-end pool. Maps to P2,P3,P4.
ASE-frontEndCount Number of instances in the front-end pool. Minimum of two.
ASE-workerPoolOneInstanceSize Instance size for worker pool one. Maps to P1,P2,P3,P4.
ASE-workerPoolOneInstanceCount Number of instances in worker pool one. Minimum of two.
ASE-workerPoolTwoInstanceSize Instance size for worker pool two. Maps to P1,P2,P3,P4.
ASE-workerPoolTwoInstanceCount Number of instances in worker pool two. Can be zero if not using worker pool two.
ASE-workerPoolThreeInstanceSize Instance size for worker pool three. Maps to P1,P2,P3,P4.
ASE-workerPoolThreeInstanceCount Number of instances in worker pool three. Can be zero if not using worker pool three.
ASE-APP-SERVICE-workerPool Defines which worker pool's (WP1, WP2 or WP3) resources will be used for the app service plan.
ASE-APP-SERVICE-numberOfWorkersFromWorkerPool Defines the number of workers from the worker pool that will be used by the app service plan.
location Location for all resources.

Use the template


New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri
Installing and configuring Azure PowerShell

Command line

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri
Installing and configuring the Azure cross-platform command-line interface