Daily Shutdowns on Azure VM – Auto-Shutdown Disabled

Ham C 0 Reputation points
2024-11-12T06:50:42.48+00:00

Hello Community,

We’ve been experiencing an issue with one of our Azure VMs shutting down automatically once per day. We’ve already checked the Auto-Shutdown settings, and they are not enabled, so it doesn't appear to be a scheduled shutdown from that feature.

Has anyone encountered a similar issue or could provide insight into other possible causes for daily shutdowns? Any guidance on where to look or how to diagnose this further would be greatly appreciated!

Best regards,
Hamza,

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,134 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 26,756 Reputation points
    2024-11-12T07:23:26.7333333+00:00

    Hi @Ham C

    Thank you for reaching out with your query on Microsoft learn Q&A. This issue needs a bit of investigation/diagnosis .

    Possible Causes:

    Scheduled Maintenance: Azure performs regular maintenance on its infrastructure, which can sometimes cause VMs to be temporarily shut down.

    Resource Health Issues: Check Azure Resource Health for any alerts or issues related to your VM.

    High CPU Usage: Excessive CPU usage or resource constraints might trigger automatic shutdowns.

    Security Policies: Security policies or compliance requirements might be causing the shutdowns.

    Software or OS Issues: Ensure that there are no software or operating system-level issues causing the shutdowns.

    Steps to Diagnose:

    Check Activity Logs: Review the activity logs in the Azure portal to see if there are any events or alerts related to the shutdowns.
    Event Viewer Logs: Review the activity logs in the windows event viewer if this is a windows machine.

    Resource Health: Use Azure Resource Health to get detailed information about the health of your VM and any underlying issues.

    Monitor Performance Metrics: Use Azure Monitor to track performance metrics and identify any unusual activity or resource usage spikes.

    If the issue persists, consider opening a support ticket with Azure support for further assistance.
    I hope these suggestions help you identify the root cause of the issue. If you need more detailed guidance or have any other questions, feel free to ask!

    If I have answered your question, please accept this as answer as a token of appreciation.

    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.