Problems with the creation of a compute instance using azure cli

Rodrigo Barraza 16 Reputation points
2022-02-18T13:21:02.707+00:00

Hello, I am introducing the concept of MLOps and right now I have a problem when I create a compute instance from devops. In order to create the compute instance from a devops pipeline, I use the azure cli to do this with the following code:

az ml computetarget create computeinstance -g $(RESOURCE_GROUP) -w $(WORKSPACE_NAME) -n $(amlcompute.instanceName) -s $(amlcompute.instancevmSize) -v

175810-ins3.png

the command creates the compute instance, but I can't use the ML notebooks as the compute doesn't appear to be available. I have searched the web and everywhere they use the same cli code to create the compute instance.

175829-ins1.png
175847-ins2.png

I would appreciate knowing why it doesn't work this way

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

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.