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/logic-apps/set-up-deployment-slots.md
+48-44Lines changed: 48 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,26 @@
1
1
---
2
-
title: Enable Deployment Slots for Zero Downtime Deployment
3
-
description: Learn how to set up deployment slots to enable zero downtime deployment for Standard workflows in Azure Logic Apps.
2
+
title: Set Up Deployment Slots for Zero Downtime
3
+
description: Learn to set up deployment slots to enable zero downtime for Standard workflows in Azure Logic Apps.
4
4
services: logic-apps
5
5
ms.suite: integration
6
-
ms.reviewer: estfan, wsilveira
6
+
ms.reviewer: estfan, wsilveira, azla
7
7
ms.topic: how-to
8
8
ms.custom: sfi-image-nochange
9
-
ms.date: 09/15/2025
10
-
#Customer intent: As a logic app developer, I want to set up deployment slots on my logic app resource so that I can deploy with zero downtime.
9
+
ms.date: 10/10/2025
10
+
#Customer intent: As an integration developer working with Azure Logic Apps, I want to set up deployment slots on my Standard logic app resource so I can deploy with zero downtime.
11
11
---
12
12
13
-
# Set up deployment slots to enable zero downtime deployment in Azure Logic Apps
13
+
# Set up deployment slots to enable zero downtime in Azure Logic Apps
To deploy mission-critical logic apps that are always available and responsive, create and use *deployment slots*. Deployment slots are isolated environments that host different versions of your app.
17
+
To deploy mission-critical Standard logic apps that are always available and responsive, create *deployment slots*. These slots are isolated environments that host different versions of your app in preproduction.
18
18
19
-
You can enable zero downtime deployment for your app, even during updates or maintenance. Zero downtime means that when you deploy new versions of your app, end users don't experience disruption or downtime.
19
+
You can use these slots to enable *zero downtime*for your app. Zero downtime means when you deploy new versions of your app, end users don't experience disruption or downtime, even during updates or maintenance.
20
20
21
21
Deployment slots provide the following benefits:
22
22
23
-
- Swap a deployment slot with your production slot without interruption. That way, you can update your logic app and workflows without affecting availability or performance.
23
+
- Swap a deployment slot with your production slot without interruption. You can update your logic app and workflows without affecting availability or performance.
24
24
- Validate any changes in a deployment slot before you apply those changes to the production slot.
25
25
- Roll back to a previous version, if anything goes wrong with your deployment.
26
26
- Reduce the risk of negative performance when you must exceed the [recommended number of workflows per logic app](create-single-tenant-workflows-azure-portal.md#best-practices-and-recommendations).
@@ -55,34 +55,38 @@ With deployment slots, you can achieve continuous delivery and improve the quali
55
55
56
56
-[Azure Logic Apps Standard Contributor role permissions](logic-apps-securing-a-logic-app.md?tabs=azure-portal#standard-workflows)
57
57
58
-
-An existing Standard logic app resource in Azure where you want to create your deployment slot and deploy your changes. You can create an empty Standard logic app resource. For more information, see [Create a Standard workflow in Azure Logic Apps](create-single-tenant-workflows-azure-portal.md).
58
+
-The Standard logic app resource where you want to create your deployment slot and deploy your changes. You can create an empty Standard logic app resource. For more information, see [Create a Standard workflow in Azure Logic Apps](create-single-tenant-workflows-azure-portal.md).
59
59
60
60
## Create a deployment slot
61
61
62
62
The following options are available for you to create a deployment slot:
63
63
64
64
### [Portal](#tab/portal)
65
65
66
-
1. In [Azure portal](https://portal.azure.com), open your Standard logic app resource where you want to create a deployment slot.
67
-
1. On the resource menu, under **Deployment**, select **Deployment slots**.
66
+
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
67
+
1. On the resource sidebar, under **Deployment**, select **Deployment slots**.
68
68
1. On the toolbar, select **Add**.
69
-
1. In the **Add Slot** pane, provide a name for your deployment slot. It must be unique and use only lowercase alphanumeric characters or hyphens (**-**).
69
+
1. In the **Add Slot** pane, provide a unique name for your deployment slot.
70
+
71
+
The name must use only lowercase alphanumeric characters or hyphens (**-**).
70
72
71
73
> [!NOTE]
72
74
>
73
-
> After you create it, the deployment slotname uses the following format: <*logic-app-name-deployment-slot-name*>.
75
+
> After you create the slot, the name has the following format: <*logic-app-name-deployment-slot-name*>.
74
76
75
77
1. When you're done, select **Add**.
76
78
77
79
### [Visual Studio Code](#tab/visual-studio-code)
78
80
79
-
1. In Visual Studio Code, open the Standard logic app project that you want to deploy.
81
+
1. In Visual Studio Code, open the workspace and project for your Standard logic app.
80
82
1. Open the command palette. (Keyboard: **Ctrl** + **Shift** + **P**)
81
83
1. From the command list, select **Azure Logic Apps: Create slot**. Follow the prompts to provide the required information:
82
84
83
85
1. Enter and select the name for your Azure subscription.
84
-
1. Enter and select the name for your existing Standard logic app in Azure.
85
-
1. Enter a name for your deployment slot. It must be unique and use only lowercase alphanumeric characters or hyphens (**-**),
86
+
1. Enter and select the name for your Standard logic app.
87
+
1. Enter a unique name for your deployment slot.
88
+
89
+
This name must use only lowercase alphanumeric characters or hyphens (**-**),
86
90
87
91
### [Azure CLI](#tab/azure-cli)
88
92
@@ -92,7 +96,7 @@ Run the following Azure CLI command:
After you create the deployment slot, confirm that the slot exists on your deployed logic app resource.
106
110
107
111
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
108
-
1. On the resource menu, under **Deployment**, select **Deployment slots**.
112
+
1. On the resource sidebar, under **Deployment**, select **Deployment slots**.
109
113
1. On the **Deployment slots** page, under **Deployment Slots**, find and select your new deployment slot.
110
114
111
115
> [!NOTE]
@@ -122,15 +126,15 @@ Unavailable at this time. Follow the steps for Visual Studio Code or Azure CLI t
122
126
123
127
### [Visual Studio Code](#tab/visual-studio-code)
124
128
125
-
1. In Visual Studio Code, open the Standard logic app project that you want to deploy.
129
+
1. In Visual Studio Code, open your Standard logic app workspace and project.
126
130
1. Open the command palette. (Keyboard: **Ctrl** + **Shift** + **P**)
127
-
1. From the command list, select **Azure Logic Apps: Deploy to slot**, and follow the prompts to provide the required information:
131
+
1. From the command list, select **Azure Logic Apps: Deploy to slot**. Follow the prompts to provide the required information:
128
132
129
133
1. Enter and select the name for your Azure subscription.
130
-
1. Enter and select the name for your existing Standard logic app in Azure.
134
+
1. Enter and select the name for your Standard logic app.
131
135
1. Select the name for your deployment slot.
132
136
133
-
1. In the message box that appears, confirm that you want to deploy the current code in your project to the selected slot by selecting**Deploy**. This action overwrites any existing content in the selected slot.
137
+
1. In the message box that appears, confirm that you want to deploy the current code in your project to the selected slot , and select**Deploy**. This action overwrites any existing content in the selected slot.
134
138
135
139
1. After deployment completes, you can update any settings, if necessary, by selecting **Upload settings** in the message box that appears.
After you deploy your changes, confirm that the changes appear in your deployed logic app resource.
150
154
151
155
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
152
-
1. On the resource menu, under **Deployment**, select **Deployment slots**.
156
+
1. On the resource sidebar, under **Deployment**, select **Deployment slots**.
153
157
1. On the **Deployment slots** page, under **Deployment Slots**, find and select your deployment slot.
154
-
1. On the resource menu, select **Overview**. On the **Notifications** tab, check whether any deployment issues exist, for example, errors that might happen during app startup or around slot swapping:
158
+
1. On the resource sidebar, select **Overview**. On the **Notifications** tab, check whether any deployment issues exist, for example, errors that might happen during app startup or around slot swapping:
155
159
156
160
:::image type="content" source="media/set-up-deployment-slots/deployment-slot-notifications.png" alt-text="Screenshot shows the Azure portal, logic app deployment slot resource with Overview page, and selected Notifications tab." lightbox="media/set-up-deployment-slots/deployment-slot-notifications.png":::
157
161
158
-
1. To verify the changes in your workflow, under **Workflows**, select **Workflows**, and then select a workflow, which appears in read-only view.
162
+
1. To verify the changes in your workflow, under **Workflows**, select **Workflows**, then select a workflow, which appears in read-only view.
159
163
160
164
## Swap a deployment slot with the production slot
161
165
162
166
The following options are available for you to swap a deployment slot with the current production slot:
163
167
164
168
### [Portal](#tab/portal)
165
169
166
-
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource where you want to swap slots.
167
-
1. On the resource menu, under **Deployment**, select **Deployment slots**.
170
+
1. In the [Azure portal](https://portal.azure.com), open the Standard logic app resource where you want to swap slots.
171
+
1. On the resource sidebar, under **Deployment**, select **Deployment slots**.
168
172
1. On the toolbar, select **Swap**.
169
-
1. On the **Swap** pane, under **Source**, select the deployment slot that you want to activate.
170
-
1. Under **Target**, select the production slot that you want to replace with the deployment slot.
173
+
1. On the **Swap** pane, under **Source**, select the deployment slot to make active.
174
+
1. Under **Target**, select the production slot to replace with the deployment slot.
171
175
172
176
> [!NOTE]
173
177
>
@@ -179,14 +183,14 @@ The following options are available for you to swap a deployment slot with the c
179
183
180
184
### [Visual Studio Code](#tab/visual-studio-code)
181
185
182
-
1. In Visual Studio Code, open your Standard logic app project.
186
+
1. In Visual Studio Code, open your Standard logic app workspace and project.
183
187
1. Open the command palette. (Keyboard: **Ctrl** + **Shift** + **P**)
184
-
1. From the command list, select **Azure Logic Apps: Swap slot**, and follow the prompts to provide the required information:
188
+
1. From the command list, select **Azure Logic Apps: Swap slot**. Follow the prompts to provide the required information:
185
189
186
190
1. Enter and select the name for your Azure subscription.
187
-
1. Enter and select the name for your existing Standard logic app in Azure.
188
-
1. Select the deployment slot that you want to make as the active slot.
189
-
1. Select the production slot that you want to swap with the deployment slot.
191
+
1. Enter and select the name for your Standard logic app.
192
+
1. Select the deployment slot to make the active slot.
193
+
1. Select the production slot to swap with the deployment slot.
190
194
1. Wait for the operation to successfully complete.
191
195
192
196
### [Azure CLI](#tab/azure-cli)
@@ -214,25 +218,25 @@ The following options are available for you to delete a deployment slot from you
214
218
### [Portal](#tab/portal)
215
219
216
220
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
217
-
1. On the resource menu, under **Deployment**, select **Deployment slots**.
218
-
1. On the **Deployment slots** page, under **Deployment Slots**, select the deployment slot that you want to delete.
219
-
1. On the deployment slot resource menu, select **Overview**.
221
+
1. On the resource sidebar, under **Deployment**, select **Deployment slots**.
222
+
1. On the **Deployment slots** page, under **Deployment Slots**, select the deployment slot to delete.
223
+
1. On the deployment slot resource sidebar, select **Overview**.
220
224
1. On the **Overview** toolbar, select **Delete**.
221
225
1. Confirm deletion by entering the deployment slot name, and then select **Delete**.
222
226
223
227
:::image type="content" source="media/set-up-deployment-slots/delete-deployment-slot.png" alt-text="Screenshot shows the Azure portal, deployment slot resource with Overview page opened, and delete confirmation pane with deployment slot name to delete." lightbox="media/set-up-deployment-slots/delete-deployment-slot.png":::
224
228
225
229
### [Visual Studio Code](#tab/visual-studio-code)
226
230
227
-
1. In Visual Studio Code, open your Standard logic app project.
231
+
1. In Visual Studio Code, open your Standard logic app workspace and project.
228
232
1. Open the command palette. (Keyboard: **Ctrl** + **Shift** + **P**)
229
-
1. From the command list, select **Azure Logic Apps: Delete slot**, and follow the prompts to provide the required information:
233
+
1. From the command list, select **Azure Logic Apps: Delete slot**. Follow the prompts to provide the required information:
230
234
231
235
1. Enter and select the name for your Azure subscription.
232
-
1. Enter and select the name for your existing Standard logic app in Azure.
233
-
1. Select the deployment slot that you want to delete.
236
+
1. Enter and select the name for your Standard logic app.
237
+
1. Select the deployment slot to delete.
234
238
235
-
1. In the message box that appears, confirm that you want to delete selected deployment slot by selecting**Delete**.
239
+
1. In the message box that appears, confirm that you want to delete selected deployment slot, then select**Delete**.
0 commit comments