Skip to content

Commit 22ba76d

Browse files
committed
Revise articles
1 parent 45f705d commit 22ba76d

File tree

3 files changed

+42
-48
lines changed

3 files changed

+42
-48
lines changed

articles/app-service/app-service-web-app-cloning.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Clone an App with PowerShell
2+
title: Clone an App by Using PowerShell
33
description: Learn how to clone your App Service app to a new app by using PowerShell. Learn about various cloning scenarios, including Traffic Manager integration.
44
ms.assetid: f9a5cfa1-fbb0-41e6-95d1-75d457347a35
55
ms.topic: how-to
6-
ms.date: 01/14/2016
6+
ms.date: 05/02/2025
77
ms.custom: devx-track-azurepowershell
88
author: msangapu-msft
99
ms.author: msangapu
@@ -12,9 +12,9 @@ ms.author: msangapu
1212

1313
[!INCLUDE [updated-for-az](~/reusable-content/ce-skilling/azure/includes/updated-for-az.md)]
1414

15-
With the release of Microsoft Azure PowerShell version 1.1.0, there's a new option for `New-AzWebApp`. By using this option, you can clone an existing App Service app to a newly created app in a different region or in the same region. You can deploy multiple apps across different regions quickly and easily.
15+
This article explains how you can clone an existing App Service app to a newly created app in a different region or in the same region. You can deploy multiple apps across different regions quickly and easily.
1616

17-
App cloning is supported for Standard, Premium, Premium V2, and Isolated App Service plans. The feature uses the same limitations as the App Service Backup feature, see [Back up an app in Azure App Service](manage-backup.md).
17+
App cloning is supported in **Standard**, **Premium**, **Premium V2**, and **Isolated** pricing tiers. The feature uses the same limitations as the App Service Backup feature, see [Back up an app in Azure App Service](manage-backup.md).
1818

1919
## Clone an existing app
2020

@@ -109,8 +109,9 @@ After you have the Traffic Manager ID, the following command demonstrates how to
109109
```powershell
110110
$destapp = New-AzWebApp -ResourceGroupName <Resource group name> -Name dest-webapp -Location "South Central US" -AppServicePlan DestinationAppServicePlan -SourceWebApp $srcapp -TrafficManagerProfileId $TMProfileID
111111
```
112+
112113
> [!NOTE]
113-
> If you're receiving an error that states "SSL validation on the traffic manager hostname is failing," we suggest you use the `-IgnoreCustomHostNames` attribute in the PowerShell cmdlet while you perform the clone operation. The alternative is that you can use the portal.
114+
> If you receive an error that states **SSL validation on the traffic manager hostname is failing**, we suggest that you use the `-IgnoreCustomHostNames` attribute in the PowerShell cmdlet while you perform the clone operation. Alternatively, you can use the Azure portal.
114115
115116
## Current restrictions
116117

@@ -125,14 +126,13 @@ Here are the known restrictions of app cloning:
125126
* TiP rules aren't cloned.
126127
* Database content isn't cloned.
127128
* Outbound IP addresses change if you clone to a different scale unit.
128-
* Linux apps: not available.
129+
* Linux apps aren't available.
129130
* Managed identities aren't cloned.
130-
* Function apps: not available.
131+
* Function apps aren't available.
131132

132133
## Related content
133134

134-
* [Clone an app in Azure App Service](app-service-web-app-cloning.md)
135-
* [Back up an app in Azure App Service](manage-backup.md)
136-
* [Learn about Azure Resource Manager support for Azure Traffic Manager Preview](../traffic-manager/traffic-manager-powershell-arm.md)
137-
* [Get an introduction to App Service Environment](environment/intro.md)
138-
* [Use Azure PowerShell with Azure Resource Manager](../azure-resource-manager/management/manage-resources-powershell.md)
135+
* [Back up and restore your app in Azure App Service](manage-backup.md)
136+
* [Using PowerShell to manage Traffic Manager](../traffic-manager/traffic-manager-powershell-arm.md)
137+
* [App Service Environment overview](environment/intro.md)
138+
* [Manage Azure resources by using Azure PowerShell](../azure-resource-manager/management/manage-resources-powershell.md)

articles/app-service/deploy-ci-cd-custom-container.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
---
22
title: Configure CI/CD to Custom Containers
3-
description: Set up continuous deployment to a custom Windows or Linux container in Azure App Service.
3+
description: Set up continuous integration and continuous delivery (CI/CD) to a custom Windows or Linux container in Azure App Service.
44
keywords: azure app service, linux, docker, acr, oss
55
author: msangapu-msft
66
ms.assetid: a47fb43a-bbbd-4751-bdc1-cd382eae49f8
77
ms.topic: how-to
8-
ms.date: 11/18/2022
8+
ms.date: 05/02/2025
99
ms.author: msangapu
1010
ms.custom: devx-track-azurecli, linux-related-content
1111
zone_pivot_groups: app-service-containers-windows-linux
1212
---
1313

1414
# Continuous deployment with custom containers in Azure App Service
1515

16-
Learn how to configure continuous integration and continuous delivery (CI/CD) for a custom container image from managed [Azure Container Registry](https://azure.microsoft.com/services/container-registry/) repositories or [Docker Hub](https://hub.docker.com).
16+
This article explains how to configure continuous integration and continuous delivery (CI/CD) for a custom container image from managed [Azure Container Registry](https://azure.microsoft.com/services/container-registry/) repositories or [Docker Hub](https://hub.docker.com).
1717

1818
## 1. Go to the Deployment Center
1919

2020
In the [Azure portal](https://portal.azure.com), go to the management pane for your Azure App Service app.
2121

22-
From the left menu, select **Deployment Center** > **Settings**.
22+
In the sidebar menu under **Deployment**, select **Deployment Center**. Choose the **Settings** tab.
2323

2424
::: zone pivot="container-linux"
25-
## 2. Choose deployment source
25+
## 2. Select code source
2626

27-
Choose the deployment source based on the following criteria:
27+
From the **Source** dropdown menu, select the deployment source based on the following criteria:
2828

2929
* **Container registry** sets up CI/CD between your container registry and App Service.
3030
* Choose the **GitHub Actions** option if you maintain the source code for your container image in GitHub. New commits to your GitHub repository trigger the deploy action, which can run `docker build` and `docker push` directly to your container registry. It then updates your App Service app to run the new image. For more information, see [How CI/CD works with GitHub Actions](#how-cicd-works-with-github-actions).
@@ -50,7 +50,7 @@ To deploy a multi-container (Docker Compose) app, select **Docker Compose** in *
5050
If you don't see the **Container Type** dropdown list, scroll back up to **Source** and select **Container Registry**.
5151
::: zone-end
5252

53-
In **Registry source**, select where your container registry is. If it's not Azure Container Registry or Docker Hub, select **Private Registry**.
53+
In **Registry source**, select where your container registry is. If it's not Azure Container Registry or Docker Hub, select **Private registry**.
5454

5555
::: zone pivot="container-linux"
5656
> [!NOTE]
@@ -63,7 +63,7 @@ Follow the next steps by selecting the tab that matches your choice.
6363

6464
The **Registry** dropdown list displays the registries in the same subscription as your app. Select the registry you want.
6565

66-
To deploy from a registry in a different subscription, select **Private Registry** in **Registry source** instead.
66+
To deploy from a registry in a different subscription, select **Private registry** in **Registry source** instead.
6767

6868
To use managed identities to lock down Azure Container Registry access, see:
6969

articles/app-service/manage-scale-per-app.md

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
---
2-
title: Per-app scaling for high-density hosting
2+
title: Per-App Scaling for High-Density Hosting
33
description: Scale apps independently from the App Service plans and optimize the scaled-out instances in your plan.
44
author: msangapu-msft
55

66
ms.assetid: a903cb78-4927-47b0-8427-56412c4e3e64
77
ms.topic: article
8-
ms.date: 06/29/2023
8+
ms.date: 05/02/2025
99
ms.author: msangapu
1010
ms.custom: devx-track-azurepowershell, devx-track-arm-template
1111
---
1212
# High-density hosting on Azure App Service using per-app scaling
1313

1414
[!INCLUDE [updated-for-az](~/reusable-content/ce-skilling/azure/includes/updated-for-az.md)]
1515

16-
When using App Service, you can scale your apps by scaling the [App Service plan](overview-hosting-plans.md) they run on. When multiple apps are running in the same App Service plan, each scaled-out instance runs all the apps in the plan.
16+
You can scale your apps by scaling the [App Service plan](overview-hosting-plans.md) they run on. When multiple apps are running in the same App Service plan, each scaled-out instance runs all the apps in the plan.
1717

18-
*Per-app scaling* can be enabled at the App Service plan level to allow for scaling an app independently from the
18+
In contrast, *per-app scaling* can be enabled at the App Service plan level to scale an app independently from the
1919
App Service plan that hosts it. This way, an App Service plan can be scaled to 10 instances, but an app can be set to use only five.
2020

2121
> [!NOTE]
2222
> Per-app scaling is available only for **Standard**, **Premium**, **Premium V2**, **Premium V3**, and **Isolated** pricing tiers.
2323
>
2424
25-
Apps are allocated to available App Service plan using a best effort approach for an even distribution across instances. While an even distribution is not guaranteed, the platform will make sure that two instances of the same app will not be hosted on the same App Service plan instance.
25+
Apps are allocated to the available App Service plan using a best-effort approach for an even distribution across instances. While an even distribution isn't guaranteed, the platform makes sure that two instances of the same app aren't hosted on the same App Service plan instance.
2626

27-
The platform does not rely on metrics to decide on worker allocation. Applications are rebalanced only when instances are added or removed from the App Service plan.
27+
The platform doesn't rely on metrics to decide on worker allocation. Applications are rebalanced only when instances are added or removed from the App Service plan.
2828

29-
## Per app scaling using PowerShell
29+
## Per-app scaling using PowerShell
3030

31-
Create a plan with per-app scaling by passing in the ```-PerSiteScaling $true``` parameter to the ```New-AzAppServicePlan``` cmdlet.
31+
Create a plan with per-app scaling by passing in the `-PerSiteScaling $true` parameter to the `New-AzAppServicePlan` cmdlet.
3232

3333
```powershell
3434
New-AzAppServicePlan -ResourceGroupName $ResourceGroup -Name $AppServicePlan `
@@ -37,29 +37,25 @@ New-AzAppServicePlan -ResourceGroupName $ResourceGroup -Name $AppServicePlan `
3737
-NumberofWorkers 5 -PerSiteScaling $true
3838
```
3939

40-
Enable per-app scaling with an existing App Service Plan
41-
by passing in the `-PerSiteScaling $true` parameter to the
42-
```Set-AzAppServicePlan``` cmdlet.
40+
Enable per-app scaling with an existing App Service Plan by passing in the `-PerSiteScaling $true` parameter to the `Set-AzAppServicePlan` cmdlet.
4341

4442
```powershell
45-
# Enable per-app scaling for the App Service Plan using the "PerSiteScaling" parameter.
4643
Set-AzAppServicePlan -ResourceGroupName $ResourceGroup `
4744
-Name $AppServicePlan -PerSiteScaling $true
4845
```
4946

5047
At the app level, configure the number of instances the app can use in the App Service plan.
5148

52-
In the example below, the app is limited to two instances regardless
53-
of how many instances the underlying app service plan scales out to.
49+
In the following example, the app is limited to two instances regardless of how many instances the underlying app service plan scales out to.
5450

5551
```powershell
5652
# Get the app we want to configure to use "PerSiteScaling"
5753
$newapp = Get-AzWebApp -ResourceGroupName $ResourceGroup -Name $webapp
5854
59-
# Modify the NumberOfWorkers setting to the desired value.
55+
# Modify the NumberOfWorkers setting to the desired value
6056
$newapp.SiteConfig.NumberOfWorkers = 2
6157
62-
# Post updated app back to azure
58+
# Post updated app back to Azure
6359
Set-AzWebApp $newapp
6460
```
6561

@@ -70,12 +66,10 @@ Set-AzWebApp $newapp
7066

7167
The following Azure Resource Manager template creates:
7268

73-
- An App Service plan that's scaled out to 10 instances
74-
- an app that's configured to scale to a max of five instances.
69+
- An App Service plan that's scaled out to 10 instances.
70+
- An app that's configured to scale to a max of five instances.
7571

76-
The App Service plan is setting the **PerSiteScaling** property
77-
to true `"perSiteScaling": true`. The app is setting the **number of workers**
78-
to use to 5 `"properties": { "numberOfWorkers": "5" }`.
72+
The App Service plan is setting the `PerSiteScaling` property to true `"perSiteScaling": true`. The app is setting the `number of workers` to use to 5 `"properties": { "numberOfWorkers": "5" }`.
7973

8074
```json
8175
{
@@ -126,20 +120,20 @@ to use to 5 `"properties": { "numberOfWorkers": "5" }`.
126120

127121
## Recommended configuration for high-density hosting
128122

129-
Per app scaling is a feature that is enabled in both global Azure regions and [App Service Environments](environment/app-service-app-service-environment-intro.md). However, the recommended strategy is to use App Service Environments to take advantage of their advanced features and the larger App Service plan capacity.
123+
Per-app scaling is a feature that's enabled in both global Azure regions and [App Service Environments](environment/app-service-app-service-environment-intro.md). However, the recommended strategy is to use App Service Environments to take advantage of their advanced features and the larger App Service plan capacity.
130124

131125
Follow these steps to configure high-density hosting for your apps:
132126

133127
1. Designate an App Service plan as the high-density plan and scale it out to the desired capacity.
134128
1. Set the `PerSiteScaling` flag to true on the App Service plan.
135-
1. New apps are created and assigned to that App Service plan with the **numberOfWorkers** property set to **1**.
129+
1. New apps are created and assigned to that App Service plan with the `numberOfWorkers` property set to *1*.
136130
- Using this configuration yields the highest density possible.
137131
1. The number of workers can be configured independently per app to grant additional resources as needed. For example:
138-
- A high-use app can set **numberOfWorkers** to **3** to have more processing capacity for that app.
139-
- Low-use apps would set **numberOfWorkers** to **1**.
132+
- A high-use app can set `numberOfWorkers` to *3* to have more processing capacity for that app.
133+
- Low-use apps would set `numberOfWorkers` to *1*.
140134

141-
## Next steps
135+
## Related content
142136

143-
- [Azure App Service plans in-depth overview](overview-hosting-plans.md)
144-
- [Introduction to App Service Environment](environment/app-service-app-service-environment-intro.md)
137+
- [What are Azure App Service plans?](overview-hosting-plans.md)
138+
- [App Service Environment overview](environment/overview.md)
145139
- [Tutorial: Run a load test to identify performance bottlenecks in a web app](../load-testing/tutorial-identify-bottlenecks-azure-portal.md)

0 commit comments

Comments
 (0)