Skip to content

Commit

Permalink
howto add aks
Browse files Browse the repository at this point in the history
  • Loading branch information
hmeiland committed Jul 6, 2024
1 parent 1cc58b2 commit ee642f7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions deploy/aks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Azure Machine learning can use e few compute back-ends. While AMLHPC typically uses the Batch based Compute clusters, the downside of this is the requirement for AML specific quota. Another option is to use Kubernetes clusters, for which AKS is also a valid target. Here you can use your normal subscription quota.

Here is a quick guide for setting up a small AKS cluster and connecting it to Azure Machine Learning:
```
# create resource group
az group create --name demo-aks --location westeurope
# create AKS, with managed identity and specific VM type
az aks create -g demo-aks -n aml-aks --enable-managed-identity -s Standard_D16as_v5
# install the AML extension to allow AML to use the AKS cluster
az k8s-extension create --name amlaksext --extension-type Microsoft.AzureML.Kubernetes --config enableTraining=True enableInference=True inferenceRouterServiceType=LoadBalancer allowInsecureConnections=True InferenceRouterHA=False --cluster-type managedClusters --cluster-name aml-aks --resource-group demo-aks --scope cluster
```

0 comments on commit ee642f7

Please sign in to comment.