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
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-manage-registries.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Create and manage registries (preview)
3
3
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
5
5
services: machine-learning
6
6
ms.service: machine-learning
7
7
ms.subservice: mlops
@@ -22,7 +22,7 @@ Azure Machine Learning entities can be grouped into two broad categories:
22
22
23
23
Assets lend themselves to being stored in a central repository and used in different workspaces, possibly in different regions. Resources are workspace specific.
24
24
25
-
Azure Machine Learning registries (preview) enable you to create and use those assets in different workspaces. Registries support multi-region replication for low latency access to assets, so you can use assets in workspaces located in different Azure regions. Creating a registry will provision Azure resources required to facilitate replication. First, Azure blob storage accounts in each supported region. Second, a single Azure Container Registry with replication enabled to each supported region.
25
+
Azure Machine Learning registries (preview) enable you to create and use those assets in different workspaces. Registries support multi-region replication for low latency access to assets, so you can use assets in workspaces located in different Azure regions. Creating a registry provisions Azure resources required to facilitate replication. First, Azure blob storage accounts in each supported region. Second, a single Azure Container Registry with replication enabled to each supported region.
26
26
27
27
:::image type="content" source="./media/how-to-manage-registries/machine-learning-registry-block-diagram.png" alt-text="Diagram of the relationships between assets in workspace and registry.":::
28
28
@@ -94,7 +94,7 @@ You can create registries in Azure Machine Learning studio using the following s
94
94
> If you are in a workspace, navigate to the global UI by clicking your organization or tenant name in the navigation pane to find the __Registries__ entry. You can also go directly there by navigating to [https://ml.azure.com/registries](https://ml.azure.com/registries).
95
95
96
96
:::image type="content" source="./media/how-to-manage-registries/studio-create-registry-button.png" lightbox="./media/how-to-manage-registries/studio-create-registry-button.png" alt-text="Screenshot of the create registry screen.":::
97
-
97
+
98
98
1. Enter the registry name, select the subscription and resource group and then select __Next__.
99
99
100
100
:::image type="content" source="./media/how-to-manage-registries/studio-create-registry-basics.png" alt-text="Screenshot of the registry creation basics tab.":::
@@ -111,7 +111,7 @@ You can create registries in Azure Machine Learning studio using the following s
111
111
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.
112
112
113
113
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
-
114
+
115
115
1. Select the additional regions the registry must support, then select __Next__ until you arrive at the __Review + Create__ tab.
116
116
117
117
:::image type="content" source="./media/how-to-manage-registries/create-registry-review.png" alt-text="Screenshot of the review + create tab.":::
@@ -122,15 +122,19 @@ You can create registries in Azure Machine Learning studio using the following s
122
122
123
123
# [REST API](#tab/rest)
124
124
125
-
You will require the **curl** utility to complete this step. The **curl** program is available in the [Windows Subsystem for Linux](/windows/wsl/install-win10) or any UNIX distribution. In PowerShell, **curl** is an alias for **Invoke-WebRequest** and `curl -d "key=val" -X POST uri` becomes `Invoke-WebRequest -Body "key=val" -Method POST -Uri uri`.
125
+
> [!TIP]
126
+
> You need the **curl** utility to complete this step. The **curl** program is available in the [Windows Subsystem for Linux](/windows/wsl/install-win10) or any UNIX distribution. In PowerShell, **curl** is an alias for **Invoke-WebRequest** and `curl -d "key=val" -X POST uri` becomes `Invoke-WebRequest -Body "key=val" -Method POST -Uri uri`.
126
127
127
-
You will also require an authentication token for your account to complete the REST API call. You can use below command to retrieve the token:
128
+
To authenticate REST API calls, you need an authentication token for your Azure user account. You can use the following command to retrieve a token:
128
129
129
130
```azurecli
130
131
az account get-access-token
131
132
```
132
133
133
-
The response should provide an access token good for one hour. Make note of the token, as you will use it to authenticate all administrative requests. Below is a sample response:
134
+
The response should provide an access token good for one hour. Make note of the token, as you use it to authenticate all administrative requests. The following JSON is a sample response:
135
+
136
+
> [!TIP]
137
+
> The value of the `access_token` field is the token.
134
138
135
139
```json
136
140
{
@@ -142,7 +146,7 @@ The response should provide an access token good for one hour. Make note of the
142
146
}
143
147
```
144
148
145
-
Run below command to create a registry. You can edit the Json to change the inputs as needed:
149
+
To create a registry, use the following command. You can edit the JSON to change the inputs as needed. Replace the `<YOUR-ACCESS-TOKEN>` value with the access token retrieved previously:
@@ -197,7 +201,7 @@ Next, decide if you want to use an [Azure Blob storage](../storage/blobs/storage
197
201
> [!NOTE]
198
202
>The `hns` portion of `storage_account_hns` refers to the [hierarchical namespace](../storage/blobs/data-lake-storage-namespace.md) capability of Azure Data Lake Storage Gen2 accounts.
199
203
200
-
Below is an example YAML that demonstrates this advanced storage configuration:
204
+
The following example YAML file demonstrates this advanced storage configuration:
0 commit comments