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
This release pipeline is triggered whenever a new **ML training pipeline** is published by the **AzDo builder pipeline**. It can also be triggered manually or configured to run on a scheduled basis. Create a new release to trigger the pipeline manually:
133
+
This release pipeline should be triggered whenever a new **ML training pipeline** is published by the **AzDo builder pipeline**. It can also be triggered manually or configured to run on a scheduled basis. Create a new release to trigger the pipeline manually:
132
134
133
135

134
136
@@ -142,43 +144,43 @@ The training pipeline will train, evaluate and register a new model. Wait until
142
144
143
145
Good! Now we have a trained model.
144
146
145
-
### 6. Train the Model
147
+
### 8. Deploy the Model
146
148
147
149
The final step is to deploy the model across environments with a release pipeline. There will be a **``QA``** environment running on [Azure Container Instances](https://azure.microsoft.com/en-us/services/container-instances/) and a **``Prod``** environment running on [Azure Kubernetes Service](https://azure.microsoft.com/en-us/services/kubernetes-service).
148
150
149
151

150
152
151
153
152
-
This pipeline leverages the **Azure Machine Learning** extension that should be installed in your organization from the [marketplace](https://marketplace.visualstudio.com/items?itemName=ms-air-aiagility.vss-services-azureml)
154
+
This pipeline leverages the **Azure Machine Learning** extension that should be installed in your organization from the [marketplace](https://marketplace.visualstudio.com/items?itemName=ms-air-aiagility.vss-services-azureml).
153
155
154
156
The pipeline consumes two artifacts: the result of the **Build Pipeline** as it contains configuration files and the **model** trained and registered by the ML training pipeline.
155
157
156
-
Configuration of a code **``_ci-build``** artifact is similar to what we did in the previous chapter.
158
+
Configuration of a code **_ci-build** artifact is similar to what we did in the previous chapter.
157
159
158
-
In order to configure a model artifact there should be a service connection to **``mlops-AML-WS``** workspace.
160
+
In order to configure a model artifact there should be a service connection to **mlops-AML-WS** workspace:
Add an artifact to the pipeline and select **AzureML Model Artifact** source type. Select the **Service Endpoint** and **Model Names** from the drop down lists
164
+
Add an artifact to the pipeline and select **AzureML Model Artifact** source type. Select the **Service Endpoint** and **Model Names** from the drop down lists:
163
165
164
166

165
167
166
-
Create a stage **``QA (ACI)``** and add a single task to the job **Azure ML Model Deploy**. Specify task parameters as it is shown below
168
+
Create a stage **QA (ACI)** and add a single task to the job **Azure ML Model Deploy**. Specify task parameters as it is shown below:
167
169
168
170

169
171
170
-
In a similar way create a stage **``Prod (AKS)``** and add a single task to the job **Azure ML Model Deploy**. Specify task parameters as it is shown below
172
+
In a similar way create a stage **Prod (AKS** and add a single task to the job **Azure ML Model Deploy**. Specify task parameters as it is shown below:
171
173
172
174

173
175
174
176
175
-
Note! Creating of a Kubernetes cluster on AKS is out of scope of this tutorial, so you should take care of it on your own.
177
+
**Note:** Creating of a Kubernetes cluster on AKS is out of scope of this tutorial, so you should take care of it on your own.
176
178
177
-
Save the pipeline and craete a release for it to trigger the pipeline manually. Once it's finished, check out deployments in the **``mlops-AML-WS``** workspace.
179
+
Save the pipeline and craete a release to trigger it manually. Once the pipeline exection is finished, check out deployments in the **mlops-AML-WS** workspace.
178
180
179
181
180
182
181
-
Congratulations, you now have three pipelines set up end to end.
183
+
Congratulations! You have three pipelines set up end to end:
182
184
- Build pipeline: triggered on code change to master branch on GitHub, performs linting, unit testing and publishing a trainig pipeline
183
185
- Release Trigger pipeline: runs a published training pipeline to trian, evaluate and register a model
184
186
- Release Deployment pipeline: deploys a model to QA (ACI) and Prod (AKS) environemts
0 commit comments