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/tutorial-create-secure-workspace-vnet.md
+19-62Lines changed: 19 additions & 62 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,31 +99,19 @@ To create a virtual network, use the following steps:
99
99
> [!WARNING]
100
100
> Do not use the 172.17.0.0/16 IP address range for your VNet. This is the default subnet range used by the Docker bridge network, and will result in errors if used for your VNet. Other ranges may also conflict depending on what you want to connect to the virtual network. For example, if you plan to connect your on premises network to the VNet, and your on-premises network also uses the 172.16.0.0/16 range. Ultimately, it is up to __you__ to plan your network infrastructure.
101
101
102
-
1. Select the __Default__ subnet and then select __Remove subnet__.
102
+
1. Select the __Default__ subnet and then select the __edit icon__.
103
103
104
104
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/delete-default-subnet.png" alt-text="Screenshot of deleting default subnet.":::
105
105
106
-
1. To create a subnet to contain the workspace, dependency services, and resources used for _training_, select __+ Add subnet__ and set the subnet name, starting address, and subnet size. The following are the values used in this tutorial:
107
-
*__Name__: Training
108
-
*__Starting address__: 172.16.0.0
109
-
*__Subnet size__: /24 (256 addresses)
110
-
111
-
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/vnet-add-training-subnet.png" alt-text="Screenshot of Training subnet.":::
106
+
1. Change the subnet __Name__ to __Training__. Leave the other values at the default settings, then select __Save__ to save the changes.
112
107
113
-
1. To create a subnet for compute resources used to _score_ your models, select __+ Add subnet__again, and set the name and address range:
108
+
1. To create a subnet for compute resources used to _score_ your models, select __+ Add subnet__ and set the name and address range:
114
109
*__Subnet name__: Scoring
115
-
*__Starting address__: 172.16.1.0
110
+
*__Starting address__: 172.16.2.0
116
111
*__Subnet size__: /24 (256 addresses)
117
112
118
113
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/vnet-add-scoring-subnet.png" alt-text="Screenshot of Scoring subnet.":::
119
114
120
-
1. To create a subnet for _Azure Bastion_, select __+ Add subnet__ and set the template, starting address, and subnet size:
121
-
*__Subnet template__: Azure Bastion
122
-
*__Starting address__: 172.16.2.0
123
-
*__Subnet size__: /26 (64 addresses)
124
-
125
-
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/vnet-add-azure-bastion-subnet.png" alt-text="Screenshot of Azure Bastion subnet.":::
126
-
127
115
1. Select __Review + create__.
128
116
129
117
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/create-vnet-ip-address-final.png" alt-text="Screenshot of the review + create button.":::
@@ -139,7 +127,7 @@ To create a virtual network, use the following steps:
139
127
140
128
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/create-storage.png" alt-text="Screenshot of storage account basic config.":::
141
129
142
-
1. From the __Networking__ tab, select __Private endpoint__ and then select __+ Add private endpoint__.
130
+
1. From the __Networking__ tab, select __Disable public access__ and then select __+ Add private endpoint__.
143
131
144
132
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/storage-enable-private-endpoint.png" alt-text="Screenshot of the form to add the blob private network.":::
145
133
@@ -154,7 +142,7 @@ To create a virtual network, use the following steps:
154
142
*__Private DNS integration__: Yes
155
143
*__Private DNS Zone__: privatelink.blob.core.windows.net
156
144
157
-
Select __OK__ to create the private endpoint.
145
+
Select __Add__ to create the private endpoint.
158
146
159
147
1. Select __Review + create__. Verify that the information is correct, and then select __Create__.
160
148
@@ -177,18 +165,16 @@ To create a virtual network, use the following steps:
177
165
178
166
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/storage-file-private-endpoint-resource.png" alt-text="Screenshot of the resource form when selecting a sub-resource of 'file'.":::
179
167
180
-
1. Select __Next : Configuration__, and then use the following values:
168
+
1. Select __Next : Virtaul Network__, and then use the following values:
181
169
*__Virtual network__: The network you created previously
182
170
*__Subnet__: Training
183
-
*__Integrate with private DNS zone__: Yes
184
-
*__Private DNS zone__: privatelink.file.core.windows.net
185
171
186
172
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/storage-file-private-endpoint-config.png" alt-text="Screenshot of the configuration form when adding the file private endpoint.":::
187
173
188
-
1.Select__Review + Create__. Verify that the information is correct, and then select __Create__.
174
+
1.Continue through the tabs selecting defaults until you reach__Review + Create__. Verify that the information is correct, and then select __Create__.
189
175
190
176
> [!TIP]
191
-
> If you plan to use a [batch endpoint](concept-endpoints.md) or an Azure Machine Learning pipeline that uses a [ParallelRunStep](./tutorial-pipeline-batch-scoring-classification.md), it is also required to configure private endpoints target **queue** and **table** sub-resources. ParallelRunStep uses queue and table under the hood for task scheduling and dispatching.
177
+
> If you plan to use a [batch endpoint](concept-endpoints.md) or an Azure Machine Learning pipeline that uses a [ParallelRunStep](./tutorial-pipeline-batch-scoring-classification.md), it is also required to configure private endpoints target __queue__ and __table__ sub-resources. ParallelRunStep internally uses queue and table for task scheduling and dispatching.
192
178
193
179
## Create a key vault
194
180
@@ -197,7 +183,7 @@ To create a virtual network, use the following steps:
197
183
198
184
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/create-key-vault.png" alt-text="Screenshot of the basics form when creating a new key vault.":::
199
185
200
-
1. From the __Networking__ tab, select __Private endpoint__and then select __+ Add__.
186
+
1. From the __Networking__ tab, deselect __Enable public access__and then select __+ create a private endpoint__.
201
187
202
188
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/key-vault-networking.png" alt-text="Screenshot of the networking form when adding a private endpoint for the key vault.":::
203
189
@@ -209,10 +195,10 @@ To create a virtual network, use the following steps:
209
195
*__Target sub-resource__: Vault
210
196
*__Virtual network__: The virtual network you created earlier.
211
197
*__Subnet__: Training (172.16.0.0/24)
212
-
*__Private DNS integration__: Yes
213
-
*__Private DNS Zone__: privatelink.vaultcore.azure.net
198
+
*__Enable Private DNS integration__: Yes
199
+
*__Private DNS Zone__: Select the resource group that contains the virtual network and key vault.
214
200
215
-
Select __OK__ to create the private endpoint.
201
+
Select __Add__ to create the private endpoint.
216
202
217
203
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/key-vault-private-endpoint.png" alt-text="Screenshot of the key vault private endpoint configuration form.":::
218
204
@@ -238,20 +224,13 @@ To create a virtual network, use the following steps:
238
224
*__Virtual network__: The virtual network you created earlier.
239
225
*__Subnet__: Training (172.16.0.0/24)
240
226
*__Private DNS integration__: Yes
241
-
*__Private DNS Zone__: privatelink.azurecr.io
227
+
*__Resource group__: Select the resource group that contains the virtual network and container registry.
242
228
243
229
Select __OK__ to create the private endpoint.
244
230
245
231
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/container-registry-private-endpoint.png" alt-text="Screenshot of the configuration form for the container registry private endpoint.":::
246
232
247
233
1. Select __Review + create__. Verify that the information is correct, and then select __Create__.
248
-
1. After the container registry has been created, select __Go to resource__.
249
-
250
-
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/container-registry-go-to-resource.png" alt-text="Screenshot of the 'go to resource' button.":::
251
-
252
-
1. From the left of the page, select __Access keys__, and then enable __Admin user__. This setting is required when using Azure Container Registry inside a virtual network with Azure Machine Learning.
253
-
254
-
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/container-registry-admin-user.png" alt-text="Screenshot of the container registry access keys form, with the 'admin user' option enabled.":::
255
234
256
235
## Create a workspace
257
236
@@ -268,7 +247,7 @@ To create a virtual network, use the following steps:
268
247
269
248
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/create-machine-learning-workspace.png" alt-text="Screenshot of the basic workspace configuration form.":::
270
249
271
-
1. From the __Networking__ tab, select __Private with Internet Outbound__. In the __Workspace inbound access__ section, select __+ add__.
250
+
1. From the __Networking__ tab, select __Private with Internet Outbound__. In the __Workspace inbound access__ section, select __+ Add__.
272
251
273
252
1. On the __Create private endpoint__ form, use the following values:
274
253
*__Subscription__: The same Azure subscription that contains the previous resources you've created.
@@ -288,7 +267,7 @@ To create a virtual network, use the following steps:
288
267
1. From the __Networking__ tab, in the __Workspace outbound access__ section, select __Use my own virtual network__.
289
268
1. Select __Review + create__. Verify that the information is correct, and then select __Create__.
290
269
1. Once the workspace has been created, select __Go to resource__.
291
-
1. From the __Settings__ section on the left, select __Private endpoint connections__ and then select the link in the __Private endpoint__ column:
270
+
1. From the __Settings__ section on the left, select __Networking__, __Private endpoint connections__, and then select the link in the __Private endpoint__ column:
292
271
293
272
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/workspace-private-endpoint-connections.png" alt-text="Screenshot of the private endpoint connections for the workspace.":::
294
273
@@ -333,15 +312,7 @@ Azure Machine Learning studio is a web-based application that lets you easily ma
333
312
> *[Migrate to workspace-based Application Insights resources](../azure-monitor/app/convert-classic-resource.md).
334
313
> *[Configure your Azure Monitor private link](../azure-monitor/logs/private-link-configure.md).
335
314
336
-
1. In the [Azure portal](https://portal.azure.com), select your Azure Machine Learning workspace. From __Overview__, select the __Application Insights__ link.
337
-
338
-
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/workspace-application-insight.png" alt-text="Screenshot of the Application Insights link.":::
339
-
340
-
1. In the __Properties__ for Application Insights, check the __WORKSPACE__ entry to see if it contains a value. If it _doesn't_, select __Migrate to Workspace-based__, select the __Subscription__ and __Log Analytics Workspace__ to use, then select __Apply__.
341
-
342
-
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/migrate-workspace-based.png" alt-text="Screenshot of the link to migrate to workspace-based.":::
343
-
344
-
1. In the Azure portal, select __Home__, and then search for __Private link__. Select the __Azure Monitor Private Link Scope__ result and then select __Create__.
315
+
1. In the [Azure portal](https://portal.azure.com), select __Home__, and then search for __Private link__. Select the __Azure Monitor Private Link Scope__ result and then select __Create__.
345
316
1. From the __Basics__ tab, select the same __Subscription__, __Resource Group__, and __Resource group region__ as your Azure Machine Learning workspace. Enter a __Name__ for the instance, and then select __Review + Create__. To create the instance, select __Create__.
346
317
1. Once the Azure Monitor Private Link Scope instance has been created, select the instance in the Azure portal. From the __Configure__ section, select __Azure Monitor Resources__ and then select __+ Add__.
347
318
@@ -427,9 +398,9 @@ Use the following steps to create an Azure Virtual Machine to use as a jump box.
427
398
428
399
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/use-bastion.png" alt-text="Screenshot of the Use Bastion button.":::
429
400
430
-
## Create a compute cluster and compute instance
401
+
## Create a compute instance
431
402
432
-
A compute cluster is used by your training jobs. A compute instance provides a Jupyter Notebook experience on a shared compute resource attached to your workspace.
403
+
A compute instance provides a Jupyter Notebook experience on a shared compute resource attached to your workspace.
433
404
434
405
1. From an Azure Bastion connection to the jump box, open the __Microsoft Edge__ browser on the remote desktop.
435
406
1. In the remote browser session, go to __https://ml.azure.com__. When prompted, authenticate using your Microsoft Entra account.
@@ -440,20 +411,6 @@ A compute cluster is used by your training jobs. A compute instance provides a J
440
411
441
412
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/studio-select-workspace.png" alt-text="Screenshot of the select Machine Learning workspace form.":::
442
413
443
-
1. From studio, select __Compute__, __Compute clusters__, and then __+ New__.
444
-
445
-
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/studio-new-compute-cluster.png" alt-text="Screenshot of the compute clusters page, with the 'new' button selected.":::
446
-
447
-
1. From the __Virtual Machine__ dialog, select __Next__ to accept the default virtual machine configuration.
448
-
449
-
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/studio-new-compute-vm.png" alt-text="Screenshot of the compute cluster virtual machine configuration.":::
450
-
451
-
1. From the __Configure Settings__ dialog, enter __cpu-cluster__ as the __Compute name__. Set the __Subnet__ to __Training__ and then select __Create__ to create the cluster.
452
-
453
-
> [!TIP]
454
-
> Compute clusters dynamically scale the nodes in the cluster as needed. We recommend leaving the minimum number of nodes at 0 to reduce costs when the cluster is not in use.
455
-
456
-
:::image type="content" source="./media/tutorial-create-secure-workspace-vnet/studio-new-compute-settings.png" alt-text="Screenshot of the configure settings form.":::
457
414
458
415
1. From studio, select __Compute__, __Compute instance__, and then __+ New__.
0 commit comments