Enable hibernation as an additional stop behavior for your EC2 instances backed by Amazon EBS in order to reduce the time it takes for these instances to return to service at restart. This feature can be useful for certain application workloads, as hibernation stops the EC2 instance and saves the contents of the instance's RAM memory to the root volume. Hibernation feature is only available for Amazon EC2 On-Demand and Reserved Instances.
This rule resolution is part of the Cloud Conformity Security & Compliance tool for AWS
Your applications can take tens of minutes to preload or warm up when relying on caches and other RAM memory-centric components, and this service delay can force you to over-provision in case you need incremental compute capacity very quickly. With EC2 hibernation enabled, you can maintain your Amazon EC2 instances in a "pre-warmed" state so these can get to a productive state faster.
Note: Hibernation is currently supported by EC2 instances running Amazon Linux AMI version 1, that use the following instance types: M3, M4, M5, C3, C4, C5, R3, R4 and R5. Also, to make use of Hibernation feature, the EBS root volume attached to the instance must be encrypted to ensure protection of sensitive data in memory as this gets copied to the root volume.
To determine if Hibernation feature is enabled for your EBS-backed EC2 instances, perform the following actions:
Amazon EC2 does not currently support enabling hibernation on an existing instance (running or stopped). To hibernate your instance, make sure that prerequisites are met. To enable the feature, you have to re-launch the EC2 instance and configure hibernation at launch. To re-create the necessary AWS EC2 instance with hibernation enabled, perform the following actions: