Hibernate Azure VM

The A Man 71 Reputation points
2022-03-06T20:35:39.49+00:00

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
    2023-11-07T12:08:09.0733333+00:00
    1 person found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Janne Kujanpää 181 Reputation points
    2022-12-07T15:00:02.597+00:00

    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
    2022-03-09T04:17:06.007+00:00

    @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:

    https://feedback.azure.com/d365community/forum/ec2f1827-be25-ec11-b6e6-000d3a4f0f1c

    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
    2022-06-03T16:31:04.673+00:00
    1 person found this answer helpful.

  4. Sascha Müller 1 Reputation point
    2023-11-09T09:07:29.8033333+00:00

    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