|
1 | 1 | ---
|
2 | 2 | title: App Service Environment overview
|
3 |
| -description: Overview on the App Service Environment |
| 3 | +description: This article discusses the Azure App Service Environment feature of Azure App Service. |
4 | 4 | author: madsd
|
5 | 5 | ms.topic: overview
|
6 | 6 | ms.date: 01/26/2022
|
7 | 7 | ms.author: madsd
|
8 | 8 | ms.custom: references_regions
|
9 | 9 | ---
|
| 10 | + |
10 | 11 | # App Service Environment overview
|
11 | 12 |
|
12 |
| -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. This capability can host your: |
| 13 | +An App Service Environment is an Azure App Service feature that provides a fully isolated and dedicated environment for running App Service apps securely at high scale. |
| 14 | + |
| 15 | +> [!NOTE] |
| 16 | +> This article covers the features, benefits, and use cases of App Service Environment v3, which is used with App Service Isolated v2 plans. |
| 17 | +> |
| 18 | +
|
| 19 | +An App Service Environment can host your: |
13 | 20 |
|
14 | 21 | - Windows web apps
|
15 | 22 | - Linux web apps
|
16 | 23 | - Docker containers (Windows and Linux)
|
17 | 24 | - Functions
|
18 |
| -- Logic Apps (Standard) |
19 |
| - |
20 |
| -> [!NOTE] |
21 |
| -> This article is about the App Service Environment v3 which is used with Isolated v2 App Service plans |
22 |
| -> |
| 25 | +- Logic apps (Standard) |
23 | 26 |
|
24 | 27 | App Service Environments are appropriate for application workloads that require:
|
25 | 28 |
|
26 | 29 | - High scale.
|
27 | 30 | - Isolation and secure network access.
|
28 | 31 | - High memory utilization.
|
29 |
| -- High requests per second (RPS). You can make multiple App Service Environments in a single Azure region or across multiple Azure regions. This flexibility makes an App Service Environment ideal for horizontally scaling stateless applications with a high RPS requirement. |
| 32 | +- High requests per second (RPS). You can create multiple App Service Environments in a single Azure region or across multiple Azure regions. This flexibility makes an App Service Environment ideal for horizontally scaling stateless applications with a high RPS requirement. |
30 | 33 |
|
31 |
| -App Service Environment host applications from only one customer and do so in one of their virtual networks. Customers have fine-grained control over inbound and outbound application network traffic. Applications can establish high-speed secure connections over VPNs to on-premises corporate resources. |
| 34 | +An App Service Environment can host applications from only one customer, and they do so on one of their virtual networks. Customers have fine-grained control over inbound and outbound application network traffic. Applications can establish high-speed secure connections over VPNs to on-premises corporate resources. |
32 | 35 |
|
33 | 36 | ## Usage scenarios
|
34 | 37 |
|
35 |
| -The App Service Environment has many use cases including: |
| 38 | +App Service Environments have many use cases, including: |
36 | 39 |
|
37 |
| -- Internal line-of-business applications |
38 |
| -- Applications that need more than 30 App Service plan instances |
39 |
| -- Single tenant system to satisfy internal compliance or security requirements |
40 |
| -- Network isolated application hosting |
41 |
| -- Multi-tier applications |
| 40 | +- Internal line-of-business applications. |
| 41 | +- Applications that need more than 30 App Service plan instances. |
| 42 | +- Single-tenant systems to satisfy internal compliance or security requirements. |
| 43 | +- Network-isolated application hosting. |
| 44 | +- Multi-tier applications. |
42 | 45 |
|
43 |
| -There are many networking features that enable apps in the multi-tenant App Service to reach network isolated resources or become network isolated themselves. These features are enabled at the application level. With an App Service Environment, there's no added configuration required for the apps to be in the virtual network. The apps are deployed into a network-isolated environment that is already in a virtual network. If you really need a complete isolation story, you can also get your App Service Environment deployed onto dedicated hardware. |
| 46 | +There are many networking features that enable apps in a multi-tenant App Service to reach network-isolated resources or become network-isolated themselves. These features are enabled at the application level. With an App Service Environment, no added configuration is required for the apps to be on a virtual network. The apps are deployed into a network-isolated environment that's already on a virtual network. If you really need a complete isolation story, you can also deploy your App Service Environment onto dedicated hardware. |
44 | 47 |
|
45 | 48 | ## Dedicated environment
|
46 | 49 |
|
47 |
| -The App Service Environment is a single tenant deployment of the Azure App Service that runs in your virtual network. |
| 50 | +An App Service Environment is a single-tenant deployment of Azure App Service that runs on your virtual network. |
48 | 51 |
|
49 |
| -Applications are hosted in App Service plans, which are created in an App Service Environment. The App Service plan is essentially a provisioning profile for an application host. As you scale your App Service plan out, you create more application hosts with all of the apps in that App Service plan on each host. A single App Service Environment v3 can have up to 200 total App Service plan instances across all of the App Service plans combined. A single Isolated v2 App Service plan can have up to 100 instances by itself. |
| 52 | +Applications are hosted in App Service plans, which are created in an App Service Environment. An App Service plan is essentially a provisioning profile for an application host. As you scale out your App Service plan, you create more application hosts with all the apps in that App Service plan on each host. A single App Service Environment v3 can have up to 200 total App Service plan instances across all the App Service plans combined. A single App Service Isolated v2 (Iv2) plan can have up to 100 instances by itself. |
50 | 53 |
|
51 |
| -When you're deploying on dedicated hardware (hosts), you're limited in scaling across all App Service plans to the amount of cores in this type of environment. An App Service Environment deployed on dedicated hosts has 132 vCores available. I1v2 uses 2 vCores, I2v2 uses 4 vCores, and I3v2 uses 8 vCores per instance. |
| 54 | +When you're deploying onto dedicated hardware (hosts), you're limited in scaling across all App Service plans to the number of cores in this type of environment. An App Service Environment that's deployed on dedicated hosts has 132 vCores available. I1v2 uses two vCores, I2v2 uses four vCores, and I3v2 uses eight vCores per instance. |
52 | 55 |
|
53 | 56 | ## Virtual network support
|
54 | 57 |
|
55 |
| -The App Service Environment feature is a deployment of the Azure App Service into a single subnet in a customer's virtual network. When you deploy an app into an App Service Environment, the app will be exposed on the inbound address assigned to the App Service Environment. If your App Service Environment is deployed with an internal virtual IP (VIP), then the inbound address for all of the apps will be an address in the App Service Environment subnet. If your App Service Environment is deployed with an external VIP, then the inbound address will be an internet-addressable address and your apps will be in public DNS. |
| 58 | +The App Service Environment feature is a deployment of Azure App Service into a single subnet on a virtual network. When you deploy an app into an App Service Environment, the app is exposed on the inbound address that's assigned to the App Service Environment. If your App Service Environment is deployed with an internal virtual IP (VIP) address, the inbound address for all the apps will be an address in the App Service Environment subnet. If your App Service Environment is deployed with an external VIP address, the inbound address will be an internet-addressable address, and your apps will be in a public Domain Name System. |
| 59 | + |
| 60 | +The number of addresses that are used by an App Service Environment v3 in its subnet will vary, depending on the number of instances and the amount of traffic. Some infrastructure roles are automatically scaled, depending on the number of App Service plans and the load. The recommended size for your App Service Environment v3 subnet is a `/24` Classless Inter-Domain Routing (CIDR) block with 256 addresses in it, because that size can host an App Service Environment v3 that's scaled out to its limit. |
56 | 61 |
|
57 |
| -The number of addresses used by an App Service Environment v3 in its subnet will vary based on how many instances you have along with how much traffic. There are infrastructure roles that are automatically scaled depending on the number of App Service plans and the load. The recommended size for your App Service Environment v3 subnet is a `/24` CIDR block with 256 addresses in it as that can host an App Service Environment v3 scaled out to its limit. |
| 62 | +The apps in an App Service Environment don't need any features enabled to access resources on the same virtual network that the App Service Environment is in. If the App Service Environment virtual network is connected to another network, the apps in the App Service Environment can access resources in those extended networks. Traffic can be blocked by user configuration on the network. |
58 | 63 |
|
59 |
| -The apps in an App Service Environment don't need any features enabled to access resources in the same virtual network that the App Service Environment is in. If the App Service Environment virtual network is connected to another network, then the apps in the App Service Environment can access resources in those extended networks. Traffic can be blocked by user configuration on the network. |
| 64 | +The multi-tenant version of Azure App Service contains numerous features to enable your apps to connect to your various networks. With those networking features, your apps can act as though they're deployed on a virtual network. The apps in an App Service Environment v3 don't need any added configuration to be on the virtual network. |
60 | 65 |
|
61 |
| -The multi-tenant version of Azure App Service contains numerous features to enable your apps to connect to your various networks. Those networking features enable your apps to act as if they were deployed in a virtual network. The apps in an App Service Environment v3 don't need any configuration to be in the virtual network. A benefit of using an App Service Environment over the multi-tenant service is that any network access controls to the App Service Environment hosted apps is external to the application configuration. With the apps in the multi-tenant service, you must enable the features on an app-by-app basis and use Role-based access control or policy to prevent any configuration changes. |
| 66 | +A benefit of using an App Service Environment instead of a multi-tenant service is that any network access controls for the App Service Environment-hosted apps are external to the application configuration. With the apps in the multi-tenant service, you must enable the features on an app-by-app basis and use role-based access control or a policy to prevent any configuration changes. |
62 | 67 |
|
63 | 68 | ## Feature differences
|
64 | 69 |
|
65 |
| -Compared to earlier versions of the App Service Environment, there are some differences with App Service Environment v3: |
| 70 | +App Service Environment v3 differs from earlier versions in the following ways: |
66 | 71 |
|
67 |
| -- There are no networking dependencies in the customer virtual network. You can secure all inbound and outbound as desired. Outbound traffic can be routed also as desired. |
68 |
| -- You can deploy it enabled for zone redundancy. Zone redundancy can only be set during creation and only in regions where all App Service Environment v3 dependencies are zone redundant. |
69 |
| -- You can deploy it on a dedicated host group. Host group deployments aren't zone redundant. |
70 |
| -- Scaling is much faster than with App Service Environment v2. While scaling still isn't immediate as in the multi-tenant service, it's a lot faster. |
71 |
| -- Front end scaling adjustments are no longer required. The App Service Environment v3 front ends automatically scale to meet needs and are deployed on better hosts. |
72 |
| -- Scaling no longer blocks other scale operations within the App Service Environment v3 instance. Only one scale operation can be in effect for a combination of OS and size. For example, while your Windows small App Service plan was scaling, you could kick off a scale operation to run at the same time on a Windows medium or anything else other than Windows small. |
73 |
| -- Apps in an internal VIP App Service Environment v3 can be reached across global peering. Access across global peering was not possible with previous versions. |
| 72 | +- There are no networking dependencies on the customer's virtual network. You can secure all inbound and outbound traffic and route outbound traffic as you want. |
| 73 | +- You can deploy an App Service Environment v3 that's enabled for zone redundancy. You set zone redundancy only during creation and only in regions where all App Service Environment v3 dependencies are zone redundant. |
| 74 | +- You can deploy an App Service Environment v3 on a dedicated host group. Host group deployments aren't zone redundant. |
| 75 | +- Scaling is much faster than with an App Service Environment v2. Although scaling still isn't immediate, as in the multi-tenant service, it's a lot faster. |
| 76 | +- Front-end scaling adjustments are no longer required. App Service Environment v3 front ends automatically scale to meet your needs and are deployed on better hosts. |
| 77 | +- Scaling no longer blocks other scale operations within the App Service Environment v3. Only one scale operation can be in effect for a combination of OS and size. For example, while your Windows small App Service plan is scaling, you could kick off a scale operation to run at the same time on a Windows medium or anything else other than Windows small. |
| 78 | +- You can reach apps in an internal-VIP App Service Environment v3 across global peering. Such access wasn't possible in earlier versions. |
74 | 79 |
|
75 |
| -There are a few features that are not available in App Service Environment v3 that were available in earlier versions of the App Service Environment. In App Service Environment v3, you can't: |
| 80 | +A few features that were available in earlier versions of App Service Environment aren't available in App Service Environment v3. For example, you can no longer do the following: |
76 | 81 |
|
77 |
| -- send SMTP traffic. You can still have email triggered alerts but your app can't send outbound traffic on port 25 |
78 |
| -- deploy your apps with FTP |
79 |
| -- use remote debug with your apps |
80 |
| -- monitor your traffic with Network Watcher or NSG Flow |
81 |
| -- configure a IP-based TLS/SSL binding with your apps |
82 |
| -- configure custom domain suffix |
83 |
| -- backup/restore operation on a storage account behind a firewall |
| 82 | +- Send SMTP traffic. You can still have email triggered alerts but your app can't send outbound traffic on port 25. |
| 83 | +- Deploy your apps by using FTP. |
| 84 | +- Use remote debugging with your apps. |
| 85 | +- Monitor your traffic with Network Watcher or network security group (NSG) flow logs. |
| 86 | +- Configure an IP-based Transport Layer Security (TLS) or Secure Sockets Layer (SSL) binding with your apps. |
| 87 | +- Configure a custom domain suffix. |
| 88 | +- Perform a backup and restore operation on a storage account behind a firewall. |
84 | 89 |
|
85 | 90 | ## Pricing
|
86 | 91 |
|
87 |
| -With App Service Environment v3, there is a different pricing model depending on the type of App Service Environment deployment you have. The three pricing models are: |
| 92 | +With App Service Environment v3, the pricing model varies depending on the type of App Service Environment deployment you have. The three pricing models are: |
88 | 93 |
|
89 |
| -- **App Service Environment v3**: If App Service Environment is empty, there is a charge as if you had one instance of Windows I1v2. The one instance charge isn't an additive charge but is only applied if the App Service Environment is empty. |
90 |
| -- **Zone redundant App Service Environment v3**: There's a minimum charge of nine instances. There's no added charge for availability zone support if you have nine or more App Service plan instances. If you've fewer than nine instances (of any size) across App Service plans in the zone redundant App Service Environment, the difference between nine and the running instance count is charged as additional Windows I1v2 instances. |
91 |
| -- **Dedicated host App Service Environment v3**: With a dedicated host deployment, you're charged for two dedicated hosts per our pricing at App Service Environment v3 creation then a small percentage of the Isolated v2 rate per core charge as you scale. |
| 94 | +- **App Service Environment v3**: If the App Service Environment is empty, there's a charge as though you have one instance of Windows I1v2. The one instance charge isn't an additive charge but is applied only if the App Service Environment is empty. |
| 95 | +- **Zone redundant App Service Environment v3**: There's a minimum charge of nine instances. There's no added charge for availability zone support if you have nine or more App Service plan instances. If you have fewer than nine instances (of any size) across App Service plans in the zone redundant App Service Environment, the difference between nine and the running instance count is charged as additional Windows I1v2 instances. |
| 96 | +- **Dedicated host App Service Environment v3**: With a dedicated host deployment, you're charged for two dedicated hosts per our pricing when you create the App Service Environment v3 and then, as you scale, you're charged a small percentage of the Isolated v2 rate per core. |
92 | 97 |
|
93 |
| -Reserved Instance pricing for Isolated v2 is available and is described in [How reservation discounts apply to Azure App Service](../../cost-management-billing/reservations/reservation-discount-app-service.md). The pricing, along with reserved instance pricing, is available at [App Service pricing](https://azure.microsoft.com/pricing/details/app-service/windows/) under **Isolated v2 plan**. |
| 98 | +Reserved Instance pricing for Isolated v2 is available and is described in [How reservation discounts apply to Azure App Service](../../cost-management-billing/reservations/reservation-discount-app-service.md). The pricing, along with Reserved Instance pricing, is available at [App Service pricing](https://azure.microsoft.com/pricing/details/app-service/windows/) under the Isolated v2 plan. |
94 | 99 |
|
95 | 100 | ## Regions
|
96 | 101 |
|
97 |
| -The App Service Environment v3 is available in the following regions. |
| 102 | +App Service Environment v3 is available in the following regions: |
98 | 103 |
|
99 | 104 | | Normal and dedicated host regions | Availability zone regions |
|
100 | 105 | |---|---|
|
@@ -132,4 +137,4 @@ The App Service Environment v3 is available in the following regions.
|
132 | 137 |
|
133 | 138 | ## App Service Environment v2
|
134 | 139 |
|
135 |
| -App Service Environment has three versions: App Service Environment v1, App Service Environment v2, and App Service Environment v3. The preceding information was based on App Service Environment v3. To learn more about App Service Environment v2, see [App Service Environment v2 introduction](./intro.md). |
| 140 | +App Service Environment has three versions: App Service Environment v1, App Service Environment v2, and App Service Environment v3. The information in this article is based on App Service Environment v3. To learn more about App Service Environment v2, see [App Service Environment v2 introduction](./intro.md). |
0 commit comments