Switching t2.micro > t3.micro

Okay‚Ķ incoming boring post, so that i don’t go insane searching for this.

A. Verify you’ve got ena support:

[ec2-user ~]$ modinfo ena
filename:       /lib/modules/4.14.33-59.37.amzn2.x86_64/kernel/drivers/amazon/net/ena/ena.ko
version:        1.5.0g

B. Install AWS CLI

C. Figure out your instance ID:

$ aws ec2 describe-instances

C. Verify the current status of EnaSupport:

$ aws ec2 describe-instances --instance-ids INSTANCE_ID --query "Reservations[].Instances[].EnaSupport"

D. At this point you should probably stop the instance!

E. Enable ENA

$ aws ec2 modify-instance-attribute --instance-id INSTANCE_ID --ena-support

F. Verify it all went well:

$ aws ec2 describe-instances --instance-ids INSTANCE_ID --query "Reservations[].Instances[].EnaSupport" [     true ]

G. Switch to t3.micro in the AWS web frontend.

H. Start the instance. The driver should be vif:

$  ethtool -i eth0
driver: vif

Ref. #1#2