You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
15
+
This article explains how you can clone an existing App Service app to create a new app in a different region or in the same region. You can deploy multiple apps across different regions quickly and easily.
16
16
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).
17
+
App cloning is supported in **Standard**, **Premium**, **Premium V2**, and **Isolated** pricing tiers. The feature has the same limitations as the App Service Backup feature, see [Back up an app in Azure App Service](manage-backup.md).
18
18
19
19
## Clone an existing app
20
20
21
-
Scenario: You want to clone the contents of an existing app in the South Central US region to a new app in the North Central US region. You can use the Azure Resource Manager version of the PowerShell cmdlet to create a new app with the `-SourceWebApp` option.
21
+
Scenario: You want to clone the contents of an existing app in the South Central US region to a new app in the North Central US region. You can use the Azure Resource Manager version of the PowerShell cmdlet to create a new app by using the `-SourceWebApp` option.
22
22
23
-
When you know the name of the resource group that contains the source app, you can use the following PowerShell command to get the source app's information (in this case named `source-webapp`):
23
+
When you know the name of the resource group that contains the source app, you can use the following PowerShell command to get the source app's information, in this case named `source-webapp`:
To clone an existing app, including all associated deployment slots, you need to use the `IncludeSourceWebAppSlots` parameter. The `IncludeSourceWebAppSlots` parameter is supported only for cloning an entire app including all of its slots. The following PowerShell command demonstrates the use of that parameter with the `New-AzWebApp` command:
41
+
To clone an existing app, including all associated deployment slots, you need to use the `IncludeSourceWebAppSlots` parameter. This parameter is supported only for cloning an entire app including all of its slots. The following PowerShell command demonstrates the use of that parameter with the `New-AzWebApp` command:
Scenario: You want to clone the contents of an existing app in the South Central US region to a new app in an existing App Service Environment.
56
56
57
-
When you know the name of the resource group that contains the source app, you can use the following PowerShell command to get the source app's information (in this case named `source-webapp`):
57
+
When you know the name of the resource group that contains the source app, you can use the following PowerShell command to get the source app's information, in this case named `source-webapp`:
Copy file name to clipboardExpand all lines: articles/app-service/deploy-ci-cd-custom-container.md
+4-11Lines changed: 4 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ After you authorize your Azure account with GitHub, select the **Organization**,
43
43
## 3. Configure registry settings
44
44
45
45
> [!NOTE]
46
-
> Sidecar containers (preview) will succeed multi-container (Docker Compose) apps in App Service. To get started, see [Tutorial: Configure a sidecar container for custom containers in Azure App Service (preview)](tutorial-custom-container-sidecar.md).
46
+
> Sidecar containers will succeed multi-container (Docker Compose) apps in App Service. To get started, see [Tutorial: Configure a sidecar container for custom containers in Azure App Service](tutorial-custom-container-sidecar.md).
47
47
48
48
To deploy a multi-container (Docker Compose) app, select **Docker Compose** in **Container Type**.
49
49
@@ -144,25 +144,18 @@ To verify whether **Basic Auth Publishing Credentials** is enabled, go to your w
144
144
145
145
For other private registries, you can post to the webhook manually or as a step in a CI/CD pipeline. In **Webhook URL**, select the **Copy** button to get the webhook URL.
146
146
147
+
Select **Save** to save your settings.
148
+
147
149
::: zone pivot="container-linux"
148
150
> [!NOTE]
149
151
> Support for multi-container (Docker Compose) apps is limited. For Azure Container Registry, App Service creates a webhook in the selected registry with the registry as the scope. A `docker push` to any repository in the registry (including the ones not referenced by your Docker Compose file) triggers an app restart. You might want to [modify the webhook](/azure/container-registry/container-registry-webhook) to a narrower scope. Docker Hub doesn't support webhooks at the registry level. You must add the webhooks manually to the images specified in your Docker Compose file.
150
152
::: zone-end
151
153
152
-
::: zone pivot="container-windows"
153
-
## 4. Save your settings
154
-
::: zone-end
155
-
::: zone pivot="container-linux"
156
-
## 5. Save your settings
157
-
::: zone-end
158
-
159
-
Select **Save**.
160
-
161
154
::: zone pivot="container-linux"
162
155
163
156
## How CI/CD works with GitHub Actions
164
157
165
-
If you choose **GitHub Actions**in **Source** (see [Choose deployment source](#2-choose-deployment-source)), App Service sets up CI/CD in the following ways:
158
+
If you choose **GitHub Actions**from the [Select code source](#2-select-code-source) dropdown menu, App Service sets up CI/CD in the following ways:
166
159
167
160
* It deposits a GitHub Actions workflow file into your GitHub repository to handle build and deploy tasks to App Service.
168
161
* It adds the credentials for your private registry as GitHub secrets. The generated workflow file runs the [`Azure/docker-login`](https://github.com/Azure/docker-login) action to sign in with your private registry, and then runs `docker push` to deploy to it.
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 Azure App Service apps by scaling the [App Service plan](overview-hosting-plans.md) they run on. When multiple apps run in the same App Service plan, each scaled-out instance runs all the apps in the plan.
17
17
18
18
In contrast, *per-app scaling* can be enabled at the App Service plan level to scale an app independently from the
19
19
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.
@@ -125,9 +125,12 @@ Per-app scaling is a feature that's enabled in both global Azure regions and [Ap
125
125
Follow these steps to configure high-density hosting for your apps:
126
126
127
127
1. Designate an App Service plan as the high-density plan and scale it out to the desired capacity.
128
+
128
129
1. Set the `PerSiteScaling` flag to true on the App Service plan.
130
+
129
131
1. New apps are created and assigned to that App Service plan with the `numberOfWorkers` property set to *1*.
130
132
- Using this configuration yields the highest density possible.
133
+
131
134
1. The number of workers can be configured independently per app to grant additional resources as needed. For example:
132
135
- A high-use app can set `numberOfWorkers` to *3* to have more processing capacity for that app.
133
136
- Low-use apps would set `numberOfWorkers` to *1*.
0 commit comments