Skip to content

Commit 22b36fb

Browse files
Merge pull request #284955 from Blackmist/289353-fresh
updates for freshness
2 parents 44b6e57 + 581252e commit 22b36fb

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

articles/machine-learning/how-to-manage-registries.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: Create and manage registries
33
titleSuffix: Azure Machine Learning
4-
description: Learn how create registries with the CLI, REST API, Azure portal and Azure Machine Learning studio
4+
description: Learn how create registries with the CLI, REST API, Azure portal, and Azure Machine Learning studio
55
services: machine-learning
66
ms.service: azure-machine-learning
77
ms.subservice: mlops
88
ms.author: larryfr
99
author: Blackmist
1010
ms.reviewer: kritifaujdar
11-
ms.date: 08/24/2023
11+
ms.date: 08/19/2024
1212
ms.topic: how-to
1313
ms.custom: build-2023
1414
---
@@ -18,7 +18,7 @@ ms.custom: build-2023
1818
Azure Machine Learning entities can be grouped into two broad categories:
1919

2020
* Assets such as __models__, __environments__, __components__, and __datasets__ are durable entities that are _workspace agnostic_. For example, a model can be registered with any workspace and deployed to any endpoint.
21-
* Resources such as __compute__, __job__, and __endpoints__ are _transient entities that are workspace specific_. For example, an online endpoint has a scoring URI that is unique to a specific instance in a specific workspace. Similarly, a job runs for a known duration and generates logs and metrics each time it's run.
21+
* Resources such as __compute__, __job__, and __endpoints__ are _transient entities that are workspace specific_. For example, an online endpoint has a scoring URI that is unique to a specific instance in a specific workspace. Similarly, a job runs for a known duration and generates logs and metrics each run.
2222

2323
Assets lend themselves to being stored in a central repository and used in different workspaces, possibly in different regions. Resources are workspace specific.
2424

@@ -39,16 +39,16 @@ You need to decide the following information carefully before proceeding to crea
3939
### Choose a name
4040

4141
Consider the following factors before picking a name.
42-
* Registries are meant to facilitate sharing of ML assets across teams within your organization across all workspaces. Choose a name that is reflective of the sharing scope. The name should help identify your group, division or organization.
43-
* Registry name is unique with your organization (Microsoft Entra tenant). It's recommended to prefix your team or organization name and avoid generic names.
44-
* Registry names can't be changed once created because they're used in IDs of models, environments and components that are referenced in code.
42+
* Registries are meant to facilitate sharing of ML assets across teams within your organization across all workspaces. Choose a name that is reflective of the sharing scope. The name should help identify your group, division, or organization.
43+
* Registry name is unique with your organization (Microsoft Entra tenant). For example, you might prefix your team or organization name and avoid generic names.
44+
* Registry names can't be changed once created because they're used in IDs of models, environments, and components that are referenced in code.
4545
* Length can be 2-32 characters.
4646
* Alphanumerics, underscore, hyphen are allowed. No other special characters. No spaces - registry names are part of model, environment, and component IDs that can be referenced in code.
4747
* Name can contain underscore or hyphen but can't start with an underscore or hyphen. Needs to start with an alphanumeric.
4848

4949
### Choose Azure regions
5050

51-
Registries enable sharing of assets across workspaces. To do so, a registry replicates content across multiple Azure regions. You need to define the list of regions that a registry supports when creating the registry. Create a list of all regions in which you have workspaces today and plan to add in near future. This list is a good set of regions to start with. When creating a registry, you define a primary region and a set of additional regions. The primary region can't be changed after registry creation, but the additional regions can be updated at a later point.
51+
Registries enable sharing of assets across workspaces. To do so, a registry replicates content across multiple Azure regions. You need to define the list of regions that a registry supports when creating the registry. Create a list of all regions in which you have workspaces today and plan to add in near future. This list is a good set of regions to start with. When creating a registry, you define a primary region and a set of other regions. The primary region can't be changed after registry creation, but the other regions can be updated at a later point.
5252

5353
### Check permissions
5454

@@ -104,16 +104,16 @@ You can create registries in Azure Machine Learning studio using the following s
104104

105105
:::image type="content" source="./media/how-to-manage-registries/studio-registry-select-regions.png" alt-text="Screenshot of the registry region selection":::
106106

107-
1. Review the information you provided, and then select __Create__. You can track the progress of the create operation in the Azure portal. Once the registry is successfully created, you can find it listed in the __Manage Registries__ tab.
107+
1. Review the information you provided, and then select __Create__. You can track the progress of the operation in the Azure portal. Once the registry is successfully created, you can find it listed in the __Manage Registries__ tab.
108108

109109
:::image type="content" source="./media/how-to-manage-registries/studio-create-registry-review.png" alt-text="Screenshot of the create + review tab.":::
110110
# [Azure portal](#tab/portal)
111111

112112
1. From the [Azure portal](https://portal.azure.com), navigate to the Azure Machine Learning service. You can get there by searching for __Azure Machine Learning__ in the search bar at the top of the page or going to __All Services__ looking for __Azure Machine Learning__ under the __AI + machine learning__ category.
113113

114-
1. Select __Create__, and then select __Azure Machine Learning registry__. Enter the registry name, select the subscription, resource group and primary region, then select __Next__.
114+
1. Select __Create__, and then select __Azure Machine Learning registry__. Enter the registry name, select the subscription, resource group, and primary region, then select __Next__.
115115

116-
1. Select the additional regions the registry must support, then select __Next__ until you arrive at the __Review + Create__ tab.
116+
1. Select the more regions the registry must support, then select __Next__ until you arrive at the __Review + Create__ tab.
117117

118118
:::image type="content" source="./media/how-to-manage-registries/create-registry-review.png" alt-text="Screenshot of the review + create tab.":::
119119

@@ -153,7 +153,7 @@ To create a registry, use the following command. You can edit the JSON to change
153153
> We recommend using the latest API version when working with the REST API. For a list of the current REST API versions for Azure Machine Learning, see the [Machine Learning REST API reference](/rest/api/azureml/). The current API versions are listed in the table of contents on the left side of the page.
154154

155155
```bash
156-
curl -X PUT https://management.azure.com/subscriptions/<your-subscription-id>/resourceGroups/<your-resource-group>/providers/Microsoft.MachineLearningServices/registries/reg-from-rest?api-version=2023-04-01 -H "Authorization:Bearer <YOUR-ACCESS-TOKEN>" -H 'Content-Type: application/json' -d '
156+
curl -X PUT https://management.azure.com/subscriptions/<your-subscription-id>/resourceGroups/<your-resource-group>/providers/Microsoft.MachineLearningServices/registries/reg-from-rest?api-version=2024-04-01 -H "Authorization:Bearer <YOUR-ACCESS-TOKEN>" -H 'Content-Type: application/json' -d '
157157
{
158158
"properties":
159159
{
@@ -232,7 +232,7 @@ replication_locations:
232232

233233
## Add users to the registry
234234

235-
Decide if you want to allow users to only use assets (models, environments and components) from the registry or both use and create assets in the registry. Review [steps to assign a role](../role-based-access-control/role-assignments-steps.md) if you aren't familiar how to manage permissions using [Azure role-based access control](../role-based-access-control/overview.md).
235+
Decide if you want to allow users to only use assets (models, environments, and components) from the registry or both use and create assets in the registry. Review [steps to assign a role](../role-based-access-control/role-assignments-steps.md) if you aren't familiar how to manage permissions using [Azure role-based access control](../role-based-access-control/overview.md).
236236

237237
### Allow users to use assets from the registry
238238

@@ -245,7 +245,7 @@ Microsoft.MachineLearningServices/registries/assets/read | Allows the user to br
245245

246246
### Allow users to create and use assets from the registry
247247

248-
To let the user both read and create or delete assets, grant the following write permission in addition to the above read permissions.
248+
To let the user both read and create or delete assets, grant the following write permission in addition to the previous read permissions.
249249

250250
Permission | Description
251251
--|--
@@ -257,7 +257,7 @@ Microsoft.MachineLearningServices/registries/assets/delete| Delete assets in reg
257257

258258
### Allow users to create and manage registries
259259

260-
To let users create, update and delete registries, grant them the built-in __Contributor__ or __Owner__ role. If you don't want to use built in roles, create a custom role with the following permissions, in addition to all the above permissions to read, create and delete assets in registry.
260+
To let users create, update, and delete registries, grant them the built-in __Contributor__ or __Owner__ role. If you don't want to use built-in roles, create a custom role with the following permissions, in addition to all the above permissions to read, create, and delete assets in registry.
261261

262262
Permission | Description
263263
--|--
@@ -267,5 +267,5 @@ Microsoft.MachineLearningServices/registries/delete | Allows the user to delete
267267

268268
## Next steps
269269

270-
* [Learn how to share models, components and environments across workspaces with registries](./how-to-share-models-pipelines-across-workspaces-with-registries.md)
270+
* [Learn how to share models, components, and environments across workspaces with registries](./how-to-share-models-pipelines-across-workspaces-with-registries.md)
271271
* [Network isolation with registries](./how-to-registry-network-isolation.md)
-4.14 KB
Loading

0 commit comments

Comments
 (0)