Can't launch ec2 spot instance with hibernation for instance type c5.18xlar

0

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.

berzon
feita há 3 anos380 visualizações
2 Respostas
0

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.

berzon
respondido há 3 anos
0

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.

Kind regards,
Marilyn

AWS
respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas