Can't launch ec2 spot instance with hibernation for instance type c5.18xlar
I'm trying to launch a spot instance with the following settings:
AMI: ami-06f2f779464715dc5
Instance type: c5.18xlarge (72 vCPUs and 144 GiB of memory)
Storage: root EBS with 100 GiB and added an encryption key
Volume type: General Purpose SSD (gp2)
As far as I can tell the above settings meet all the requirements for hibernation interruption behavior as described in https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites but still I see the message: "Selected instance type does not currently support 'hibernate' interruption behavior."
Changing the instance type to be c5.9xlarge (36 vCPUs and 72 GiB of memory) with the same settings does allow me to choose hibernate as interruption behavior.
Any idea what is missing?
Thanks.
I missed the conversion between GiB to GB.
The memory limit in the description is listed in GB but the instance details are in GiB.
Hi,
The prerequisites for hibernating a Spot Instance are slightly different to the prerequisites for hibernating an On-Demand Instance.
For the instance RAM size:
- Spot Instances – must be less than 100 GB
- On-Demand Instances – must be less than 150 GB
There are different pages in the EC2 User Guide that describe the hibernation prerequisites for Spot Instances and On-Demand Instances.
- Hibernation prerequisites for Spot Instances: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances
- Hibernation prerequisites for On-Demand Instances: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites
Kind regards,
Marilyn
Relevant questions
Resize EC2 Spot Instances
asked 5 months agoCan't launch ec2 spot instance with hibernation for instance type c5.18xlar
asked a year agoec2 (Spot instances) going from Runing - Initializing to Terminated
asked 2 months agoSwitch an EC2 instance from on-demand to spot pricing
asked 5 months agoSpot Fleet Instance could not be stopped
asked 22 days agog4dn in Frankfurt ? --> Max spot instance count exceeded
asked 5 months agoECS + Spot Integration - Multiple ASGs vs SpotFleet
Accepted Answerasked 4 years agoEC2 Launch Template doesn't start Spot Instance (but works for on-demand instance)
asked 6 months agoWhat happen if no spot instance are available ?
asked a month agoUnable to remove instance type from launch template
asked 5 months ago