From d6b558f88d60a2cb575e0fbf143f01d259c16ded Mon Sep 17 00:00:00 2001 From: Jordan Edwards Date: Sun, 28 Apr 2019 13:04:26 -0700 Subject: [PATCH] Update README.md --- how-to-use-azureml/deploy-to-cloud/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/how-to-use-azureml/deploy-to-cloud/README.md b/how-to-use-azureml/deploy-to-cloud/README.md index 77c9610b..d566372d 100644 --- a/how-to-use-azureml/deploy-to-cloud/README.md +++ b/how-to-use-azureml/deploy-to-cloud/README.md @@ -8,5 +8,16 @@ For more information please check out this article: https://docs.microsoft.com/e ## Deploy to the cloud You can deploy to the cloud using the Azure ML CLI or the Azure ML SDK. -- CLI example: [Azure Pipelines model deployment example](./azure-pipelines-model-deploy.yml) + +### Deploy with the CLI +``` +az extension add -n azure-cli-ml +az ml folder attach -w myworkspace -g myresourcegroup +az ml model register -n sklearn_regression_model.pkl -p sklearn_regression_model.pkl -t model.json +az ml model deploy -n acicicd -f model.json --ic inferenceConfig.yml --dc deploymentConfig.yml --overwrite +``` + +Here is an [Azure DevOps Pipelines model deployment example](./azure-pipelines-model-deploy.yml) + +### Deploy from a notebook - Notebook example: [model-register-and-deploy](./model-register-and-deploy.ipynb).