2017-11-23 07:25 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0014107Cloud Instance SIG[All Projects] generalpublic2017-11-21 16:15
Summary0014107: AWS C5 instance types unavailable with marketplace AMIs
DescriptionThe CentOS 7 (and 6) HVM AMIs in the AWS marketplace do not yet support the recently released C5 instance family.
Steps To Reproduce1. Go to AWS Console/EC2 service
2. Click "Launch Instance"
3. Go to AWS Marketplace, search for "CentOS"
4. Select "CentOS 7 (x86_64) - with Updates HVM"
5. Try to choose types beginning with c5.
Instance types above are grayed out. Error is: "This instance type is not compatible with the selected AMI."
TagsNo tags attached.
Attached Files




TECK (reporter)

I confirm the issue, C5 instances have significant improvements and are cheaper, compared to C4.


jonnytronic (reporter)

This issue also occurs when attempting to change instance type. From c4.2xlarge to c5.xlarge: The instance configuration for this AWS Marketplace product is not supported.
Elastic Network Adapter ENA enabled
kernel 3.10.0-693.5.2.el7.x86_64

We were able to successfully change to a c5 last week, but this week no luck.


jonnytronic (reporter)

Today I was able to successfully change the instance type from a c4.xlarge to a c5.xlarge, but when starting the instance up I get the error: Error starting instances
Enhanced networking with the Elastic Network Adapter (ENA) is required for the 'c5.large' instance type. Ensure that your instance is enabled for ENA.

Can confirm ENA is enabled.


gorgonzolae (reporter)

I've also hit this. It'd be great to confirm if this is something to fix on the Marketplace side (I believe you need to tell AWS which instances are supported) or more technical. So far I haven't been able to create a CentOS7 image that boots on C5 instances (with NVMe root volume) but I've only been looking for a few hours.


hhsnow (reporter)

If you're rolling your own CentOS 7 AMI and are encountering issues booting it on the c5's (but works with other instance families), try running these two before taking the AMI:

yum install dracut-config-generic
dracut -f

From AWS support:
In order to have the correct initramfs to be created with your script I had to install a package named "dracut-config-generic". This package provides the configuration to turn off the host specific initramfs generation with dracut and generates a generic image by default. This package includes a single configuration file for dracut:

| $ cat /usr/lib/dracut/dracut.conf.d/02-generic-image.conf
| hostonly="no"

After I installed this package and rebuild the initramfs with "dracut -f" it started to boot normally on C5s. You can note the size difference between the initramfs files:

* Before the installation of "dracut-config-generic":
-rw------- 1 root root 19719505 Nov 13 16:28 initramfs-3.10.0-693.5.2.el7.x86_64.img

* After the installation of "dracut-config-generic":
-rw------- 1 root root 46942834 Nov 15 01:01 initramfs-3.10.0-693.5.2.el7.x86_64.img

-Issue History
Date Modified Username Field Change
2017-11-09 21:30 hhsnow New Issue
2017-11-12 00:37 TECK Note Added: 0030562
2017-11-14 19:54 jonnytronic Note Added: 0030573
2017-11-15 22:22 jonnytronic Note Added: 0030588
2017-11-21 14:59 gorgonzolae Note Added: 0030624
2017-11-21 16:15 hhsnow Note Added: 0030630
+Issue History