While creating compute instance on Azure ML workspace I receive this error "Desired number of dedicated nodes could not be allocated"

Christian HUARD 40 Reputation points
2024-03-12T08:50:16.3033333+00:00

Hello

I have a Azure ML workspace in "East US" using only private IP addresses. Whenever I request a new compute instance I receive the below error. I tried with the studio web page and powershell. Both have the same outcome.

"Desired number of dedicated nodes could not be allocated"

Here the powershell command:

az ml compute create --name myinstanceaz4 --size Standard_D2 --identity-type SystemAssigned --type ComputeInstance --resource-group rg --workspace-name labdatascripting3 --vnet-name vnet --subnet newsubnet

I took a look on Standard_D2 compute quota and I don't see any issue on it.

Could you help ?

Thanks!

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,918 questions
{count} votes

Accepted answer
  1. AshokPeddakotla-MSFT 34,016 Reputation points
    2024-03-12T12:16:58.5366667+00:00

    Christian HUARD Greetings!

    I have a Azure ML workspace in "East US" using only private IP addresses. Whenever I request a new compute instance I receive the below error. I tried with the studio web page and powershell. Both have the same outcome. "Desired number of dedicated nodes could not be allocated"

    This error message usually occurs when there are not enough resources available in the region to fulfill your request.

    Since you are using only private IP addresses, it is possible that the issue is related to the virtual network configuration. Please make sure that your virtual network is properly configured to allow the creation of compute instances. You can check the virtual network configuration by going to the Azure portal and navigating to your virtual network.

    Also, please make sure that you have enough quota for the instance size in the region where you are trying to create the compute instance. You can check your quota by going to the Azure portal and navigating to the "Usage + quotas" section of your subscription.

    It's also worth noting that when you create a compute instance in a workspace with a private endpoint, the compute instance and compute cluster must be in the same Azure region as the workspace.

    please check the Limitations when Configuring a private endpoint for an Azure Machine Learning workspace

    I hope this helps. Do let know if you have any further questions or concerns.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.