Hibernate Azure VM

The A Man 71 Reputation points

Why doesn't Azure support a hibernation state for VMs? AWS EC2 instances have supported it for years. Is this feature on the roadmap? I'd be very happy to learn that Azure is working on supporting hibernation. Even happier to learn that it would work with GPU-enabled VMs too.

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

Accepted answer
  1. George Ollis 86 Reputation points
    1 person found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Janne Kujanpää 181 Reputation points

    There has been preview feature since stable/2021-07-01 for hibernation:

    Sadly there is other documentation or preview announcement for this feature. Azure SDK for Java ticket is kind of only documentation I found: https://github.com/Azure/azure-sdk-for-java/issues/25497


    Also, VM has three states: running, stopped and deallocated and even more transient states: https://learn.microsoft.com/en-us/azure/virtual-machines/states-billing

    2 people found this answer helpful.

  2. vipullag-MSFT 25,041 Reputation points

    @The A Man

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

    Firstly, apologies for the delay in responding.

    As you are aware currently there is no support for hibernation in Azure Virtual Machines. Azure VM's have only 2 states (i.e. start and stop) modes.
    Hopefully that feature might be available in near future, however we do not have any ETA about the same.

    I request you to submit this feature request on user voice link below:


    Also, I found this work around on serverfault here. This is a old thread (I have not tested this approach), you can check if that helps.

    Hope that helps.
    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

  3. Javier Negro Dieste 6 Reputation points
    1 person found this answer helpful.

  4. Sascha Müller 1 Reputation point

    Is there a way to setup that hybernate will take effect if VM is 30 Min inactive?

    With Costs stopped on hybernation.

    0 comments No comments