|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0014107||Cloud Instance SIG||[All Projects] general||public||2017-11-09 21:30||2017-11-21 16:15|
|Summary||0014107: AWS C5 instance types unavailable with marketplace AMIs|
|Description||The CentOS 7 (and 6) HVM AMIs in the AWS marketplace do not yet support the recently released C5 instance family.|
|Steps To Reproduce||1. 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."
|Tags||No tags attached.|
|I confirm the issue, C5 instances have significant improvements and are cheaper, compared to C4.|
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
We were able to successfully change to a c5 last week, but this week no luck.
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.
|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.|
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
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
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
|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|