az ml computetarget create

Create a compute target (aks or amlcompute).

Commands

az ml computetarget create aks Create an AKS compute target.
az ml computetarget create amlcompute Create an AzureML compute target.
az ml computetarget create datafactory Create a data factory compute target.

az ml computetarget create aks

Create an AKS compute target.

az ml computetarget create aks --name
[--agent-count]
[--cluster-purpose]
[--dns-service-ip]
[--docker-bridge-cidr]
[--load-balancer-type]
[--location]
[--no-wait]
[--path]
[--resource-group]
[--service-cidr]
[--ssl-cert-file]
[--ssl-cname]
[--ssl-key-file]
[--ssl-leaf-domain-label]
[--ssl-overwrite-domain]
[--subnet-name]
[--vm-size]
[--vnet-name]
[--vnet-resourcegroup-name]
[--workspace-name]
[-v]

Required Parameters

--name -n

Name of compute target to provision.

Optional Parameters

--agent-count -a

Number of agents to provision with the AKS cluster. Default: 3.

--cluster-purpose

Targeted purpose of the cluster. This is used when provisioning AzureML components to ensure the desired level of fault-tolerance and QoS. Accepted values are "FastProd" and "DevTest". Further detail of the use cases can be found here: https://aka.ms/azureml-create-new-aks-cluster.

--dns-service-ip

Containers DNS server IP address.

--docker-bridge-cidr

A CIDR notation IP for Docker bridge.

--load-balancer-type

You can create an AKS cluster with either Public IP or Internal Load Balancer. Accepted values are "PublicIp" and "InternalLoadBalancer". Default is "PublicIp".

--location -l

Location to provision cluster in. If not specified, will default to workspace location.

--no-wait

Flag to not wait for asynchronous calls.

--path

Path to a project folder. Default: current directory.

--resource-group -g

Resource group corresponding to the provided workspace.

--service-cidr

A CIDR notation IP range from which to assign service cluster IPs.

--ssl-cert-file

Cert pem file to use for SSL validation. If provided, must also provide cname and key pem file.

--ssl-cname

Cname to use for SSL validation. If provided, must also provide cert and key pem files.

--ssl-key-file

Key pem file to use for SSL validation. If provided, must also provide cname and cert pem file.

--ssl-leaf-domain-label

Leaf domain label to use for the auto generated certificate.

--ssl-overwrite-domain

When set overwrites the existing leaf domain label.

--subnet-name

Name of the subnet inside the vnet.

--vm-size -s

VM size to use for the compute target. A full list of options can be found here: https://aka.ms/azureml-aks-details Default: Standard_D3_v2.

--vnet-name

Name of the virtual network.

--vnet-resourcegroup-name

Name of the resource group where the virtual network is located.

--workspace-name -w

Name of the workspace to create this compute target under.

-v

Verbosity flag.

az ml computetarget create amlcompute

Create an AzureML compute target.

az ml computetarget create amlcompute --max-nodes
--name
--vm-size
[--admin-user-password]
[--admin-user-ssh-key]
[--admin-username]
[--description]
[--idle-seconds-before-scaledown]
[--min-nodes]
[--no-wait]
[--path]
[--remote-login-port-public-access]
[--resource-group]
[--subnet-name]
[--tag]
[--vm-priority]
[--vnet-name]
[--vnet-resourcegroup-name]
[--workspace-name]
[-v]

Required Parameters

--max-nodes

Maximum number of nodes to use. Default: 4.

--name -n

Name of compute target to provision.

--vm-size -s

VM size to use for the compute target. More details can be found here: https://aka.ms/azureml-vm-details Default: Standard_NC6.

Optional Parameters

--admin-user-password

Password of the administrator user account.

--admin-user-ssh-key

SSH public key of the administrator user account.

--admin-username

Name of the administrator user account which can be used to SSH into nodes.

--description

Description of the compute target.

--idle-seconds-before-scaledown

Node idle time in seconds before scaling down the cluster. Default: 120.

--min-nodes

Minimum number of nodes to use. Default: 0.

--no-wait

Flag to not wait for asynchronous calls.

--path

Path to a project folder. Default: current directory.

--remote-login-port-public-access

State of the public SSH port. Possible values are: Enabled or Disabled.

--resource-group -g

Resource group corresponding to the provided workspace.

--subnet-name

Name of the subnet inside the vnet.

--tag

Key/value tag to add (e.g. key=value ). Multiple tags can be specified with multiple --tag options.

--vm-priority -p

VM priority to use for the compute target. (Options are 'dedicated', 'lowpriority') Default: dedicated.

--vnet-name

Name of the virtual network.

--vnet-resourcegroup-name

Name of the resource group where the virtual network is located.

--workspace-name -w

Name of the workspace to create this compute target under.

-v

Verbosity flag.

az ml computetarget create datafactory

Create a data factory compute target.

az ml computetarget create datafactory --name
[--location]
[--no-wait]
[--path]
[--resource-group]
[--workspace-name]
[-v]

Required Parameters

--name -n

Name of compute target to provision.

Optional Parameters

--location -l

Location to provision cluster in. If not specified, will default to workspace location.

--no-wait

Flag to not wait for asynchronous calls.

--path

Path to a project folder. Default: current directory.

--resource-group -g

Resource group corresponding to the provided workspace.

--workspace-name -w

Name of the workspace to create this compute target under.

-v

Verbosity flag.