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
Azure Machine Learning allows you to integration with [Azure DevOps pipeline](/azure/devops/pipelines/) to automate the machine learning lifecycle. Some of the operations you can automate are:
20
+
Azure Machine Learning allows you to integrate with [Azure DevOps pipeline](/azure/devops/pipelines/) to automate the machine learning lifecycle. Some of the operations you can automate are:
21
21
22
22
* Deployment of AzureML infrastructure
23
23
* Data preparation (extract, transform, load operations)
@@ -94,7 +94,7 @@ Before you can set up an MLOps project with AzureML, you need to set up authenti
94
94
}
95
95
```
96
96
97
-
1. Repeat **Step 3.** if you're creating service principals for Dev and Prod environments.
97
+
1. Repeat **Step 3.** if you're creating service principals for Dev and Prod environments. For this demo, we will be creating only one environment which is Prod.
98
98
99
99
1. Close the Cloud Shell once the service principals are created.
100
100
@@ -146,9 +146,9 @@ Before you can set up an MLOps project with AzureML, you need to set up authenti
146
146
- **Tenant ID** - Use the `tenant` from **Step 1.** output as the Tenant ID
147
147
148
148
149
-
6. Name the service connection **Azure-ARM-Dev**.
149
+
6. Name the service connection **Azure-ARM-Prod**.
150
150
151
-
7. Select **Grant access permission to all pipelines**, thenselect**Verify and Save**. Repeat this step to create another service connection **Azure-ARM-Prod** using the details of the Prod service principal created in**Step 1.**
151
+
7. Select **Grant access permission to all pipelines**, thenselect**Verify and Save**.
152
152
153
153
The Azure DevOps setup is successfully finished.
154
154
@@ -164,18 +164,6 @@ The Azure DevOps setup is successfully finished.
164
164
165
165

166
166
167
-
168
-
1. Open the Repos section. Click on the default repo name at the top of the screen and selectImport Repository
169
-
170
-

171
-
172
-
1. Enter https://github.com/Azure/mlops-templates into the Clone URL field. Click import at the bottom of the page
173
-
174
-

175
-
176
-
> [!TIP]
177
-
> Learn more about the MLOps v2 accelerator structure and the MLOps [template](https://github.com/Azure/mlops-v2/)
178
-
179
167
1. Open the **Project settings** at the bottom of the left hand navigation pane
180
168
181
169
1. Under the Repos section, click **Repositories**. Select the repository you created in**Step 6.** Select the **Security** tab
@@ -202,7 +190,7 @@ This step deploys the training pipeline to the Azure Machine Learning workspace
202
190
> Make sure you understand the [Architectural Patterns](/azure/architecture/data-guide/technology-choices/machine-learning-operations-v2) of the solution accelerator before you checkout the MLOps v2 repo and deploy the infrastructure. In examples you'll use the [classical ML project type](/azure/architecture/data-guide/technology-choices/machine-learning-operations-v2#classical-machine-learning-architecture).
203
191
204
192
### Run Azure infrastructure pipeline
205
-
1. Go to the first repo you imported in the previous section, `mlops-v2-ado-demo`. Make sure you have the `main` branch selected and then select the **config-infra-dev.yml** file.
193
+
1. Go to the first repo you imported in the previous section, `mlops-v2-ado-demo`, and please select the **config-infra-prod.yml** file.
206
194
207
195

208
196
@@ -218,8 +206,6 @@ This step deploys the training pipeline to the Azure Machine Learning workspace
218
206
219
207
1. Click Commit and push code to get these values into the pipeline.
220
208
221
-
1. Repeat this step for **config-infra-prod.yml** file.
222
-
223
209
1. Go to Pipelines section
224
210
225
211

@@ -239,12 +225,7 @@ This step deploys the training pipeline to the Azure Machine Learning workspace
239
225

240
226
241
227
242
-
1. Select `main` as a branch and choose based on your deployment method your preferred yml path.
243
-
- For a terraform scenario, choose `infrastructure/pipelines/tf-ado-deploy-infra.yml`, thenselect**Continue**.
244
-
- For a bicep scenario, choose `infrastructure/pipelines/bicep-ado-deploy-infra.yml`, thenselect**Continue**.
245
-
246
-
> [!CAUTION]
247
-
> For this example, make sure the [Terraform extension for Azure DevOps](https://marketplace.visualstudio.com/items?itemName=ms-devlabs.custom-terraform-tasks) is installed.
228
+
1. Select your working branch (or the `main` branch) and choose `mlops/devops-pipelines/cli-ado-deploy-infra.yml`, thenselect**Continue**.
248
229
249
230
1. Run the pipeline; it will take a few minutes to finish. The pipeline should create the following artifacts:
250
231
* Resource Group for your Workspace including Storage Account, Container Registry, Application Insights, Keyvault and the Azure Machine Learning Workspace itself.
@@ -325,15 +306,9 @@ This step deploys the training pipeline to the Azure Machine Learning workspace
325
306
326
307

327
308
328
-
1. Select `main` as a branch and choose:
329
-
330
-
- For Managed Batch Endpoint `/mlops/devops-pipelines/deploy-batch-endpoint-pipeline.yml`
331
-
332
-
- For Managed Online Endpoint `/mlops/devops-pipelines/deploy-online-endpoint-pipeline.yml`
333
-
334
-
Then select**Continue**.
309
+
1. Select `main` as a branch and choose Managed Online Endpoint `/mlops/devops-pipelines/deploy-online-endpoint-pipeline.yml`thenselect**Continue**.
335
310
336
-
1. Batch/Online endpoint names need to be unique, so change **[your endpoint-name]** to another unique name and thenselect**Run**.
311
+
1. Online endpoint names need to be unique, so change **[your endpoint-name]** to another unique name and thenselect**Run**. No need to change the default if it does not fail.
337
312
338
313

0 commit comments