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-resource-manager-workspace.md
+47-9Lines changed: 47 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: machine-learning
5
5
author: lobrien
6
6
ms.author: laobri
7
7
ms.custom: subject-armqs
8
-
ms.date: 05/19/2020
8
+
ms.date: 05/26/2020
9
9
ms.service: machine-learning
10
10
ms.subservice: core
11
11
ms.topic: tutorial
@@ -22,31 +22,69 @@ Azure machine learning workspaces organize all your machine learning assets from
22
22
23
23
* An Azure subscription. If you don't have an Azure subscription, create a [free account](https://aka.ms/AMLFree) before you begin.
24
24
25
+
* To use the CLI commands in this document from your **local environment**, you need the [Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest)
26
+
25
27
## Create a workspace
26
28
27
29
### Review the template
28
30
29
-
The template used in this quickstart is from [Azure Quickstart templates](tk).
31
+
The template used in this quickstart is from [Azure Quickstart templates](https://azure.microsoft.com/resources/templates/101-machine-learning-create/).
The following resources are defined in the template:
34
36
35
-
*tk
37
+
*[Microsoft.MachineLearningServices/workspaces](/azure/templates/microsoft.machinelearningservices/workspaces): Create an Azure ML workspace. In this template, the location and name are parameters that the user can pass in or interactively enter.
36
38
37
39
### Deploy the template
38
40
39
-
cli deployment
41
+
To use the template from the Azure CLI, login and choose your subscription (See [Sign in with Azure CLI](https://docs.microsoft.com/cli/azure/authenticate-azure-cli?view=azure-cli-latest)). Then, run:
42
+
43
+
```azurecli-interactive
44
+
read -p "Enter a project name that is used for generating resource names:" projectName &&
45
+
read -p "Enter the location (i.e. centralus):" location &&
az group create --name $resourceGroupName --location "$location" &&
50
+
az deployment group create --resource-group $resourceGroupName --template-uri $templateUri --parameters workspaceName=$workspaceName location=$location &&
51
+
echo "Press [ENTER] to continue ..." &&
52
+
read
53
+
```
54
+
55
+
When you run this, you will be prompted for:
56
+
57
+
1. A project name that will form the basis of the names of the created resource group and Azure ML workspace
58
+
1. The Azure location in which you wish to make the deployment
40
59
41
60
## Review deployed resources
42
61
43
-
tk
62
+
To see your Azure ML workspace:
63
+
64
+
1. Go to https://portal.azure.com
65
+
1. Sign in
66
+
1. Choose the workspace you just created
67
+
68
+
You will see the Azure Machine Learning homepage:
69
+
70
+
:::image type="content" source="media/tutorial-resource-manager-workspace/workspace-home.png" alt-text="Screenshot of the Azure ML workspace":::
71
+
72
+
To see all the resources associated with the deployment, click the link in the upper left with the workspace name (in the screenshot, **my_templated_ws**). This will take you to the resource group in the Azure portal. Note that the resource group name is `{projectName}rg` and the workspace is named `{projectName}ws`.
44
73
45
74
## Clean up resources
46
75
47
-
tk
76
+
If you do not wish to use this workspace going forward, you can either delete it in the portal by clicking on the "Delete" button or from the CLI with:
77
+
78
+
```azurecli-interactive
79
+
echo "Enter the Resource Group name:" &&
80
+
read resourceGroupName &&
81
+
az group delete --name $resourceGroupName &&
82
+
echo "Press [ENTER] to continue ..."
83
+
```
48
84
49
85
## Next steps
50
86
51
-
tk tutorial-1st-experiment-sdk-setup.md tk
52
-
tk point users to Tutorial: Create and deploy your first Azure Resource Manager template to go through the process of creating a template. tk
87
+
In this tutorial, you created an Azure Machine Learning workspace from an Azure Resource Manager template. If you'd like to explore Azure Machine Learning, continue with the tutorial.
88
+
89
+
> [!div class="nextstepaction"]
90
+
> [Tutorial: Get started creating your first ML experiment with the Python SDK](tutorial-1st-experiment-sdk-setup.md)
0 commit comments