• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

support

AWS EC2 ENA Support

May 7, 2021

AWS has machine types that require ENA Support. You can run AWS CLI to find out if instance is ENA enabled.

aws ec2 describe-instances \
--instance-id i-xxxxxxxxxxxxxxxxx \
--profile default \
--region us-east-1 \
--query 'Reservations[].Instances[].EnaSupport'

aws ec2 describe-instances \ --instance-id i-xxxxxxxxxxxxxxxxx \ --profile default \ --region us-east-1 \ --query 'Reservations[].Instances[].EnaSupport'

Login to the instance and verify.

sudo lspci | grep -i Amazon

sudo lspci | grep -i Amazon

List driver details.

modinfo nvme

modinfo nvme

Verify modules loaded at startup.

lsmod | grep nvme
lsmod | grep ena

lsmod | grep nvme lsmod | grep ena

If ENA drivers are missing, install them.

yum install pciutils

yum install pciutils

Filed Under: Cloud Tagged With: aws, cli, describe-instances, ec2, ena, support

AWS Enable Enhance Network Support

October 13, 2020

When changing machine types, you may be asked to enable the latest ENA driver for Enhanced Network Support on an Amazon EC2 instance. There are several instructions depending on the Linux OS flavor. Here are the instructions to enable. In some cases, you may need to rebuild the kernel module. To verify that the ena module is installed, use the modinfo command as shown in the following example.

modinfo ena

modinfo ena

You also may have to enable the enhanced networking attribute on the instance.

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

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

Filed Under: Cloud Tagged With: aws, ec2, ena, enable, enhanced, modinfo, network, support

  • Home
  • About
  • Archives

Copyright © 2023