Scale model deployment anywhere with Azure Arc enabled Machine Learning

Published Nov 02 2021 08:00 AM 1,124 Views
Microsoft

 

The Azure Machine Learning team is excited to announce the public preview of Azure Arc enabled Machine Learning for inference. This builds on our training preview, enabling customers to deploy and serve models in any infrastructure on-premises and across multi-cloud using Kubernetes. With a simple AzureML extension deployment on Kubernetes cluster, Kubernetes compute are seamlessly supported in Azure ML providing service capabilities for full ML lifecycle and automation with MLOps in hybrid cloud.

 

Many enterprises have chosen the Kubernetes container platform to meet the challenges of providing compute infrastructure for machine learning. Although there are open source ML tools for Kubernetes, it requires time and effort to setup the infrastructure, deploy data science productivity tools and frameworks, and keep all those up to date. To scale ML adoption in an organization, automation with MLOps is often required. MLOps in hybrid cloud presents a different set of challenges such as on-premises and cloud environment compatibility, networking and security, and lack of single pane of glass to provision and maintain hybrid infrastructures.

 

Built on top of Azure Arc enabled Kubernetes, which provides a single pane of glass to manage Kubernetes anywhere, Azure Arc enabled ML inference extends Azure ML model deployment capabilities seamlessly to Kubernetes clusters, and enables customer to deploy and serve models on Kubernetes anywhere at scale. Enterprise IT or DevOps team can deploy and manage the AzureML extension with their standard tools and ensure all Azure ML service capabilities are up to date. ML engineers can deploy and score models with an Azure ML online endpoint, deploy a model with network isolation, or have a machine learning project fully on-premises. By using repeatable pipeline to automate workflows for CI/CD in a hybrid cloud environment, data scientist and ML Ops teams can continuously monitor model deployment anywhere and trigger retraining automatically to improve model performance.

 

How it works

 

It is easy to enable an existing Kubernetes cluster for Azure Arc enabled ML inference by following the 4 steps below:

arcml-flow.png

Connect. Follow the instructions here to connect an existing Kubernetes cluster to Azure Arc. For Azure Kubernetes Service (AKS) cluster, connecting to Azure Arc is not needed and this step can be skipped.

 

Deploy. Arc enabled ML inference supports online endpoint with public IP or private IP, and this can be configured at AzureML extension deployment time. The following CLI command will deploy AzureML extension to an Arc-connected Kubernetes cluster and enable an online endpoint with private IP. For AzureML extension deployment on AKS cluster without Azure Arc connection, please change --cluster-type parameter value to be managedClusters

az k8s-extension create --name tailwind-ml-extension --extension-type Microsoft.AzureML.Kubernetes --cluster-type connectedClusters --cluster-name <your-connected-cluster-name> --config enableInference=True privateEndpointILB=True --config-protected sslCertPemFile=<path-to-the-SSL-cert-PEM-ile> sslKeyPemFile=<path-to-the-SSL-key-PEM-file> --resource-group <resource-group> --scope cluster

 

For additional scenarios to deploy AzureML extension for inference, please see Azure ML documentation.

 

Attach. Once the AzureML extension is deployed on Kubernetes cluster, run the following CLI command or go to Azure ML Studio UI to attach the Kubernetes cluster to Azure ML workspace:

 

az ml compute attach --type kubernetes --name tailwind-compute --workspace-name tailwind-ws --resource-group tailwind-rg --resource-id tailwind-arc-k8s --namespace tailwind-ml

 

Use. After above steps, the Kubernetes compute target is available in the Azure ML workspace. Users can look up Kubernetes compute target names with CLI command or in Studio UI “Compute->Attached computes” page, and use Kubernetes compute target to train or deploy models without getting into Kubernetes details. To deploy model to Kubernetes cluster using CLI 2.0 or Studio Endpoint UI page, specify Kubernetes compute target name in endpoint YAML or in Studio Endpoint UI page. See examples with endpoint YAML and Studio Endpoint UI page below:

 


name: tailwind-endpoint
compute: azureml:tailwind-compute
auth-mode: key

endpoint.png

 

 

Azure Arc enabled ML model deployments share the same Online Endpoint concept as Azure ML Managed Online Endpoint, and it supports Azure ML built-in online endpoint capabilities such as safe rollout with blue-green deployment. Using following sequence of CLI commands or Studio Endpoint UI page to achieve safe rollout with blue-green deployment:

 

# create endpoint
az ml online-endpoint create --name tailwind-endpoint -f endpoint.yml

# create blue deployment
az ml online-deployment create --name blue --endpoint tailwind-endpoint -f blue-deployment.yml --all-traffic

# test and scale blue deployment
# create green deployment
az ml online-deployment create --name green --endpoint tailwind-endpoint -f green-deployment.yml

# test green deployment
# assign initial traffic to green deployment
az ml online-endpoint update --name tailwind-endpoint --traffic "blue=90 green=10"

# test and monitor small traffic # assign 100% traffic to green deployment az ml online-endpoint update --name tailwind-endpoint --traffic "blue=0 green=100" # retire blue deployment az ml online-deployment delete --name blue --endpoint tailwind-endpoint --yes --no-wait

 

Take a look at a demo to see blue-green deployment in action:

 

 

 Advanced model deployment capabilities

 

Deploy model with network isolation. Use a private AKS cluster and configure VNET/private link to deploy model with network isolation, or configure on-premises Kubernetes cluster with outbound proxy server to have secure ML on-premises. In either case, please ensure to meet the network requirements prior to deploy AzureML extension.

 

Sharing Kubernetes cluster across teams or Azure ML workspaces. At compute attach step, a namespace can be specified for Kubernetes compute target. This can be helpful when different teams or projects share the same Kubernetes cluster. A single Kubernetes cluster can also be attached to multiple Azure ML workspaces, creating each compute target per Azure ML workspace to share the Kubernetes cluster compute resource.

 

Targeting nodes for model deployment. To target model deployment on specific nodes, for example CPU pool vs GPU pool, create an instance type CRD and specify a particular instance type to use in deployment YAML file, check out documentation here.

 

Automation with MLOps in hybrid cloud. With Arc enabled ML , organizations can deliver on hybrid MLOps by using a mix of Azure-managed compute and customer-managed Kubernetes anywhere. For example, you can train model using powerful Azure CPUs and GPUs, and deploy the model on-premises for data security and latency requirements. Or you can train a model on-premises to be compliant with data sovereignty requirements, and then deploy and use the model in the cloud for broad application access.  For a complete MLOps demo using AKS on Azure Stack HCI as Kubernetes on-premises solution, please visit Microsoft Ignite session here.

 

Get started today

 

To get started with Azure Arc enabled ML for inference, please visit Azure Arc enabled ML documentation  and GitHub repo, where you can find detailed instructions to deploy the Azure ML extension on Kubernetes, and examples to use the Kubernetes compute target in Azure ML workspaces.

 

 

 

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2888753%22%20slang%3D%22en-US%22%3EScale%20model%20deployment%20anywhere%20with%20Azure%20Arc%20enabled%20Machine%20Learning%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2888753%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Azure%20Machine%20Learning%20team%20is%20excited%20to%20announce%20the%20public%20preview%20of%20Azure%20Arc%20enabled%20Machine%20Learning%20for%20inference.%20This%20builds%20on%20our%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-ai%2Fupdates-to-azure-arc-enabled-machine-learning%2Fba-p%2F2465745%22%20target%3D%22_blank%22%3Etraining%20preview%3C%2FA%3E%2C%20enabling%20customers%20to%20deploy%20and%20serve%20models%20in%20any%20infrastructure%20on-premises%20and%20across%20multi-cloud%20using%20Kubernetes.%20With%20a%20simple%20AzureML%20extension%20deployment%20on%20Kubernetes%20cluster%2C%20Kubernetes%20compute%20are%20seamlessly%20supported%20in%20Azure%20ML%20providing%20service%20capabilities%20for%20full%20ML%20lifecycle%20and%20automation%20with%20MLOps%20in%20hybrid%20cloud.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMany%20enterprises%20have%20chosen%20the%20Kubernetes%20container%20platform%20to%20meet%20the%20challenges%20of%20providing%20compute%20infrastructure%20for%20machine%20learning.%20Although%20there%20are%20open%20source%20ML%20tools%20for%20Kubernetes%2C%20it%20requires%20time%20and%20effort%20to%20setup%20the%20infrastructure%2C%20deploy%20data%20science%20productivity%20tools%20and%20frameworks%2C%20and%20keep%20all%20those%20up%20to%20date.%20To%20scale%20ML%20adoption%20in%20an%20organization%2C%20automation%20with%20MLOps%20is%20often%20required.%20MLOps%20in%20hybrid%20cloud%20presents%20a%20different%20set%20of%20challenges%20such%20as%20on-premises%20and%20cloud%20environment%20compatibility%2C%20networking%20and%20security%2C%20and%20lack%20of%20single%20pane%20of%20glass%20to%20provision%20and%20maintain%20hybrid%20infrastructures.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBuilt%20on%20top%20of%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-arc%2Fkubernetes%2Foverview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Arc%20enabled%20Kubernetes%3C%2FA%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%20which%20provides%20a%20single%20pane%20of%20glass%20to%20manage%20Kubernetes%20anywhere%2C%20Azure%20Arc%20enabled%20ML%20inference%20extends%20Azure%20ML%20model%20deployment%20capabilities%20seamlessly%20to%20Kubernetes%20clusters%2C%20and%20enables%20customer%20to%20deploy%20and%20serve%20models%20on%20Kubernetes%20anywhere%20at%20scale.%20Enterprise%20IT%20or%20DevOps%20team%20can%20deploy%20and%20manage%20the%20AzureML%20extension%20with%20their%20standard%20tools%20and%20ensure%20all%20Azure%20ML%20service%20capabilities%20are%20up%20to%20date.%20ML%20engineers%20can%20deploy%20and%20score%20models%20with%20an%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fmachine-learning%2Fconcept-endpoints%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20ML%20online%20endpoint%3C%2FA%3E%2C%20deploy%20a%20model%20with%20network%20isolation%2C%20or%20have%20a%20machine%20learning%20project%20fully%20on-premises.%20By%20using%20repeatable%20pipeline%20to%20automate%20workflows%20for%20CI%2FCD%20in%20a%20hybrid%20cloud%20environment%2C%20data%20scientist%20and%20ML%20Ops%20teams%20can%20continuously%20monitor%20model%20deployment%20anywhere%20and%20trigger%20retraining%20automatically%20to%20improve%20model%20performance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1476026094%22%20id%3D%22toc-hId-1497949423%22%3EHow%20it%20works%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20is%20easy%20to%20enable%20an%20existing%20Kubernetes%20cluster%20for%20Azure%20Arc%20enabled%20ML%20inference%20by%20following%20the%204%20steps%20below%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22arcml-flow.png%22%20style%3D%22width%3A%20752px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F321761i4CF807125BE0A13A%2Fimage-dimensions%2F752x234%3Fv%3Dv2%22%20width%3D%22752%22%20height%3D%22234%22%20role%3D%22button%22%20title%3D%22arcml-flow.png%22%20alt%3D%22arcml-flow.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3E%3CSPAN%20style%3D%22font-weight%3A%20normal%20!msorm%3B%22%3E%3CSTRONG%3EConnect%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FFONT%3E.%20Follow%20the%20instructions%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-arc%2Fkubernetes%2Fquickstart-connect-cluster%3Ftabs%3Dazure-cli%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20to%20connect%20an%20existing%20Kubernetes%20cluster%20to%20Azure%20Arc.%20For%20Azure%20Kubernetes%20Service%20(AKS)%20cluster%2C%20connecting%20to%20Azure%20Arc%20is%20not%20needed%20and%20this%20step%20can%20be%20skipped.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3E%3CSPAN%20style%3D%22font-weight%3A%20normal%20!msorm%3B%22%3E%3CSTRONG%3EDeploy%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FFONT%3E.%20Arc%20enabled%20ML%20inference%20supports%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fmachine-learning%2Fconcept-endpoints%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eonline%20endpoint%3C%2FA%3E%20with%20public%20IP%20or%20private%20IP%2C%20and%20this%20can%20be%20configured%20at%20AzureML%20extension%20deployment%20time.%20The%20following%20CLI%20command%20will%20deploy%20AzureML%20extension%20to%20an%20Arc-connected%20Kubernetes%20cluster%20and%20enable%20an%20online%20endpoint%20with%20private%20IP.%20For%20AzureML%20extension%20deployment%20on%20AKS%20cluster%20without%20Azure%20Arc%20connection%2C%20please%20change%3CCODE%3E--cluster-type%3C%2FCODE%3E%26nbsp%3Bparameter%20value%20to%20be%3CCODE%3EmanagedClusters%3C%2FCODE%3E%3C%2FP%3E%0A%3CP%3E%3CCODE%3E%3C%2FCODE%3E%3C%2FP%3E%0A%3CPRE%3E%3CCODE%3Eaz%20k8s-extension%20create%20--name%20tailwind-ml-extension%20--extension-type%20Microsoft.AzureML.Kubernetes%20--cluster-type%20connectedClusters%20--cluster-name%20%3CYOUR-CONNECTED-CLUSTER-NAME%3E%20--config%20enableInference%3DTrue%20privateEndpointILB%3DTrue%20--config-protected%20sslCertPemFile%3D%3CPATH-TO-THE-SSL-CERT-PEM-ILE%3E%20sslKeyPemFile%3D%3CPATH-TO-THE-SSL-KEY-PEM-FILE%3E%20--resource-group%20%3CRESOURCE-GROUP%3E%20--scope%20cluster%3C%2FRESOURCE-GROUP%3E%3C%2FPATH-TO-THE-SSL-KEY-PEM-FILE%3E%3C%2FPATH-TO-THE-SSL-CERT-PEM-ILE%3E%3C%2FYOUR-CONNECTED-CLUSTER-NAME%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20additional%20scenarios%20to%20deploy%20AzureML%20extension%20for%20inference%2C%20please%20see%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Famlarc%2Fdoc%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20ML%20documentation%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3E%3CSPAN%20style%3D%22font-weight%3A%20normal%20!msorm%3B%22%3E%3CSTRONG%3EAttach%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FFONT%3E.%20Once%20the%20AzureML%20extension%20is%20deployed%20on%20Kubernetes%20cluster%2C%20run%20the%20following%20CLI%20command%20or%20go%20to%20Azure%20ML%20Studio%20UI%20to%20attach%20the%20Kubernetes%20cluster%20to%20Azure%20ML%20workspace%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%3Eaz%20ml%20compute%20attach%20--type%20kubernetes%20--name%20tailwind-compute%20--workspace-name%20tailwind-ws%20--resource-group%20tailwind-rg%20--resource-id%20tailwind-arc-k8s%20--namespace%20tailwind-ml%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3E%3CSPAN%20style%3D%22font-weight%3A%20normal%20!msorm%3B%22%3E%3CSTRONG%3EUse%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FFONT%3E.%20After%20above%20steps%2C%20the%20Kubernetes%20compute%20target%20is%20available%20in%20the%20Azure%20ML%20workspace.%20Users%20can%20look%20up%20Kubernetes%20compute%20target%20names%20with%20CLI%20command%20or%20in%20Studio%20UI%20%E2%80%9CCompute-%26gt%3BAttached%20computes%E2%80%9D%20page%2C%20and%20use%20Kubernetes%20compute%20target%20to%20train%20or%20deploy%20models%20without%20getting%20into%20Kubernetes%20details.%20To%20deploy%20model%20to%20Kubernetes%20cluster%20using%20CLI%202.0%20or%20Studio%20Endpoint%20UI%20page%2C%20specify%20Kubernetes%20compute%20target%20name%20in%20endpoint%20YAML%20or%20in%20Studio%20Endpoint%20UI%20page.%20See%20examples%20with%20endpoint%20YAML%20and%20Studio%20Endpoint%20UI%20page%20below%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22288%22%3E%3CPRE%3E%3CCODE%3E%0Aname%3A%20tailwind-endpoint%0Acompute%3A%20azureml%3Atailwind-compute%0Aauth-mode%3A%20key%0A%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22588%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22endpoint.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F321757iC3DA68E84321E031%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22endpoint.png%22%20alt%3D%22endpoint.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20Arc%20enabled%20ML%20model%20deployments%20share%20the%20same%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fmachine-learning%2Fconcept-endpoints%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOnline%20Endpoint%20concept%3C%2FA%3E%20as%20Azure%20ML%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-ai%2Fannouncing-managed-endpoints-in-azure-machine-learning-for%2Fba-p%2F2366481%22%20target%3D%22_blank%22%3EManaged%20Online%20Endpoint%3C%2FA%3E%2C%20and%20it%20supports%20Azure%20ML%20built-in%20online%20endpoint%20capabilities%20such%20as%20safe%20rollout%20with%20blue-green%20deployment.%20Using%20following%20sequence%20of%20CLI%20commands%20or%20Studio%20Endpoint%20UI%20page%20to%20achieve%20safe%20rollout%20with%20blue-green%20deployment%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%3E%23%20create%20endpoint%0Aaz%20ml%20online-endpoint%20create%20--name%20tailwind-endpoint%20-f%20endpoint.yml%0A%0A%23%20create%20blue%20deployment%0Aaz%20ml%20online-deployment%20create%20--name%20blue%20--endpoint%20tailwind-endpoint%20-f%20blue-deployment.yml%20--all-traffic%0A%0A%23%20test%20and%20scale%20blue%20deployment%0A%23%20create%20green%20deployment%0Aaz%20ml%20online-deployment%20create%20--name%20green%20--endpoint%20tailwind-endpoint%20-f%20green-deployment.yml%0A%0A%23%20test%20green%20deployment%0A%23%20assign%20initial%20traffic%20to%20green%20deployment%0Aaz%20ml%20online-endpoint%20update%20--name%20tailwind-endpoint%20--traffic%20%22blue%3D90%20green%3D10%22%0A%3CBR%20%2F%3E%23%20test%20and%20monitor%20small%20traffic%0A%23%20assign%20100%25%20traffic%20to%20green%20deployment%0Aaz%20ml%20online-endpoint%20update%20--name%20tailwind-endpoint%20--traffic%20%22blue%3D0%20green%3D100%22%0A%0A%23%20retire%20blue%20deployment%0Aaz%20ml%20online-deployment%20delete%20--name%20blue%20--endpoint%20tailwind-endpoint%20--yes%20--no-wait%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETake%20a%20look%20at%20a%20demo%20to%20see%20blue-green%20deployment%20in%20action%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CIFRAME%20src%3D%22https%3A%2F%2Fchannel9.msdn.com%2FShows%2FDocs-AI%2FModel-deployment-with-Azure-Arc-enabled-ML%2Fplayer%22%20width%3D%22960%22%20height%3D%22540%22%20frameborder%3D%220%22%20allowfullscreen%3D%22allowfullscreen%22%20title%3D%22Model%20deployment%20with%20Azure%20Arc%20enabled%20ML%20-%20Microsoft%20Channel%209%20Video%22%3E%3C%2FIFRAME%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--331428369%22%20id%3D%22toc-hId--309505040%22%3E%26nbsp%3BAdvanced%20model%20deployment%20capabilities%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-weight%3A%20normal%20!msorm%3B%22%3E%3CSTRONG%3ED%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-weight%3A%20normal%20!msorm%3B%22%3E%3CSTRONG%3Eeploy%20model%20with%20network%20isolation%3C%2FSTRONG%3E%3C%2FSPAN%3E.%20Use%20a%20private%20AKS%20cluster%20and%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAML-Kubernetes%2Fblob%2Fmaster%2Fdocs%2Fazure-cni-setup.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Econfigure%20VNET%2Fprivate%20link%3C%2FA%3E%20to%20deploy%20model%20with%20network%20isolation%2C%20or%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-arc%2Fkubernetes%2Fquickstart-connect-cluster%3Ftabs%3Dazure-cli%234a-connect-using-an-outbound-proxy-server%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Econfigure%20on-premises%20Kubernetes%20cluster%20with%20outbound%20proxy%20server%3C%2FA%3E%20to%20have%20secure%20ML%20on-premises.%20In%20either%20case%2C%20please%20ensure%20to%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAML-Kubernetes%2Fblob%2Fignite-update%2Fdocs%2Fnetwork-requirements.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Emeet%20the%20network%20requirements%3C%2FA%3E%20prior%20to%20deploy%20AzureML%20extension.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-weight%3A%20normal%20!msorm%3B%22%3E%3CSTRONG%3ESharing%20Kubernetes%20cluster%20across%20teams%20or%20Azure%20ML%20workspaces%3C%2FSTRONG%3E%3C%2FSPAN%3E.%20At%20compute%20attach%20step%2C%20a%20namespace%20can%20be%20specified%20for%20Kubernetes%20compute%20target.%20This%20can%20be%20helpful%20when%20different%20teams%20or%20projects%20share%20the%20same%20Kubernetes%20cluster.%20A%20single%20Kubernetes%20cluster%20can%20also%20be%20attached%20to%20multiple%20Azure%20ML%20workspaces%2C%20creating%20each%20compute%20target%20per%20Azure%20ML%20workspace%20to%20share%20the%20Kubernetes%20cluster%20compute%20resource.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-weight%3A%20normal%20!msorm%3B%22%3E%3CSTRONG%3ETargeting%20nodes%20for%20model%20deployment%3C%2FSTRONG%3E%3C%2FSPAN%3E.%20To%20target%20model%20deployment%20on%20specific%20nodes%2C%20for%20example%20CPU%20pool%20vs%20GPU%20pool%2C%20create%20an%20instance%20type%20CRD%20and%20specify%20a%20particular%20instance%20type%20to%20use%20in%20deployment%20YAML%20file%2C%20check%20out%20documentation%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAML-Kubernetes%2Fblob%2Fmaster%2Fdocs%2Finstance-type.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-weight%3A%20normal%20!msorm%3B%22%3E%3CSTRONG%3EAutomation%20with%20MLOps%20in%20hybrid%20cloud%3C%2FSTRONG%3E%3C%2FSPAN%3E.%20With%20Arc%20enabled%20ML%20%2C%20organizations%20can%20deliver%20on%20hybrid%20MLOps%20by%20using%20a%20mix%20of%20Azure-managed%20compute%20and%20customer-managed%20Kubernetes%20anywhere.%20For%20example%2C%20you%20can%20train%20model%20using%20powerful%20Azure%20CPUs%20and%20GPUs%2C%20and%20deploy%20the%20model%20on-premises%20for%20data%20security%20and%20latency%20requirements.%20Or%20you%20can%20train%20a%20model%20on-premises%20to%20be%20compliant%20with%20data%20sovereignty%20requirements%2C%20and%20then%20deploy%20and%20use%20the%20model%20in%20the%20cloud%20for%20broad%20application%20access.%20%26nbsp%3BFor%20a%20complete%20MLOps%20demo%20using%20AKS%20on%20Azure%20Stack%20HCI%20as%20Kubernetes%20on-premises%20solution%2C%20please%20visit%20Microsoft%20Ignite%20session%20%3CA%20href%3D%22https%3A%2F%2Fmyignite.microsoft.com%2Fsessions%2F27b4aeb9-ba89-403c-9cdf-4c629eb538c1%3Fsource%3Dsessions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--2138882832%22%20id%3D%22toc-hId--2116959503%22%3EGet%20started%20today%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3ETo%20get%20started%20with%20Azure%20Arc%20enabled%20ML%20for%20inference%2C%20please%20visit%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Famlarc%2Fdoc%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Arc%20enabled%20ML%26nbsp%3Bdocumentation%3C%2FA%3E%26nbsp%3B%20and%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAML-Kubernetes%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%20repo%3C%2FA%3E%2C%20where%20you%20can%20find%20detailed%20instructions%20to%20deploy%20the%20Azure%20ML%20extension%20on%20Kubernetes%2C%20and%20examples%20to%20use%20the%20Kubernetes%20compute%20target%20in%20Azure%20ML%20workspaces.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2888753%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22teaser.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F321755i88471AC5BDFC0A63%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22teaser.png%22%20alt%3D%22teaser.png%22%20%2F%3E%3C%2FSPAN%3E%E2%80%83%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2888753%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Machine%20Learning%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMachine%20Learning%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Nov 12 2021 11:28 AM
Updated by: