- Newest
- Most votes
- Most comments
Hello,
Thank you for your post. I understand that you would like some clarification on why you can not enable hibernation for an EC2 instance after launch.
Please note that as discussed here [1] [2], enabling/disabling of hibernation on EC2 instances after launch is currently not supported.
Despite being unsupported at the moment, I would be more than happy to submit a feature request on your behalf to the service team for this issue.
As you have already pointed out, there is a workaround which can be useful for your case. You can create a custom AMI from the running instance and launch a new instance from that AMI and while launching this new instance, please select the stop-hibernate option. Please follow the steps here [3] [4] to create your own AMI and launch the instance using the same.
References:
[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html [2] https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/enabling-hibernation.html [3] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html [4] https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/Creating_EBSbacked_WinAMI.html#how-to-create-windows-ebs-ami
Relevant content
- asked 5 months ago
- asked a year ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 3 years ago
Do any of these limitations apply to your current EC2 instance? https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-hibernate-limitations.html