Amazon Web Services → Microsoft Azure
Azure equivalent of Amazon EC2 hibernation
EC2 hibernation maps to Azure VM hibernation.
About Amazon EC2 hibernation
| Provider | Amazon Web Services |
|---|---|
| Status | Generally available |
| What it is | Suspend-to-disk for EC2. RAM is saved to the encrypted EBS root volume and restored on start, so warmed-up apps resume quickly. |
| Documentation | docs.aws.amazon.com |
| Pricing | Official pricing page |
Azure mappings (1)
| Capability | Azure equivalent | Match |
|---|---|---|
| VM hibernation | Azure VM hibernation | Direct match |
Virtual machines & images(1)
VM hibernation Direct match
EC2 hibernation maps to Azure VM hibernation. Both save RAM to the OS disk and charge only for storage (and IPs) while hibernated.
- Both support only certain instance types or sizes, OS versions, and memory sizes. Check the support matrix on each side.
- On EC2, the root EBS volume must be encrypted and large enough to hold RAM, and hibernation must be enabled at launch. On Azure, hibernation must be enabled on the VM, and you must trigger it through the platform (portal, CLI, or API). Hibernating from inside the guest OS keeps the VM billed.
- EC2 Spot Instances can use hibernate as the interruption behavior. Azure Spot VMs evict with Deallocate or Delete instead.