EC2 instance hibernation prerequisites
The key prerequisites for EC2 instance hibernation are:
The instance must be enabled for hibernation during launch. You cannot enable hibernation on an existing instance.
The instance must be running one of the supported operating systems:
- Amazon Linux, Amazon Linux 2, Ubuntu, and Windows Server
- CentOS, Fedora, and Red Hat Enterprise Linux (on certain instance types)
The instance must have less than 150 GB of RAM, except for Windows instances which are supported up to 16 GB of RAM.
For Spot Instances, the Spot Instance request type must be
and you cannot specify a launch group.persistentThe
in the block device mapping must match the root device name associated with the AMI. You can use theDeviceNamecommand to find the root device name.Get-EC2ImageIf you have enabled encryption by default in the AWS Region, you can omit the
parameter in the block device mapping.Encrypted = $true
Comments
Post a Comment