az ml computetarget create
Note
This reference is part of the azure-cli-ml extension for the Azure CLI (version 2.0.28 or higher). The extension will automatically install the first time you run an az ml computetarget create command. Learn more about extensions.
Create a compute target (aks or amlcompute or computeinstance).
Commands
Name | Description | Type | Status |
---|---|---|---|
az ml computetarget create aks |
Create an AKS compute target. |
Extension | GA |
az ml computetarget create amlcompute |
Create an AzureML compute target. |
Extension | GA |
az ml computetarget create computeinstance |
Create an AzureML compute instance target. |
Extension | GA |
az ml computetarget create datafactory |
Create a data factory compute target. |
Extension | GA |
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-subnet]
[--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]
[--subscription-id]
[--vm-size]
[--vnet-name]
[--vnet-resourcegroup-name]
[--workspace-name]
[-v]
Required Parameters
Name of compute target to provision.
Optional Parameters
Number of agents to provision with the AKS cluster. Default: 3.
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.
Containers DNS server IP address.
A CIDR notation IP for Docker bridge.
You can specify subnet for the AKS cluster when Internal Load Balancer is used as load balancer type. Default is "aks-subnet".
You can create an AKS cluster with either Public IP or Internal Load Balancer. Accepted values are "PublicIp" and "InternalLoadBalancer". Default is "PublicIp".
Location to provision cluster in. If not specified, will default to workspace location.
Flag to not wait for asynchronous calls.
Path to a project folder. Default: current directory.
Resource group corresponding to the provided workspace.
A CIDR notation IP range from which to assign service cluster IPs.
Cert pem file to use for SSL validation. If provided, must also provide cname and key pem file.
Cname to use for SSL validation. If provided, must also provide cert and key pem files.
Key pem file to use for SSL validation. If provided, must also provide cname and cert pem file.
Leaf domain label to use for the auto generated certificate.
When set overwrites the existing leaf domain label.
Name of the subnet inside the vnet.
Specifies the subscription Id.
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.
Name of the virtual network.
Name of the resource group where the virtual network is located.
Name of the workspace to create this compute target under.
Verbosity flag.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
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]
[--assign-identity]
[--description]
[--enable-node-public-ip]
[--idle-seconds-before-scaledown]
[--location]
[--min-nodes]
[--no-wait]
[--path]
[--remote-login-port-public-access]
[--resource-group]
[--subnet-name]
[--subscription-id]
[--tag]
[--vm-priority]
[--vnet-name]
[--vnet-resourcegroup-name]
[--workspace-name]
[-v]
Required Parameters
Maximum number of nodes to use. Default: 4.
Name of compute target to provision.
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
Password of the administrator user account.
SSH public key of the administrator user account.
Name of the administrator user account which can be used to SSH into nodes.
Use '[system]' to set a system assigned identity else input resource IDs separated by commas (ie 'ResourceID1,ResourceID2') to set user assigned identities.
Description of the compute target.
Enable Node Public IP.
Node idle time in seconds before scaling down the cluster.
Location to provision cluster in. If not specified, will default to workspace location.
Minimum number of nodes to use. Default: 0.
Flag to not wait for asynchronous calls.
Path to a project folder. Default: current directory.
State of the public SSH port. Possible values are: Enabled or Disabled.
Resource group corresponding to the provided workspace.
Name of the subnet inside the vnet.
Specifies the subscription Id.
Key/value tag to add (e.g. key=value ). Multiple tags can be specified with multiple --tag options.
VM priority to use for the compute target. (Options are 'dedicated', 'lowpriority') Default: dedicated.
Name of the virtual network.
Name of the resource group where the virtual network is located.
Name of the workspace to create this compute target under.
Verbosity flag.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml computetarget create computeinstance
Create an AzureML compute instance target.
az ml computetarget create computeinstance --name
--vm-size
[--admin-user-ssh-public-key]
[--description]
[--no-wait]
[--path]
[--resource-group]
[--ssh-public-access]
[--subnet-name]
[--subscription-id]
[--tag]
[--user-object-id]
[--user-tenant-id]
[--vnet-name]
[--vnet-resourcegroup-name]
[--workspace-name]
[-v]
Required Parameters
Name of compute instance to create.
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
SSH public key of the administrator user account.
Description of the compute target.
Flag to not wait for asynchronous calls.
Path to a project folder. Default: current directory.
Resource group corresponding to the provided workspace.
State of the public SSH port. Possible values are: True or False.
Name of the subnet inside the vnet.
Specifies the subscription Id.
Key/value tag to add (e.g. key=value ). Multiple tags can be specified with multiple --tag options.
The AAD Object ID of the assigned user of this compute instance (preview).
The AAD Tenant ID of the assigned user of this compute instance (preview).
Name of the virtual network.
Name of the resource group where the virtual network is located.
Name of the workspace to create this compute target under.
Verbosity flag.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml computetarget create datafactory
Create a data factory compute target.
az ml computetarget create datafactory --name
[--location]
[--no-wait]
[--path]
[--resource-group]
[--subscription-id]
[--workspace-name]
[-v]
Required Parameters
Name of compute target to provision.
Optional Parameters
Location to provision cluster in. If not specified, will default to workspace location.
Flag to not wait for asynchronous calls.
Path to a project folder. Default: current directory.
Resource group corresponding to the provided workspace.
Specifies the subscription Id.
Name of the workspace to create this compute target under.
Verbosity flag.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.