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.

<pre lang="bash">
modinfo ena

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

<pre lang="bash">
aws ec2 modify-instance-attribute --instance-id instance_id --ena-support