ec2instances.info icon indicating copy to clipboard operation
ec2instances.info copied to clipboard

Data needed for instance types that require ENA to be enabled on the AMI

Open cristim opened this issue 5 years ago • 3 comments

It turns out some recent instance types (such as T3) fail to launch if the AMI doesn't support ENA.

InvalidParameterCombination: Enhanced networking with the Elastic Network Adapter (ENA) is required for the 't3.micro' instance type. Ensure that you are using an AMI that is enabled for ENA.

It would be nice to figure out from some documentation(didn't look for it yet but seems to be missing from the pricing API data) which are all these and to have them added to the database and exposed through the website UI.

cristim avatar Jan 19 '19 22:01 cristim

Looks like the instance types are mentioned in plaintext at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html for each type of Enhanced Networking implementaiton mechanism.

I looked at that HTML and looks relatively messy to parse, I'm now checking the pricing API if it contains this information.

cristim avatar Jan 20 '19 20:01 cristim

@cristim is this issue done?

https://github.com/powdahound/ec2instances.info/blob/9bf3765ff23fd11a0a6fae9c1b8b69f0ca5fb6c5/in/index.html.mako#L147 https://github.com/powdahound/ec2instances.info/issues/415

PatMyron avatar Jun 26 '19 23:06 PatMyron

Note that having ENA enhanced networking enabled on an image (necessary for m5.*, for instance) apparently means that the image will launch but will fail to bring up SSH and other networking on some types (m3.*, for instance). This is not clearly discussed in any Amazon docs I've yet been able to locate, and would be quite valuable here.

Basically, there's an invisible three-way radio button -- ENA enhanced networking, VF enhanced networking, or un-enhanced networking. Turning on ENA blocks VF; turning on VF blocks ENA; obviously, turning on either ENA or VF blocks un-enhanced.

I have not found any clear statements about types which do not support either VF or ENA enhanced networking, which require un-enhanced networking; that list must apparently be inferred by the lack of mention in the lists below.

According to the self-service Marketplace Listing forms, these types (which do not necessarily include all sizes of a given family) require ENA (this list is not necessarily exhaustive; it's only those types which are selected on the form I'm currently looking at): g3s.xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.18xlarge

According to the docs, these types support ENA: A1, C5, C5d, C5n, F1, G3, H1, I3, I3en, m4.16xlarge, M5, M5a, M5ad, M5d, P2, P3, R4, R5, R5a, R5ad, R5d, T3, T3a, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, X1, X1e, z1d. Apparently, that means those types do not support VF nor un-enhanced.

According to the docs, these types support VF: C3, C4, D2, I2, M4 (excluding m4.16xlarge), and R3. Apparently, that means those types do not support ENA nor un-enhanced.

TallTed avatar Jul 25 '19 21:07 TallTed