Skip to content

Commit b483cfe

Browse files
Merge pull request #220886 from HristinaJilova/hj_how-to-secure-online-endpoint
Hj how to secure online endpoint
2 parents 293aa72 + 333f59e commit b483cfe

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

articles/machine-learning/how-to-secure-online-endpoint.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.topic: how-to
99
ms.reviewer: mopeakande
1010
author: dem108
1111
ms.author: sehan
12-
ms.date: 10/04/2022
12+
ms.date: 12/08/2022
1313
ms.custom: event-tier1-build-2022
1414
---
1515

@@ -207,19 +207,32 @@ The following diagram shows the overall architecture of this example:
207207

208208
:::image type="content" source="./media/how-to-secure-online-endpoint/endpoint-network-isolation-diagram.png" alt-text="Diagram of the services created.":::
209209

210-
To create the resources, use the following Azure CLI commands. Replace `<UNIQUE_SUFFIX>` with a unique suffix for the resources that are created.
210+
To create the resources, use the following Azure CLI commands. To create a resource group. Replace `<my-resource-group>` and `<my-location>` with the desierd values.
211+
212+
```azurecli
213+
# create resource group
214+
az group create --name <my-resource-group> --location <my-location>
215+
```
216+
217+
Clone the example files for the deployment, use the following command:
211218

212-
:::code language="azurecli" source="~/azureml-examples-main/setup/setup-repo/azure-github.sh" id="managed_vnet_workspace_suffix":::
219+
```azurecli
220+
#Clone the example files
221+
git clone https://github.com/Azure/azureml-examples
222+
```
213223

214-
:::code language="azurecli" source="~/azureml-examples-main/setup/setup-repo/azure-github.sh" id="managed_vnet_workspace_create":::
224+
To create the resources, use the following Azure CLI commands. Replace `<UNIQUE_SUFFIX>` with a unique suffix for the resources that are created.
215225

226+
```azurecli
227+
az deployment group create --template-file endpoints/online/managed/vnet/setup_ws/main.bicep --parameters suffix=$SUFFIX --resource-group <my-resource-group>
228+
```
216229
### Create the virtual machine jump box
217230

218231
To create an Azure Virtual Machine that can be used to connect to the VNet, use the following command. Replace `<your-new-password>` with the password you want to use when connecting to this VM:
219232

220233
```azurecli
221234
# create vm
222-
az vm create --name test-vm --vnet-name vnet-$SUFFIX --subnet snet-scoring --image UbuntuLTS --admin-username azureuser --admin-password <your-new-password>
235+
az vm create --name test-vm --vnet-name vnet-$SUFFIX --subnet snet-scoring --image UbuntuLTS --admin-username azureuser --admin-password <your-new-password> --resource-group <my-resource-group>
223236
```
224237

225238
> [!IMPORTANT]

0 commit comments

Comments
 (0)