Why do I need to restart my VM frequently?

Yiming Wu 20 Reputation points
2023-05-08T05:51:23.05+00:00

Hi,

I just registered my Azure account a few day ago, and try to learn Azure. So I am using free tier. I created a VM, why should I restart my VM frequently? Because frequent no response or lost connection frequently after I ssh to my VM. Can you help to fix it? or any suggestions to me?

Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
351 questions
{count} votes

Accepted answer
  1. vipullag-MSFT 26,301 Reputation points
    2023-05-08T08:31:20.8366667+00:00

    Hello Yiming Wu

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Restarting your VM frequently is not a normal practice and it may not solve the issue you are experiencing.

    We have noticed few other customers reporting similar issue.

    One reason is because you using too small VM for your workload and are getting issues/poor performance due to it being overloaded.  This is especially true with new users/trial tier VMs.

    There could be several reasons why you are experiencing no response or lost connection when you SSH to your VM. Two possible reasons, Either your VM is not configured correctly or could be an issue with your network connection.

    To troubleshoot this issue, please check below mentioned and see if that helps.

    1. Check if your VM is running and responding to pings.
    2. Check if your network security group (NSG) is configured correctly for SSH.
    3. Check if your firewall is blocking the connection from where you are trying SSH.

    If everything mentioned is setup correctly and if you are still facing issues, you can try to investigate the logs to further determine the root cause.

    Also, try to deploy VM in another region to see if you are facing this issue. Try to deploy Windows VM and cross check once.

    If you see still see the same issue, then I would recommend to contact Azure Support to get to the root cause.

    Hope this helps.

    If you need further help on this, tag me in a comment.

    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.