Create Azure Machine Learning Workspace

Lina Haidar
2 min readMay 5, 2022

--

Azure Machine Learning (AML) Workspace is like your desk on which you have everything to start working on your project. AML workspace contains the tools that are needed to submit the experiment to the cluster.

Azure Workspace

Create AML Workspace

1. Using Azure Workspace.create method:

To be able to use the method, you need to install AML SDK for python.

from azureml.core import Workspace
ws = Workspace.create(name='myworkspace',
subscription_id='<azure-subscription-id>',
resource_group='myresourcegroup',
create_resource_group=True,
location='eastus2'
)

For beginners, it is relatively easier to use a user interface method, which is explained below.

2. Using Azure Portal

Sign in to the Azure Portal by using the credentials for your Azure Subscription. In the search box, type Machine Learning and select the matching item. Then click create. You should see the following image:

create AML workspace

Provide the following information to configure your workspace:

. Subscription: Select Azure subscription that you want to use. If you have only one, it gets selected by default.
. Resource group: Use an existing one in your subscription. If it is the first time you create a workspace, enter a name to create a new resource group.
. Workspace name: Enter a unique name across the resource group. It is recommended to use a name which is easy to recall and to differentiate from workspaces created by others. The name is case-insensitive.
. Region: Select the matching location.

. Leave default values Storage account, Key vault, Applications insights, Container registry.

. Then, click on Review + Create. In the Validation page click on Create to start the deployment. When the deployment is terminated click on Go to resource.

. Finally, in the Azure Machine Learning resource page click on Launch studio. Azure Machine Learning Studio home page will open in another tab of your browser and you should see the following:

AML Studio

To the left side are the tools that can be utilized in accordance with what your project needs.

This post is a section of the complete tutorial Set up Azure Development Environment to Train Models. Check it out to proceed.

--

--