Azure VM suddenly became unavailable and unreachable

Imran Shah 0 Reputation points
2024-10-07T08:26:23.67+00:00

Hello There,

  1. I've been using Azure VM for about a year now in production without any issues until last few days
  2. My VM suddenly becomes unavailable and unreachable via SSH. All the sites on it fail to work
  3. Azure VM dashboard reports the status as "running".
  4. Activity logs do not show any issues
  5. After manually restarting, sometimes stopping/starting, everthing works as normal
  6. This has happened 3 times in last couple of days.

What could be the reason? Please guide.

Thank you.

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

1 answer

Sort by: Most helpful
  1. Nikhil Duserla 2,985 Reputation points Microsoft Vendor
    2024-10-07T13:12:29.8266667+00:00

    Hi @Imran Shah,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    We understand from your query that you are experiencing an issue while trying to connect to the Virtual Machine and are receiving an error.

    Try changing the network ISP and attempt to connect to the VM rule out any ISP-related issues.

    Please make sure that you are trying to connect azure VM with username & password (must Case sensitive) that you specified when you created the virtual machine.

    Verify that the VM's firewall is not blocking SSH traffic. Try connecting to the VM using a different SSH client or from a different location.

    Please check the status of the VM Agent? If you're agent status is not ready, please troubleshoot by going through this: https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/linux/linux-azure-guest-agent

    We would like to inquire if you have made any recent changes.

    If the answer is helpful, please click "Accept Answer" and "Upvote it."

    If you have any further queries, do let us know.


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.