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: azure-local/deploy/deploy-via-portal.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,29 +3,30 @@ title: Deploy an Azure Local instance using the Azure portal
3
3
description: Learn how to deploy an Azure Local instance from the Azure portal
4
4
author: alkohli
5
5
ms.topic: how-to
6
-
ms.date: 05/01/2025
6
+
ms.date: 05/07/2025
7
7
ms.author: alkohli
8
8
ms.service: azure-local
9
9
#CustomerIntent: As an IT Pro, I want to deploy an Azure Local instance of 1-16 machines via the Azure portal so that I can host VM and container-based workloads on it.
10
10
---
11
11
12
12
# Deploy Azure Local using the Azure portal
13
13
14
-
> Applies to: Azure Local 2503 and later
15
-
16
14
This article helps you deploy an Azure Local instance using the Azure portal.
17
15
18
-
> [!IMPORTANT]
19
-
> The Azure portal will block deployments of Azure Local for versions 2411.3 or earlier. To deploy these versions, use an Azure Resource Manager (ARM) template. For more information, see [Deploy Azure Local via Azure Resource Manager deployment template](./deployment-azure-resource-manager-template.md).
20
-
21
16
## Prerequisites
22
17
23
18
- Completion of [Register your machines with Azure Arc and assign deployment permissions](./deployment-arc-register-server-permissions.md).
24
19
<!-- Cristian to confirm * For three-node systems, the network adapters that carry the in-cluster storage traffic must be connected to a network switch. Deploying three-node systems with storage network adapters that are directly connected to each machine without a switch isn't supported in this preview.-->
25
20
21
+
::: moniker range="<=azloc-24113"
22
+
23
+
- To deply Azure Local 2411.3 and earlier, use the alternative version of the [Azure portal](https://aka.ms/dfc-2411deploycluster). Use this version only for deployment, don't use it for any other purpose.
24
+
25
+
::: moniker-end
26
+
26
27
## Start the wizard and fill out the basics
27
28
28
-
1.Open a web browser and navigate to [**Azure portal**](https://portal.azure.com). Search for and select **Azure Local**. On the **Azure Arc|Azure Local**, go to the **Get started** tab. On the **Deploy Azure Local** tile, select **Create instance**.
29
+
1.Go to the Azure portal. Search for and select **Azure Local**. On the **Azure Arc|Azure Local**, go to the **Get started** tab. On the **Deploy Azure Local** tile, select **Create instance**.
29
30
30
31
:::image type="content" source="./media/deploy-via-portal/get-started-1.png" alt-text="Screenshot of the Get started tab in deployment via Azure portal." lightbox="./media/deploy-via-portal/get-started-1.png":::
Copy file name to clipboardExpand all lines: azure-local/deploy/deployment-arc-register-server-permissions.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,13 @@ This section describes how to assign Azure permissions for deployment from the A
187
187
188
188
1. In the right pane, go to **Role assignments**. Verify that the deployment user has all the configured roles.
189
189
190
+
1. In the Azure portal, go to **Microsoft Entra Roles and Administrators** and assign the **Cloud Application Administrator** role permission at the Microsoft Entra tenant level.
191
+
192
+
:::image type="content" source="media/deployment-arc-register-server-permissions/cloud-application-administrator-role-at-tenant.png" alt-text="Screenshot of the Cloud Application Administrator permission at the tenant level." lightbox="./media/deployment-arc-register-server-permissions/cloud-application-administrator-role-at-tenant.png":::
193
+
194
+
> [!NOTE]
195
+
> The Cloud Application Administrator permission is temporarily needed to create the service principal. After deployment, this permission can be removed.
196
+
190
197
## Next steps
191
198
192
199
After setting up the first machine in your instance, you're ready to deploy using Azure portal:
This article details how to use an Azure Resource Manager template in the Azure portal to deploy an Azure Local in your environment. The article also contains the prerequisites and the preparation steps required to begin the deployment.
18
16
19
17
> [!IMPORTANT]
@@ -24,12 +22,73 @@ This article details how to use an Azure Resource Manager template in the Azure
24
22
- Completion of [Register your machines with Azure Arc and assign deployment permissions](./deployment-arc-register-server-permissions.md). Make sure that:
25
23
- All machines are running the same version of OS.
26
24
- All the machines have the same network adapter configuration.
25
+
26
+
::: moniker range="<=azloc-24113"
27
+
27
28
- For Azure Local 2411.3 and earlier versions, make sure to select the **create-cluster-2411.3** template for deployment.
28
29
30
+
::: moniker-end
31
+
32
+
::: moniker range=">=azloc-2503"
33
+
34
+
- For Azure Local 2503 and later versions, make sure to select the **create-cluster** template for deployment.
35
+
36
+
::: moniker-end
37
+
29
38
## Step 1: Prepare Azure resources
30
39
31
40
Follow these steps to prepare the Azure resources you need for the deployment:
32
41
42
+
::: moniker range="<=azloc-24113"
43
+
44
+
### Create a service principal and client secret
45
+
46
+
To authenticate your system, you need to create a service principal and a corresponding **Client secret** for Arc Resource Bridge (ARB).
47
+
48
+
### Create a service principal for ARB
49
+
50
+
Follow the steps in [Create a Microsoft Entra application and service principal that can access resources via Azure portal](/entra/identity-platform/howto-create-service-principal-portal) to create the service principal and assign the roles. Alternatively, use the PowerShell procedure to [Create an Azure service principal with Azure PowerShell](/powershell/azure/create-azure-service-principal-azureps).
51
+
52
+
The steps are also summarized here:
53
+
54
+
1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com/) as at least a Cloud Application Administrator. Browse to **Identity > Applications > App registrations** then select **New registration**.
55
+
56
+
1. Provide a **Name** for the application, select a **Supported account type**, and then select **Register**.
57
+
58
+
:::image type="content" source="./media/deployment-azure-resource-manager-template/create-service-principal-1a.png" alt-text="Screenshot showing Register an application for service principal creation." lightbox="./media/deployment-azure-resource-manager-template/create-service-principal-1a.png":::
59
+
60
+
1. Once the service principal is created, go to the **Enterprise applications** page. Search for and select the SPN you created.
61
+
62
+
:::image type="content" source="./media/deployment-azure-resource-manager-template/create-service-principal-2a.png" alt-text="Screenshot showing search results for the service principal created." lightbox="./media/deployment-azure-resource-manager-template/create-service-principal-2a.png":::
63
+
64
+
1. Under properties, copy the **Application (client) ID** and the **Object ID** for this service principal.
65
+
66
+
:::image type="content" source="./media/deployment-azure-resource-manager-template/create-service-principal-2b.png" alt-text="Screenshot showing Application (client) ID and the object ID for the service principal created." lightbox="./media/deployment-azure-resource-manager-template/create-service-principal-2b.png":::
67
+
68
+
You use the **Application (client) ID** against the `arbDeploymentAppID` parameter and the **Object ID** against the `arbDeploymentSPNObjectID` parameter in the Resource Manager template.
69
+
70
+
### Create a client secret for ARB service principal
71
+
72
+
1. Go to the application registration that you created and browse to **Certificates & secrets > Client secrets**.
73
+
1. Select **+ New client** secret.
74
+
75
+
:::image type="content" source="./media/deployment-azure-resource-manager-template/create-client-secret-1.png" alt-text="Screenshot showing creation of a new client secret." lightbox="./media/deployment-azure-resource-manager-template/create-client-secret-1.png":::
76
+
77
+
1. Add a **Description** for the client secret and provide a timeframe when it **Expires**. Select **Add**.
1. Copy the **client secret value** as you use it later.
82
+
83
+
> [!Note]
84
+
> For the application client ID, you will need it's secret value. Client secret values can't be viewed except for immediately after creation. Be sure to save this value when created before leaving the page.
5. When finished, select the **Select template** button.
137
+
138
+
:::image type="content" source="./media/deployment-azure-resource-manager-template/deploy-arm-template-24113-and-earlier.png" alt-text="Screenshot showing template selected for version 2411.3 and earlier." lightbox="./media/deployment-azure-resource-manager-template/deploy-arm-template-24113-and-earlier.png":::
139
+
140
+
6. On the **Basics** tab, you see the **Custom deployment** page. You can select the various parameters through the dropdown list or select **Edit parameters**.
141
+
142
+
:::image type="content" source="./media/deployment-azure-resource-manager-template/deploy-arm-template-4a.png" alt-text="Screenshot showing Custom deployment page on the Basics tab." lightbox="./media/deployment-azure-resource-manager-template/deploy-arm-template-4a.png":::
78
143
79
144
> [!NOTE]
80
-
> For Azure Local 2411.3 and earlier versions, make sure to select the **create-cluster-2411.3** template for deployment.
145
+
> For an example parameter file that shows the format of various inputs, such as `ArcNodeResourceId`, see [azuredeploy.parameters.json](https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.azurestackhci/create-cluster-2411.3/azuredeploy.parameters.json).
146
+
147
+
::: moniker-end
81
148
82
-
1. On the **Basics** tab, you see the **Custom deployment** page. You can select the various parameters through the dropdown list or select **Edit parameters**.
149
+
::: moniker range=">=azloc-2503"
150
+
151
+
4. Use the **Quickstart template (disclaimer)** field to filter for the appropriate template. Type *azurestackhci/create-cluster* for the filter.
152
+
153
+
5. When finished, select the **Select template** button.
6. On the **Basics** tab, you see the **Custom deployment** page. You can select the various parameters through the dropdown list or select **Edit parameters**.
83
158
84
159
:::image type="content" source="./media/deployment-azure-resource-manager-template/deploy-arm-template-4a.png" alt-text="Screenshot showing Custom deployment page on the Basics tab." lightbox="./media/deployment-azure-resource-manager-template/deploy-arm-template-4a.png":::
85
160
86
-
1. Edit parameters such as network intent or storage network intent. Once the parameters are all filled out, **Save** the parameters file.
161
+
> [!NOTE]
162
+
> For an example parameter file that shows the format of various inputs, such as `ArcNodeResourceId`, see [azuredeploy.parameters.json](https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.azurestackhci/create-cluster/azuredeploy.parameters.json).
163
+
164
+
::: moniker-end
165
+
166
+
7. Edit parameters such as network intent or storage network intent. Once the parameters are all filled out, **Save** the parameters file.
87
167
88
168
:::image type="content" source="./media/deployment-azure-resource-manager-template/deploy-arm-template-5.png" alt-text="Screenshot showing parameters filled out for the template." lightbox="./media/deployment-azure-resource-manager-template/deploy-arm-template-5.png":::
89
169
90
-
1. Select the appropriate resource group for your environment.
170
+
8. Select the appropriate resource group for your environment.
91
171
92
-
1. Scroll to the bottom, and confirm that **Deployment Mode = Validate**.
172
+
9. Scroll to the bottom, and confirm that **Deployment Mode = Validate**.
1. On the **Review + Create** tab, select **Create**. This creates the remaining prerequisite resources and validates the deployment. Validation takes about 10 minutes to complete.
178
+
11. On the **Review + Create** tab, select **Create**. This creates the remaining prerequisite resources and validates the deployment. Validation takes about 10 minutes to complete.
1. Verify that all the fields for the Resource Manager deployment template are filled in by the Parameters JSON.
192
+
15. Verify that all the fields for the Resource Manager deployment template are filled in by the Parameters JSON.
113
193
114
-
1. Select the appropriate resource group for your environment.
194
+
16. Select the appropriate resource group for your environment.
115
195
116
-
1. Scroll to the bottom, and confirm that **Deployment Mode = Deploy**.
196
+
17. Scroll to the bottom, and confirm that **Deployment Mode = Deploy**.
117
197
118
-
1. Select **Review + create**.
198
+
18. Select **Review + create**.
119
199
120
-
1. Select **Create**. The deployment begins, using the existing prerequisite resources that were created during the **Validate** step.
200
+
19. Select **Create**. The deployment begins, using the existing prerequisite resources that were created during the **Validate** step.
121
201
122
202
The Deployment screen cycles on the cluster resource during deployment.
123
203
124
204
Once deployment initiates, there's a limited Environment Checker run, a full Environment Checker run, and cloud deployment starts. After a few minutes, you can monitor deployment in the portal.
125
205
126
206
:::image type="content" source="./media/deployment-azure-resource-manager-template/deploy-arm-template-9.png" alt-text="Screenshot showing the status of environment checker validation." lightbox="./media/deployment-azure-resource-manager-template/deploy-arm-template-9.png":::
127
207
128
-
1. In a new browser window, navigate to the resource group for your environment. Select the cluster resource.
208
+
20. In a new browser window, navigate to the resource group for your environment. Select the cluster resource.
129
209
130
-
1. Select **Deployments**.
210
+
21. Select **Deployments**.
131
211
132
-
1. Refresh and watch the deployment progress from the first machine (also known as the seed machine and is the first machine where you deployed the cluster). Deployment takes between 2.5 and 3 hours. Several steps take 40-50 minutes or more.
212
+
22. Refresh and watch the deployment progress from the first machine (also known as the seed machine and is the first machine where you deployed the cluster). Deployment takes between 2.5 and 3 hours. Several steps take 40-50 minutes or more.
133
213
134
-
1. The step in deployment that takes the longest is **Deploy Moc and ARB Stack**. This step takes 40-45 minutes.
214
+
23. The step in deployment that takes the longest is **Deploy Moc and ARB Stack**. This step takes 40-45 minutes.
135
215
136
216
Once complete, the task at the top updates with status and end time.
0 commit comments