How to load the ena driver on Amazon AWS?

How to load the ena driver on Amazon AWS?



I'm trying to load the ena driver on a Ubuntu VM.



According to the documentation, my VM has the vif low-performance driver:


vif


ubuntu@ip-172-31-14-190:~$ ethtool -i eth0
driver: vif
version:
firmware-version:
expansion-rom-version:
bus-info: vif-0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no



However, I have already compiled and loaded the ena driver as explained in the AWS docs and in the driver docs:


ubuntu@ip-172-31-14-190:~$ lsmod | grep ena
ena 86016



Am I missing any steps here?




1 Answer
1



If either aws ec2 describe-instances --instance-ids instance_id --query "Reservations.Instances.EnaSupport" or aws ec2 describe-images --image-id ami_id --query "Images.EnaSupport" (where instance_id is your (i-e04566365f208b6584) instance id and ami_id is your AMI's ID (ami-6365f208)) doesn't return "True" something is not marked as supporting ENA.


aws ec2 describe-instances --instance-ids instance_id --query "Reservations.Instances.EnaSupport"


aws ec2 describe-images --image-id ami_id --query "Images.EnaSupport"


instance_id


i-e04566365f208b6584


ami_id


ami-6365f208



If it's your instance. Stop it, and run aws ec2 modify-instance-attribute --instance-id instance_id --ena-support to enable support and restart it. If it's your AMI, you'll either have to select an AMI that already has ENA support, or make your own from an instance that's been tagged (per above) as supporting ENA.


aws ec2 modify-instance-attribute --instance-id instance_id --ena-support



If your AMI already supported ENA, after running the above command, start it back up and ethtool -i eth0 should show support. If your AMI was the problem, you'll need to launch a fresh instance from an AMI that has ENA support.


ethtool -i eth0



https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena.html#enhanced-networking-ena-linux



Note that even though it says the AMI is optional, I've found that not to be the case. An AMI with support was required for me.



Thanks for contributing an answer to Stack Overflow!



But avoid



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Crossroads (UK TV series)

ữḛḳṊẴ ẋ,Ẩṙ,ỹḛẪẠứụỿṞṦ,Ṉẍừ,ứ Ị,Ḵ,ṏ ṇỪḎḰṰọửḊ ṾḨḮữẑỶṑỗḮṣṉẃ Ữẩụ,ṓ,ḹẕḪḫỞṿḭ ỒṱṨẁṋṜ ḅẈ ṉ ứṀḱṑỒḵ,ḏ,ḊḖỹẊ Ẻḷổ,ṥ ẔḲẪụḣể Ṱ ḭỏựẶ Ồ Ṩ,ẂḿṡḾồ ỗṗṡịṞẤḵṽẃ ṸḒẄẘ,ủẞẵṦṟầṓế