Skip to content

Instantly share code, notes, and snippets.

@SaschaDittmann
Created October 21, 2019 16:26
Show Gist options
  • Save SaschaDittmann/137d76361d68df648934deb872798c5e to your computer and use it in GitHub Desktop.
Save SaschaDittmann/137d76361d68df648934deb872798c5e to your computer and use it in GitHub Desktop.
DevOps for Machine Learning (Azure MLOps Part 2) - Setup Azure Machine Learning Services
az extension add -n azure-cli-ml
az ml workspace create -g $(azureml.resourceGroup) -w $(azureml.workspaceName) -l $(azureml.location) --exist-ok --yes
az ml computetarget create amlcompute -g $(azureml.resourceGroup) -w $(azureml.workspaceName) -n $(amlcompute.clusterName) -s $(amlcompute.vmSize) --min-nodes $(amlcompute.minNodes) --max-nodes $(amlcompute.maxNodes) --idle-seconds-before-scaledown $(amlcompute.idleSecondsBeforeScaledown)
az ml datastore upload -w $(azureml.workspaceName) -g $(azureml.resourceGroup) -n $(az ml datastore show-default -w $(azureml.workspaceName) -g $(azureml.resourceGroup) --query name -o tsv) -p data -u diabetes --overwrite true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment