Skip to content

Commit 782bb61

Browse files
committed
Edit pass: using-an-ase
1 parent 250395e commit 782bb61

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

articles/app-service/environment/using-an-ase.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To create an app in an ASE:
6464

6565
## How scale works
6666

67-
Every App Service app runs in an App Service plan. App Service Environments hold App Service plans, and App Service plans hold apps. When you scale an app, you scale the App Service plan and thus scale all the apps in the same plan.
67+
Every App Service app runs in an App Service plan. App Service Environments hold App Service plans, and App Service plans hold apps. When you scale an app, you also scale the App Service plan and all the apps in that same plan.
6868

6969
When you scale an App Service plan, the needed infrastructure is added automatically. There's a time delay to scale operations while the infrastructure is being added. If you do several scale operations in sequence, the first infrastructure scale request is acted on and the others are queued. When the first scale operation finishes, the other infrastructure requests all operate together. And when the infrastructure is added, the App Service plans are assigned as appropriate. Creating a new App Service plan is itself a scale operation because it requests additional hardware.
7070

@@ -82,7 +82,9 @@ With an External ASE, you can configure IP-based SSL for your app in the same wa
8282

8383
When you scale out your App Service plans, workers are automatically added to support them. Every ASE is created with two front ends. The front ends automatically scale out at a rate of one front end for every set of 15 App Service plan instances. For example, if you have three App Service plans with five instances each, you'd have a total of 15 instances and three front ends. If you scale to a total of 30 instances, you have four front ends. This pattern continues as you scale out.
8484

85-
The number of front ends that are allocated by default is good for a moderate load. You can lower the ratio to as little as one front end for every five instances. You can also change the size of the front ends. By default, they're single core. In the Azure portal, you can change their size to two or four cores instead. There's a charge for changing the ratio or the front-end sizes. For more information, see [Azure App Service pricing][Pricing]. If you want to improve the load capacity of your ASE, you'll get more improvement by first scaling to two-core front ends before you adjust the scale ratio. Changing the core size of your front ends will cause an upgrade of your ASE and should be done outside of regular business hours.
85+
The number of front ends that are allocated by default is good for a moderate load. You can lower the ratio to as little as one front end for every five instances. You can also change the size of the front ends. By default, they're single core. In the Azure portal, you can change their size to two or four cores instead.
86+
87+
There's a charge for changing the ratio or the front-end sizes. For more information, see [Azure App Service pricing][Pricing]. If you want to improve the load capacity of your ASE, you'll get more improvement by first scaling to two-core front ends before you adjust the scale ratio. Changing the core size of your front ends will cause an upgrade of your ASE and should be done outside of regular business hours.
8688

8789
Front-end resources are the HTTP/HTTPS endpoint for the ASE. With the default front-end configuration, memory usage per front end is consistently around 60 percent. The primary reason to scale your front ends is CPU usage, which is primarily driven by HTTPS traffic.
8890

@@ -116,7 +118,7 @@ In an ASE, as with the multitenant App Service, you can publish by these methods
116118

117119
With an External ASE, these publishing options all work the same way. For more information, see [Deployment in Azure App Service][AppDeploy].
118120

119-
Publishing is significantly different with an ILB ASE, for which the publishing endpoints are all available only through the ILB. The ILB is on a private IP in the ASE subnet in the virtual network. If you don't have network access to the ILB, you can't publish any apps on that ASE. As noted in [Create and use an ILB ASE][MakeILBASE], you must configure DNS for the apps in the system. That requirement includes the SCM endpoint. If the endpoints are not defined properly, you can't publish. Your IDEs must also have network access to the ILB to publish directly to it.
121+
Publishing is significantly different with an ILB ASE, for which the publishing endpoints are all available only through the ILB. The ILB is on a private IP in the ASE subnet in the virtual network. If you don't have network access to the ILB, you can't publish any apps on that ASE. As noted in [Create and use an ILB ASE][MakeILBASE], you must configure DNS for the apps in the system. That requirement includes the SCM endpoint. If the endpoints aren't defined properly, you can't publish. Your IDEs must also have network access to the ILB to publish directly to it.
120122

121123
Without additional components, internet-based CI systems like GitHub and Azure DevOps don't work with an ILB ASE because the publishing endpoint isn't internet accessible. You can enable publishing to an ILB ASE from Azure DevOps by installing a self-hosted release agent in the virtual network that contains the ILB ASE. Alternatively, you can also use a CI system that uses a pull model, such as Dropbox.
122124

@@ -132,16 +134,16 @@ You can integrate your ASE with Azure Monitor to send logs about the ASE to Azur
132134

133135
| Situation | Message |
134136
|---------|----------|
135-
| ASE is unhealthy | The specified ASE is unhealthy due to an invalid virtual network configuration. The ASE will be suspended if the unhealthy state continues. Ensure the guidelines defined here are followed: https://docs.microsoft.com/azure/app-service/environment/network-info |
137+
| ASE is unhealthy | The specified ASE is unhealthy due to an invalid virtual network configuration. The ASE will be suspended if the unhealthy state continues. Ensure the guidelines defined here are followed: https://docs.microsoft.com/azure/app-service/environment/network-info. |
136138
| ASE subnet is almost out of space | The specified ASE is in a subnet that is almost out of space. There are {0} remaining addresses. Once these addresses are exhausted, the ASE will not be able to scale. |
137139
| ASE is approaching total instance limit | The specified ASE is approaching the total instance limit of the ASE. It currently contains {0} App Service Plan instances of a maximum 201 instances. |
138-
| ASE is unable to reach a dependency | The specified ASE is not able to reach {0}. Ensure the guidelines defined here are followed: https://docs.microsoft.com/azure/app-service/environment/network-info |
139-
| ASE is suspended | The specified ASE is suspended. The ASE suspension may be due to an account shortfall or an invalid virtual network configuration. Resolve the root cause and resume the ASE to continue serving traffic |
140-
| ASE upgrade has started | A platform upgrade to the specified ASE has begun. Expect delays in scaling operations |
141-
| ASE upgrade has completed | A platform upgrade to the specified ASE has finished |
142-
| Scale operations have started | An App Service plan ({0}) has begun scaling. Desired state: {1} I{2} workers
143-
| Scale operations have completed | An App Service plan ({0}) has finished scaling. Current state: {1} I{2} workers |
144-
| Scale operations have failed | An App Service plan ({0}) has failed to scale. Current state: {1} I{2} workers |
140+
| ASE is unable to reach a dependency | The specified ASE is not able to reach {0}. Ensure the guidelines defined here are followed: https://docs.microsoft.com/azure/app-service/environment/network-info. |
141+
| ASE is suspended | The specified ASE is suspended. The ASE suspension may be due to an account shortfall or an invalid virtual network configuration. Resolve the root cause and resume the ASE to continue serving traffic. |
142+
| ASE upgrade has started | A platform upgrade to the specified ASE has begun. Expect delays in scaling operations. |
143+
| ASE upgrade has completed | A platform upgrade to the specified ASE has finished. |
144+
| Scale operations have started | An App Service plan ({0}) has begun scaling. Desired state: {1} I{2} workers.
145+
| Scale operations have completed | An App Service plan ({0}) has finished scaling. Current state: {1} I{2} workers. |
146+
| Scale operations have failed | An App Service plan ({0}) has failed to scale. Current state: {1} I{2} workers. |
145147

146148
To enable logging on your ASE:
147149

@@ -153,17 +155,17 @@ To enable logging on your ASE:
153155

154156
![ASE diagnostic log settings][4]
155157

156-
If you integrate with Log Analytics, you can see the logs by selecting **Logs** from the ASE portal and creating a query against **AppServiceEnvironmentPlatformLogs**.
158+
If you integrate with Log Analytics, you can see the logs by selecting **Logs** from the ASE portal and creating a query against **AppServiceEnvironmentPlatformLogs**.
157159

158160
## Upgrade preference
159161

160162
If you have multiple ASEs, you might want some ASEs to be upgraded before others. Within the ASE **HostingEnvironment Resource Manager** object, you can set a value for **upgradePreference**. The **upgradePreference** setting can be configured by using a template, ARMClient, or https://resources.azure.com. The three possible values are:
161163

162-
- **None**: Azure will upgrade your ASE in no particular batch. This is the default value.
164+
- **None**: Azure will upgrade your ASE in no particular batch. This value is the default.
163165
- **Early**: Your ASE will be upgraded in the first half of the App Service upgrades.
164166
- **Late**: Your ASE will be upgraded in the second half of the App Service upgrades.
165167

166-
If you're using https://resources.azure.com, do this to set the **upgradePreferences** value:
168+
If you're using https://resources.azure.com, follow these steps to set the **upgradePreferences** value:
167169

168170
1. Go to resources.azure.com and sign in with your Azure account.
169171
1. Go through the resources to subscriptions\/\[subscription name\]\/resourceGroups\/\[resource group name\]\/providers\/Microsoft.Web\/hostingEnvironments\/\[ASE name\].
@@ -174,13 +176,13 @@ If you're using https://resources.azure.com, do this to set the **upgradePrefere
174176

175177
![resources azure com display][5]
176178

177-
The **upgradePreferences** feature makes the most sense when you have multiple ASEs because your "Early" upgraded ASEs will be upgraded before your "Late" ASEs. When you have multiple ASEs, you should set your development and test ASEs to be "Early" and your production ASEs to be "Late".
179+
The **upgradePreferences** feature makes the most sense when you have multiple ASEs because your "Early" ASEs will be upgraded before your "Late" ASEs. When you have multiple ASEs, you should set your development and test ASEs to be "Early" and your production ASEs to be "Late".
178180

179181
## Pricing
180182

181183
The pricing SKU called *Isolated* is for use only with ASEs. All App Service plans that are hosted in the ASE are in the Isolated pricing SKU. Isolated rates for App Service plans can vary by region.
182184

183-
In addition to the price of your App Service plans, there is a flat rate for ASE itself. The flat rate doesn't change with the size of your ASE. It pays for the ASE infrastructure at a default scaling rate of one additional front end for every 15 App Service plan instances.
185+
In addition to the price of your App Service plans, there's a flat rate for the ASE itself. The flat rate doesn't change with the size of your ASE. It pays for the ASE infrastructure at a default scale rate of one additional front end for every 15 App Service plan instances.
184186

185187
If the default scale rate of one front end for every 15 App Service plan instances is not fast enough, you can adjust the ratio at which front ends are added or the size of the front ends. When you adjust the ratio or size, you pay for the front-end cores that would not be added by default.
186188

@@ -210,7 +212,6 @@ To delete an ASE:
210212
[4]: ./media/using_an_app_service_environment/usingase-logs.png
211213
[5]: ./media/using_an_app_service_environment/usingase-upgradepref.png
212214

213-
214215
<!--Links-->
215216
[Intro]: ./intro.md
216217
[MakeExternalASE]: ./create-external-ase.md

0 commit comments

Comments
 (0)