Why Azure Compute did not shut down automatically after I put laptop in sleep?

Sin Yee Teoh 5 Reputation points
2023-12-19T01:05:21.9366667+00:00

I have set the idle auto shutdown to 15 minutes. Then my laptop is on sleep mode, the lid has off. It has run for entire night without I realizing. Why?

User's image

User's image

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,336 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,604 questions
{count} votes

1 answer

Sort by: Most helpful
  1. dupammi 8,615 Reputation points Microsoft External Staff
    2023-12-19T02:24:01.72+00:00

    Hi @Sin Yee Teoh ,

    Thank you for reaching out to Microsoft Q&A with your question regarding the Azure Compute idle auto shutdown feature.

    The Azure Compute idle auto shutdown is designed to kick in when the compute instance is considered inactive based on certain conditions. These conditions include:

    1. No active Jupyter Kernel sessions
    2. No active Jupyter terminal sessions
    3. No active Azure Machine Learning runs or experiments
    4. No SSH connections
    5. No VS Code connections (VS Code sessions are autoterminated if no activity is detected for 3 hours)
    6. No custom applications running on the compute.

    I recommend reviewing the running processes and connections on your compute instance during the times when you expect it to be idle. Ensure that there are no active sessions or applications that might keep the instance active.

    For more information, please refer the documentation Azure Compute auto shutdown conditions.

    Thank you for understanding!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful.

    0 comments No comments

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.