Reputation:
Whether an auto shutdown policy can be set to turn off Notebook VM?.Is this need to shutdown the VM Notebook by the user?
Upvotes: 4
Views: 2628
Reputation: 501
Now there is a new Auto-Shutdown preview feature for the compute instance in Azure Machine Learning Service. More details here
Make sure to enable this preview feature as in below image.
Then check the compute instance/schedules option to see the new feature as below.
Note also we can control the auto-shutdown time on a subscription level using a built-in policy. details here
Upvotes: 0
Reputation: 21
In the meantime....a team of MSFT architects developed the following Azure Samples solution to fill this gap:
https://github.com/Azure-Samples/AzureMLResourceGovernance
It uses Logic Apps to orchestrate Container Instances to perform Azure ML resource governance related tasks (such as scheduled shutdowns).
Upvotes: 2
Reputation: 3000
Azure Machine Learning Compute Instance Auto shutdown is now in private preview - contact your local Microsoft representative to have it enabled.
Upvotes: 1
Reputation: 2754
Currently Auto shutdown is on roadmap, Workaround While you can see and change settings for the underlying IaaS VM,if using Azure VM Auto-shutdown (also Automation Runbook) is to start the VM from the Azure VM resource blade first, then restart in the Azure ML Workspace UI.
Azure Notebooks starts the underlying virtual machine whenever you run a notebook or other file. The server automatically saves files and shuts down after 60 minutes of inactivity. You can also stop the server at any time with the Shutdown command (keyboard shortcut: h). Ref: https://learn.microsoft.com/en-us/azure/notebooks/configure-manage-azure-notebooks-projects.
Upvotes: 1
Reputation: 479
Auto-shutdown is currently not enabled for Compute Instances or Notebook VM but it is on our road map. Details will be provided in Azure Updates when this feature is in preview, in development, or becomes available. Thanks.
Upvotes: 1