From 91cd1cd2792ac84a8a5fa6858879ffafae032b9b Mon Sep 17 00:00:00 2001 From: jain-ank <83984829+jain-ank@users.noreply.github.com> Date: Tue, 14 May 2024 12:22:28 -0700 Subject: [PATCH] Update hibernate-resume.md Removed limitations --- articles/virtual-machines/hibernate-resume.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/articles/virtual-machines/hibernate-resume.md b/articles/virtual-machines/hibernate-resume.md index 79e47183144ca..c7f79e01fb123 100644 --- a/articles/virtual-machines/hibernate-resume.md +++ b/articles/virtual-machines/hibernate-resume.md @@ -4,7 +4,7 @@ description: Overview of hibernating your VM. author: mattmcinnes ms.service: virtual-machines ms.topic: how-to -ms.date: 04/10/2024 +ms.date: 05/14/2024 ms.author: jainan ms.reviewer: mattmcinnes ms.custom: devx-track-azurecli, devx-track-azurepowershell @@ -56,26 +56,24 @@ VM sizes with up to 112-GB RAM from the following GPU VM series support hibernat - [NVadsA10v5-series](../virtual-machines/nva10v5-series.md) ### General limitations -- You can't enable hibernation on existing VMs. -- You can't resize a VM if it has hibernation enabled. +- You can resize VMs that have hibernation enabled, but not when the VM is in a *Hibernated* state. The VM should either be in a *Running* or *Stopped* state. - Hibernation is only supported with Nested Virtualization when Trusted Launch is enabled on the VM - When a VM is hibernated, you can't attach, detach, or modify any disks or NICs associated with the VM. The VM must instead be moved to a Stop-Deallocated state. - When a VM is hibernated, there's no capacity guarantee to ensure that there's sufficient capacity to start the VM later. In the rare case that you encounter capacity issues, you can try starting the VM at a later time. Capacity reservations don't guarantee capacity for hibernated VMs. - You can only hibernate a VM using the Azure portal, CLI, PowerShell, SDKs and API. Hibernating the VM using guest OS operations don't result in the VM moving to a hibernated state and the VM continues to be billed. -- You can't disable hibernation on a VM once enabled. ### Azure feature limitations - Ephemeral OS disks - Shared disks - Availability Sets -- Virtual Machine Scale Sets Uniform +- Virtual Machine Scale Sets Uniform is not supported. Virtual Machine Scale Sets Flex is supported. - Spot VMs - Managed images - Azure Backup - Capacity reservations ## Prerequisites to use hibernation -- Hibernation must be enabled on your VM while creating the VM. +- Hibernation must be enabled on your VM. - A persistent OS disk large enough to store the contents of the RAM, OS and other applications running on the VM is connected. - The VM size supports hibernation. - The VM OS supports hibernation. @@ -104,10 +102,10 @@ Refer to the [Linux hibernation troubleshooting guide](./linux/hibernate-resume- - Once a VM is placed in a hibernated state, you aren't charged for the VM, just like how you aren't charged for VMs in a stop (deallocated) state. You're only charged for the OS disk, data disks and any static IPs associated with the VM. - Can I enable hibernation on existing VMs? - - No, you can't enable hibernation on existing VMs. You can only enable hibernation at the time of creating a VM. + - Yes, you can enable hibernation on existing VMs. - Can I resize a VM with hibernation enabled? - - No. Once you enable hibernation on a VM, you can't resize the VM. + - Yes, you can resize a VM with hibernation enabled. You cannot resize the VM if its in a *Hibernated* state. Move the VM to either a *Running* or *Stopped* state before resizing. - Can I modify a VM once it is in a hibernated state? - No, once a VM is in a hibernated state, you can't perform actions like resizing the VM and modifying the disks. Additionally, you can't detach any disks or networking resources that are currently attached to the VM or attach new resources to the VM. You can however stop(deallocate) or delete the VM if you want to detach these resources. @@ -117,8 +115,6 @@ Refer to the [Linux hibernation troubleshooting guide](./linux/hibernate-resume- - When you hibernate a VM, the memory contents are first persisted in the OS disk, then the VM hibernates. You can't resize VMs in a hibernated state, nor detach/attach disks and networking resources to the VM. -- Can you disable hibernation? - - No, you can't disable hibernation on a VM. - Can I initiate hibernation from within the VM? - To hibernate a VM you should use the Azure portal, CLI, PowerShell commands, SDKs and APIs. Triggering hibernation from inside the VM still results in your VM being billed for the compute resources.