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
Copy file name to clipboardExpand all lines: articles/app-service/deploy-staging-slots.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ The app must be running in the **Standard**, **Premium**, or **Isolated** tier i
54
54
55
55
1. In the **Add a slot** dialog box, give the slot a name, and select whether to clone an app configuration from another deployment slot. Select **Add** to continue.
56
56
57
-
:::image type="content" source="media/web-sites-staged-publishing/configure-new-slot.png" alt-text="A screenshot that shows how to configure a new deployment slot called 'staging' in the portal." lightbox="media/web-sites-staged-publishing/configure-new-slot.png":::
57
+
:::image type="content" source="media/web-sites-staged-publishing/configure-new-slot.png" alt-text="Screenshot that shows how to configure a new deployment slot called 'staging' in the portal." lightbox="media/web-sites-staged-publishing/configure-new-slot.png":::
58
58
59
59
You can clone a configuration from any existing slot. Settings that can be cloned include app settings, connection strings, language framework versions, web sockets, HTTP version, and platform bitness.
60
60
@@ -65,7 +65,7 @@ The app must be running in the **Standard**, **Premium**, or **Isolated** tier i
65
65
66
66
1. Select the new deployment slot to open that slot's resource page.
67
67
68
-
:::image type="content" source="media/web-sites-staged-publishing/open-deployment-slot.png" alt-text="A screenshot that shows how to open deployment slot's management page in the portal." lightbox="media/web-sites-staged-publishing/open-deployment-slot.png":::
68
+
:::image type="content" source="media/web-sites-staged-publishing/open-deployment-slot.png" alt-text="Screenshot that shows how to open deployment slot's management page in the portal." lightbox="media/web-sites-staged-publishing/open-deployment-slot.png":::
69
69
70
70
The staging slot has a management page just like any other App Service app. You can change the slot's configuration. To remind you that you're viewing the deployment slot, the app name is shown as **\<app-name>/\<slot-name>**. The app type is **App Service (Slot)**. You can also see the slot as a separate app in your resource group, with the same designations.
71
71
@@ -138,7 +138,7 @@ At any point of the swap operation, all work of initializing the swapped apps ha
138
138
139
139
To configure an app setting or connection string to stick to a specific slot, which isn't swapped, go to the **Settings** > **Environment Variable** page for that slot. Add or edit a setting, and then select **Deployment slot setting**. Selecting this check box tells App Service that the setting isn't swappable.
140
140
141
-
:::image type="content" source="media/web-sites-staged-publishing/set-slot-app-setting.png" alt-text="A screenshot that shows how to configure an app setting as a slot setting in the Azure portal.":::
141
+
:::image type="content" source="media/web-sites-staged-publishing/set-slot-app-setting.png" alt-text="Screenshot that shows how to configure an app setting as a slot setting in the Azure portal.":::
142
142
143
143
<aname="Swap"></a>
144
144
@@ -155,13 +155,13 @@ To swap deployment slots:
155
155
156
156
1. Go to your app's **Deployment slots** page and select **Swap**.
157
157
158
-
:::image type="content" source="media/web-sites-staged-publishing/swap-initiate.png" alt-text="A screenshot that shows how to initiate a swap operation in the portal." lightbox="media/web-sites-staged-publishing/swap-initiate.png":::
158
+
:::image type="content" source="media/web-sites-staged-publishing/swap-initiate.png" alt-text="Screenshot that shows how to initiate a swap operation in the portal." lightbox="media/web-sites-staged-publishing/swap-initiate.png":::
159
159
160
160
The **Swap** dialog box shows settings in the selected source and target slots to be changed.
161
161
162
162
1. Select the desired **Source** and **Target** slots. Usually, the target is the production slot. Also, select the **Source Changes** and **Target Changes** tabs and verify that the configuration changes are expected. When you finish, you can swap the slots immediately by selecting **Swap**.
163
163
164
-
:::image type="content" source="media/web-sites-staged-publishing/swap-configure-source-target-slots.png" alt-text="A screenshot that shows how to configure and complete a swap in the portal." lightbox="media/web-sites-staged-publishing/swap-configure-source-target-slots.png":::
164
+
:::image type="content" source="media/web-sites-staged-publishing/swap-configure-source-target-slots.png" alt-text="A screenshot that shows how to configure and complete a swap in the portal.":::
165
165
166
166
To see how your target slot would run with the new settings before the swap actually happens, don't select **Swap**, but follow the instructions in [Swap with preview](#Multi-Phase).
167
167
@@ -218,7 +218,7 @@ To swap with preview:
218
218
219
219
1. When you're ready to complete the pending swap, select **Complete Swap** in **Swap action** and select **Complete Swap**.
220
220
221
-
:::image type="content" source="media/web-sites-staged-publishing/swap-with-preview.png" alt-text="A screenshot that shows how to configure a swap with preview in the portal." lightbox="media/web-sites-staged-publishing/swap-with-preview.png":::
221
+
:::image type="content" source="media/web-sites-staged-publishing/swap-with-preview.png" alt-text="Screenshot that shows how to configure a swap with preview in the portal.":::
222
222
223
223
To cancel a pending swap, select **Cancel Swap** instead, and then select **Cancel Swap** at the bottom.
224
224
@@ -300,7 +300,7 @@ To configure auto swap:
300
300
301
301
1. For **Auto swap enabled**, select **On**. Then select the desired target slot for **Auto swap deployment slot**, and select **Save** on the command bar.
302
302
303
-
:::image type="content" source="media/web-sites-staged-publishing/auto-swap.png" alt-text="A screenshot that shows how to configure auto swap into the production slot in the portal." lightbox="media/web-sites-staged-publishing/auto-swap.png":::
303
+
:::image type="content" source="media/web-sites-staged-publishing/auto-swap.png" alt-text="Screenshot that shows how to configure auto swap into the production slot in the portal.":::
304
304
305
305
1. Run a code push to the source slot. Auto swap happens after a short time. The update is reflected at your target slot's URL.
306
306
@@ -404,7 +404,7 @@ To route production traffic automatically:
404
404
405
405
1. In the **Traffic %** column of the slot you want to route to, specify a percentage (between 0 and 100) to represent the amount of total traffic you want to route. Select **Save**.
406
406
407
-
:::image type="content" source="media/web-sites-staged-publishing/route-traffic-to-slot.png" alt-text="A screenshot that shows how to route a percentage of request traffic to a deployment slot, in the portal." lightbox="media/web-sites-staged-publishing/route-traffic-to-slot.png":::
407
+
:::image type="content" source="media/web-sites-staged-publishing/route-traffic-to-slot.png" alt-text="Screenshot that shows how to route a percentage of request traffic to a deployment slot, in the portal." lightbox="media/web-sites-staged-publishing/route-traffic-to-slot.png":::
408
408
409
409
After the setting is saved, the specified percentage of clients is randomly routed to the nonproduction slot.
410
410
@@ -460,7 +460,7 @@ By default, new slots are given a routing rule of `0%`, shown in grey. When you
460
460
461
461
Search for and select your app. Select **Deployment** > **Deployment slots** > *\<slot to delete>* > **Overview**. The app type is shown as **App Service (Slot)** to remind you that you're viewing a deployment slot. Before deleting a slot, make sure to stop the slot and set the traffic in the slot to zero. Select **Delete** on the command bar.
462
462
463
-
:::image type="content" source="media/web-sites-staged-publishing/delete-slot.png" alt-text="A screenshot that shows how to delete a deployment slot in the portal." lightbox="media/web-sites-staged-publishing/delete-slot.png":::
463
+
:::image type="content" source="media/web-sites-staged-publishing/delete-slot.png" alt-text="Screenshot that shows how to delete a deployment slot in the portal." lightbox="media/web-sites-staged-publishing/delete-slot.png":::
0 commit comments