|
1 | 1 | ---
|
2 |
| -title: 'Migrate from v1 to v2' |
| 2 | +title: 'Upgrade from v1 to v2' |
3 | 3 | titleSuffix: Azure Machine Learning
|
4 |
| -description: Migrate from v1 to v2 of Azure Machine Learning REST APIs, CLI extension, and Python SDK. |
| 4 | +description: Upgrade from v1 to v2 of Azure Machine Learning REST APIs, CLI extension, and Python SDK. |
5 | 5 | services: machine-learning
|
6 | 6 | ms.service: machine-learning
|
7 | 7 | ms.subservice: core
|
@@ -77,9 +77,9 @@ This section gives an overview of specific resources and assets in Azure ML. See
|
77 | 77 |
|
78 | 78 | ### Workspace
|
79 | 79 |
|
80 |
| -Workspaces don't need to be migrated with v2. You can use the same workspace, regardless of whether you're using v1 or v2. |
| 80 | +Workspaces don't need to be upgraded with v2. You can use the same workspace, regardless of whether you're using v1 or v2. |
81 | 81 |
|
82 |
| -If you create workspaces using automation, do consider migrating the code for creating a workspace to v2. Typically Azure resources are managed via Azure Resource Manager (and Bicep) or similar resource provisioning tools. Alternatively, you can use the [CLI (v2) and YAML files](how-to-manage-workspace-cli.md#create-a-workspace). |
| 82 | +If you create workspaces using automation, do consider upgrading the code for creating a workspace to v2. Typically Azure resources are managed via Azure Resource Manager (and Bicep) or similar resource provisioning tools. Alternatively, you can use the [CLI (v2) and YAML files](how-to-manage-workspace-cli.md#create-a-workspace). |
83 | 83 |
|
84 | 84 | For a comparison of SDK v1 and v2 code, see [Workspace management in SDK v1 and SDK v2](migrate-to-v2-resource-workspace.md).
|
85 | 85 |
|
@@ -107,9 +107,9 @@ For a comparison of SDK v1 and v2 code, see [Compute management in SDK v1 and SD
|
107 | 107 |
|
108 | 108 | ### Endpoint and deployment (endpoint and web service in v1)
|
109 | 109 |
|
110 |
| -With SDK/CLI v1, you can deploy models on ACI or AKS as web services. Your existing v1 model deployments and web services will continue to function as they are, but Using SDK/CLI v1 to deploy models on ACI or AKS as web services is now consiered as **legacy**. For new model deployments, we recommend migrating to v2. In v2, we offer [managed endpoints or Kubernetes endpoints](./concept-endpoints.md). The following table guides our recommendation: |
| 110 | +With SDK/CLI v1, you can deploy models on ACI or AKS as web services. Your existing v1 model deployments and web services will continue to function as they are, but Using SDK/CLI v1 to deploy models on ACI or AKS as web services is now consiered as **legacy**. For new model deployments, we recommend upgrading to v2. In v2, we offer [managed endpoints or Kubernetes endpoints](./concept-endpoints.md). The following table guides our recommendation: |
111 | 111 |
|
112 |
| -|Endpoint type in v2|Migrate from|Notes| |
| 112 | +|Endpoint type in v2|Upgrade from|Notes| |
113 | 113 | |-|-|-|
|
114 | 114 | |Local|ACI|Quick test of model deployment locally; not for production.|
|
115 | 115 | |Managed online endpoint|ACI, AKS|Enterprise-grade managed model deployment infrastructure with near real-time responses and massive scaling for production.|
|
@@ -171,7 +171,7 @@ For details about Key Vault, see [Use authentication credential secrets in Azure
|
171 | 171 |
|
172 | 172 | ## Scenarios across the machine learning lifecycle
|
173 | 173 |
|
174 |
| -There are a few scenarios that are common across the machine learning lifecycle using Azure ML. We'll look at a few and give general recommendations for migrating to v2. |
| 174 | +There are a few scenarios that are common across the machine learning lifecycle using Azure ML. We'll look at a few and give general recommendations for upgrading to v2. |
175 | 175 |
|
176 | 176 | ### Azure setup
|
177 | 177 |
|
@@ -203,7 +203,7 @@ The solution accelerator for MLOps with v2 is being developed at https://github.
|
203 | 203 |
|
204 | 204 | ### A note on GitOps with v2
|
205 | 205 |
|
206 |
| -A key paradigm with v2 is serializing machine learning entities as YAML files for source control with `git`, enabling better GitOps approaches than were possible with v1. For instance, you could enforce policy by which only a service principal used in CI/CD pipelines can create/update/delete some or all entities, ensuring changes go through a governed process like pull requests with required reviewers. Since the files in source control are YAML, they're easy to diff and track changes over time. You and your team may consider shifting to this paradigm as you migrate to v2. |
| 206 | +A key paradigm with v2 is serializing machine learning entities as YAML files for source control with `git`, enabling better GitOps approaches than were possible with v1. For instance, you could enforce policy by which only a service principal used in CI/CD pipelines can create/update/delete some or all entities, ensuring changes go through a governed process like pull requests with required reviewers. Since the files in source control are YAML, they're easy to diff and track changes over time. You and your team may consider shifting to this paradigm as you upgrade to v2. |
207 | 207 |
|
208 | 208 | You can obtain a YAML representation of any entity with the CLI via `az ml <entity> show --output yaml`. Note that this output will have system-generated properties, which can be ignored or deleted.
|
209 | 209 |
|
|
0 commit comments