EC2 instance hibernation prerequisites

The key prerequisites for EC2 instance hibernation are:

  1. The instance must be enabled for hibernation during launch. You cannot enable hibernation on an existing instance.

  2. 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)
  3. The instance must have less than 150 GB of RAM, except for Windows instances which are supported up to 16 GB of RAM.

  4. For Spot Instances, the Spot Instance request type must be 

    persistent
     and you cannot specify a launch group.

  5. The 

    DeviceName
     in the block device mapping must match the root device name associated with the AMI. You can use the 
    Get-EC2Image
     command to find the root device name.

  6. If you have enabled encryption by default in the AWS Region, you can omit the 

    Encrypted = $true
     parameter in the block device mapping.

Comments

Popular posts from this blog

Difference b/w General-purpose and a Directory bucket in Amazon S3

How to reduce the EBS snapshots storage cost

Difference between full snapshots and incremental snapshots

Snapshot storage tier types and cost difference

Where the EBS snapshot stores and snapshot charges

Key features of Amazon S3

Pros and cons of On-Demand, Reserved, Spot and Saving Plans EC2 instances

How burstable CPU performance works in T series EC2 instances

Differences between an IAM User and Role

AWS Storage types