Skip to content

Commit dec4fb5

Browse files
Add image and adjust lightboxes.
1 parent 9d141a0 commit dec4fb5

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

articles/app-service/deploy-staging-slots.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The app must be running in the **Standard**, **Premium**, or **Isolated** tier i
5454
5555
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.
5656

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":::
5858

5959
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.
6060

@@ -65,7 +65,7 @@ The app must be running in the **Standard**, **Premium**, or **Isolated** tier i
6565

6666
1. Select the new deployment slot to open that slot's resource page.
6767

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":::
6969

7070
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.
7171

@@ -138,7 +138,7 @@ At any point of the swap operation, all work of initializing the swapped apps ha
138138

139139
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.
140140

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.":::
142142

143143
<a name="Swap"></a>
144144

@@ -155,13 +155,13 @@ To swap deployment slots:
155155

156156
1. Go to your app's **Deployment slots** page and select **Swap**.
157157

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":::
159159

160160
The **Swap** dialog box shows settings in the selected source and target slots to be changed.
161161

162162
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**.
163163

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.":::
165165

166166
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).
167167

@@ -218,7 +218,7 @@ To swap with preview:
218218

219219
1. When you're ready to complete the pending swap, select **Complete Swap** in **Swap action** and select **Complete Swap**.
220220

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.":::
222222

223223
To cancel a pending swap, select **Cancel Swap** instead, and then select **Cancel Swap** at the bottom.
224224

@@ -300,7 +300,7 @@ To configure auto swap:
300300

301301
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.
302302

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.":::
304304

305305
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.
306306

@@ -404,7 +404,7 @@ To route production traffic automatically:
404404

405405
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**.
406406

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":::
408408

409409
After the setting is saved, the specified percentage of clients is randomly routed to the nonproduction slot.
410410

@@ -460,7 +460,7 @@ By default, new slots are given a routing rule of `0%`, shown in grey. When you
460460

461461
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.
462462

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":::
464464

465465
# [Azure CLI](#tab/cli)
466466

-1.91 KB
Loading

0 commit comments

Comments
 (0)