How to determine the precise reasons why two instance types are incompatible?

0

Attempting to change from c4.8xlarge to hpc6a.48xlarge but the option for hpc6a.48xlarge is not available on the "Change instance type" page, implying that the two types are incompatible.

I have gone over the relevant documentation, [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html](Compatibility for changing the instance type), but as far as I can tell the two instance types should be compatible.

The AWS console knows something that it is not revealing to the user. How does one determine precisely what the issue is?

Al

AJ
已提問 2 年前檢視次數 341 次
1 個回答
2
已接受的答案

Make sure the instance type is available in the availability zone:

aws ec2 describe-instance-type-offerings     \
--location-type availability-zone     \
--filters Name=location,Values=us-east-2b Name=instance-type,Values=hpc6a.48xlarge     \
--region us-east-2

For instance in Ohio, it is only available in us-east-2b.

profile pictureAWS
專家
kentrad
已回答 2 年前
profile pictureAWS
專家
已審閱 2 年前
  • @kentrad Should I assume that the availability zones for an instance does not change often and if I want to use that instance type now then I need to move to that region?

  • @kentrad Thanks, save me a lot of time. That page should probably be updated to check the availability zone.

  • An EC2 instance is deployed to a subnet and a subnet is deployed to an availability zone. So, the EC2 instance does not change AZs. To move an instance, you will need to do a snapshot and spin up a new instance in the different subnet/AZ using the snapshot. Or if you are moving to another region, copy the snapshot to the other region and create a new instance in the new region/az/subnet. But check the AZs of your current region to see if that instance type is available.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南