I need to be in complete control of VM

John Aschenbrenner 1 Reputation point
2020-08-30T18:04:47.38+00:00

I have set up a VM that I need to run 24/7. I want to control the updates to the machine and will do this on a weekly basis. Is there a policy that allows me to do this? I have a dedicated application running on the machine and it needs to be up and running all the time.

Yesterday I set it up and had everything configured as needed. This morning, the VM appears to have been re-booted and my application needed to be restarted and re-configured. This is not acceptable.

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

4 answers

Sort by: Most helpful
  1. Didier3001 986 Reputation points Microsoft Employee
    2020-08-31T07:21:27.043+00:00

    Hi @John Aschenbrenner

    We try as much as possible not to reboot any customer's VM. The amount of time your VM is available is defined with the SLA.

    In the article below, we explain what we do in the background to reduce the disruption and how you can get notified up to 35 days in advance when we need to reboot your VM.
    https://learn.microsoft.com/en-us/azure/virtual-machines/maintenance-notifications

    Keep in mind that some operations that you do, might also restart the VM (resizing the VM for example)

    Regards,
    Didier3001

    1 person found this answer helpful.
    0 comments No comments

  2. Anonymous
    2020-08-30T18:13:17.453+00:00

    Typically processes that need to run continuous are designed and configured to run as a service, so I'd ask the application developer for assistance with this. Otherwise something here might help.
    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/sc-create

    The other option is to configure automatic logon
    https://support.microsoft.com/en-us/help/324737/how-to-turn-on-automatic-logon-in-windows

    and use a script or Task Scheduler to start up your application.

    --please don't forget to Accept as answer if the reply is helpful--


  3. Anonymous
    2020-08-30T18:55:30.223+00:00

    Then I'd try the other option I mentioned. Otherwise I'd suggest creating a support ticket here.
    https://azure.microsoft.com/en-us/support/create-ticket/

    or you can also provide feedback here on uservoice.
    https://feedback.azure.com/forums/216843-virtual-machines

    --please don't forget to Accept as answer if the reply is helpful--


  4. Anonymous
    2020-08-30T21:00:02.077+00:00

    Sounds good, but I think in the end the burden is on the end user to make sure critical processes are running post windows update or other virtual machine maintenance.

    --please don't forget to Accept as answer if the reply is 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.