why my virtual machine auto shuts down every now and then?

KevinCow-8470 20 Reputation points
2024-03-13T18:32:33.7433333+00:00

With my Azure subscription I have a Virtual Machine set up for trial and prepare for converting our office system to the cloud hosting.

During the testing we let the virtual machine run as a aspx dotnet web server and a remote desktop PC. We usually test run during the day time and let the machine continue running as web server. However, it is often stopped at night and we have to restart again in the next morning. For sure we have the "Hibernation" set to Disabled, and the "Auto-shutdonw" set to Not enabled. But it is still shuts down every night. What I can do to correct this problem?

Kevin

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,586 questions
0 comments No comments
{count} votes

Accepted answer
  1. SunnyG 75 Reputation points
    2024-03-13T19:17:45.79+00:00

    Did you mark it as a Spot instance while creating the VM? can you check in the acitivity logs if its shuts down at roughly the same time or random times & what service is stopping it?

    Also you can redeploy your VM. When you redeploy a VM, Azure will shut down the VM, move the VM to a new node within the Azure infrastructure, and then power it back on, retaining all your configuration options and associated resources. It resolves the issues on your VM if they are due to a problematic physical host.

    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/redeploy-to-new-node-windows


0 additional answers

Sort by: Most helpful