Skip to content

Commit cc0f699

Browse files
committed
freshness updates concept-compute-target and how-to-assign-roles
1 parent 26fad23 commit cc0f699

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

articles/machine-learning/concept-compute-target.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.topic: conceptual
99
ms.author: vijetaj
1010
author: vijetajo
1111
ms.reviewer: sgilley
12-
ms.date: 10/19/2022
12+
ms.date: 01/23/2024
1313
ms.custom:
1414
- ignite-fall-2021
1515
- event-tier1-build-2022
@@ -145,13 +145,19 @@ See the following table to learn more about supported series.
145145

146146
While Azure Machine Learning supports these VM series, they might not be available in all Azure regions. To check whether VM series are available, see [Products available by region](https://azure.microsoft.com/global-infrastructure/services/?products=virtual-machines).
147147

148+
:::moniker range="azureml-api-2"
148149
> [!NOTE]
149150
> Azure Machine Learning doesn't support all VM sizes that Azure Compute supports. To list the available VM sizes, use one of the following methods:
150151
> * [REST API](https://github.com/Azure/azure-rest-api-specs/blob/master/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-08-01/examples/ListVMSizesResult.json)
151-
:::moniker range="azureml-api-2"
152152
> * The [Azure CLI extension 2.0 for machine learning](how-to-configure-cli.md) command, [az ml compute list-sizes](/cli/azure/ml/compute#az-ml-compute-list-sizes).
153153
:::moniker-end
154154

155+
:::moniker range="azureml-api-1"
156+
> [!NOTE]
157+
> Azure Machine Learning doesn't support all VM sizes that Azure Compute supports. To list the available VM sizes, use one of the following methods:
158+
> * [REST API](https://github.com/Azure/azure-rest-api-specs/blob/master/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-08-01/examples/ListVMSizesResult.json)
159+
:::moniker-end
160+
155161
If using the GPU-enabled compute targets, it is important to ensure that the correct CUDA drivers are installed in the training environment. Use the following table to determine the correct CUDA version to use:
156162

157163
| **GPU Architecture** | **Azure VM Series** | **Supported CUDA versions** |

articles/machine-learning/how-to-assign-roles.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.topic: how-to
99
ms.reviewer: larryfr
1010
ms.author: meyetman
1111
author: meyetman
12-
ms.date: 08/01/2022
12+
ms.date: 01/23/2024
1313
ms.custom: how-to, seodec18, devx-track-azurecli, contperf-fy21q2, event-tier1-build-2022, devx-track-arm-template
1414
monikerRange: 'azureml-api-1 || azureml-api-2'
1515
---
@@ -31,7 +31,7 @@ In this article, you learn how to manage access (authorization) to an Azure Mach
3131
3232
## Default roles
3333

34-
Azure Machine Learning workspaces have a five built-in roles that are available by default. When adding users to a workspace, they can be assigned one of the built-in roles described below.
34+
Azure Machine Learning workspaces have built-in roles that are available by default. When adding users to a workspace, they can be assigned one of the built-in roles described below.
3535

3636
| Role | Access level |
3737
| --- | --- |
@@ -197,13 +197,17 @@ The following table is a summary of Azure Machine Learning activities and the pe
197197
| Scoring against a deployed AKS endpoint | Not required | Not required | Owner, contributor, or custom role allowing: `"/workspaces/services/aks/score/action", "/workspaces/services/aks/listkeys/action"` (when you are not using Microsoft Entra auth) OR `"/workspaces/read"` (when you are using token auth) |
198198
| Accessing storage using interactive notebooks | Not required | Not required | Owner, contributor, or custom role allowing: `"/workspaces/computes/read", "/workspaces/notebooks/samples/read", "/workspaces/notebooks/storage/*", "/workspaces/listStorageAccountKeys/action", "/workspaces/listNotebookAccessToken/read"`|
199199
| Create new custom role | Owner, contributor, or custom role allowing `Microsoft.Authorization/roleDefinitions/write` | Not required | Owner, contributor, or custom role allowing: `/workspaces/computes/write` |
200-
| Create/manage online endpoints and deployments | Not required | Not required | Owner, contributor, or custom role allowing `Microsoft.MachineLearningServices/workspaces/onlineEndpoints/*`. If you use studio to create/manage online endpoints/deployments, you will need an additional permission "Microsoft.Resources/deployments/write" from the resource group owner. |
200+
| Create/manage online endpoints and deployments | Not required | To deploy on studio, "Microsoft.Resources/deployments/write" and "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments/write". For SDK/CLI deployments, "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments/write"| Owner, contributor, or custom role allowing `Microsoft.MachineLearningServices/workspaces/onlineEndpoints/*`. |
201201
| Retrieve authentication credentials for online endpoints | Not required | Not required | Owner, contributor, or custom role allowing `Microsoft.MachineLearningServices/workspaces/onlineEndpoints/token/action` and `Microsoft.MachineLearningServices/workspaces/onlineEndpoints/listkeys/action`.
202202

203203
1: If you receive a failure when trying to create a workspace for the first time, make sure that your role allows `Microsoft.MachineLearningServices/register/action`. This action allows you to register the Azure Machine Learning resource provider with your Azure subscription.
204204

205205
2: When attaching an AKS cluster, you also need to have the [Azure Kubernetes Service Cluster Admin Role](/azure/role-based-access-control/built-in-roles#azure-kubernetes-service-cluster-admin-role) on the cluster.
206206

207+
### Deploy into a virtual network or subnet
208+
209+
[!INCLUDE [network-rbac](includes/network-rbac.md)]
210+
207211
### Differences between actions for V1 and V2 APIs
208212

209213
There are certain differences between actions for V1 APIs and V2 APIs.
@@ -610,8 +614,6 @@ Here are a few things to be aware of while you use Azure role-based access contr
610614

611615
- When there are two role assignments to the same Microsoft Entra user with conflicting sections of Actions/NotActions, your operations listed in NotActions from one role might not take effect if they are also listed as Actions in another role. To learn more about how Azure parses role assignments, read [How Azure RBAC determines if a user has access to a resource](/azure/role-based-access-control/overview#how-azure-rbac-determines-if-a-user-has-access-to-a-resource)
612616

613-
[!INCLUDE [network-rbac](includes/network-rbac.md)]
614-
615617
- It can sometimes take up to 1 hour for your new role assignments to take effect over cached permissions across the stack.
616618

617619
## Next steps

0 commit comments

Comments
 (0)