- Newest
- Most votes
- Most comments
When an EC2 instance is having trouble hibernating, it's often related to the hibernation configuration not being properly set up. Based on your description, you're experiencing issues with a RHEL 10 instance where hibernation attempts result in the instance freezing for a long time before rebooting normally without hibernation.
For troubleshooting hibernation issues on Linux instances, you should check the instance system log for messages related to hibernation. You can do this by connecting to the instance or using the get-console-output command. Look specifically for log lines from the hibinit-agent. If these log lines indicate a failure or are missing entirely, it suggests that hibernation was not properly configured at launch.
Common hibernation issues include:
- Insufficient disk space on the root volume (you would see a message like: "hibinit-agent: Insufficient disk space. Cannot create setup for hibernation. Please allocate a larger root device.")
- Incompatible AMI (not all AMIs support hibernation)
- Issues with the hibernation agent itself
Since you're using RHEL 10, which as you noted isn't officially supported for hibernation yet, the compatibility issues with ec2-hibinit-agent are likely the root cause. The agent is essential for configuring hibernation properly on Linux instances.
If your instance appears stuck in the stopping state after attempting hibernation, you may need to forcibly stop it. However, this won't resolve the underlying hibernation configuration issue.
As a workaround, since you mentioned RHEL 9.6 works perfectly with hibernation, you might want to continue using that version for any workloads that require hibernation until official support for RHEL 10 is available.
Sources
Troubleshoot Amazon EC2 instance hibernation - Amazon Elastic Compute Cloud
answered a year ago
Relevant content
asked a year ago
- AWS OFFICIALUpdated 10 months ago

Thank you (or whatever should be said to automatic bots... ;-) Since the machine is for testing, I'll love to use workarounds based on RHEL 10, even if it requires a technical effort. Is there any roadmap for RHEL 10 version of ec2-hibinit-agent?