Loading, please wait...

A to Z Full Forms and Acronyms

How to Create compute resources in Azure?

Jul 21, 2020 Compute, Resources, Azure , 3451 Views
In this article, we’ll discuss How to Create compute resources in Azure?

Create compute resources

To train and deploy models using Azure Machine Learning designer, you need to compute on which to run the training process, test the model, and host the model in a deployed service.

Create compute targets

Compute targets are cloud-based resources on which you can run model training and data exploration processes.

  1. In Azure Machine Learning Studio, view the Compute page (under Manage). This is where you manage the compute targets for your data science activities. There are four kinds of compute resource you can create:
    • Compute Instances: Development workstations that data scientists can use to work with data and models.
    • Compute Clusters: Scalable clusters of virtual machines for on-demand processing of experiment code.
    • Inference Clusters: Deployment targets for predictive services that use your trained models.
    • Attached Computer: Links to existing Azure compute resources, such as Virtual Machines or Azure Databricks clusters.
  2. On the Compute Instances tab, add a new compute instance with the following settings. You'll use this to test your model:
    • Compute nameenter a unique name
    • Virtual Machine type: CPU
    • Virtual Machine size: Standard_DS2_v2
  3. While the compute instance is being created, switch to the Compute Clusters tab, and add a new compute cluster with the following settings. You'll use this to train a machine learning model:
    • Compute nameenter a unique name
    • Virtual Machine size: Standard_DS2_v2
    • Virtual Machine priority: Dedicated
    • Minimum number of nodes: 2
    • Maximum number of nodes: 2
    • Idle seconds before scale down: 120
  4. While the compute cluster is being created, switch to the Inference Clusters tab, and add a new cluster with the following settings. You'll use this to deploy your model as a service.
    • Compute nameenter a unique name
    • Kubernetes Service: Create new
    • RegionSelect a different region than the one used for your workspace
    • Virtual Machine size: Standard_DS2_v2 (Use the filter to find this in the list)
    • Cluster purpose: Dev-test
    • Number of nodes: 2
    • Network configuration: Basic
    • Enable SSL configuration: Unselected
  5. Verify that the inference cluster is in the Creating state - it will take a while to be created, so leave it for now.
A to Z Full Forms and Acronyms