How to enable ENA on an EC2 Instance

Step 1: Verify if the ENA is already enabled on the EC2 Instance by running the below command:

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

If ENA is not enabled, there will be no output from the above command.

Step2: Stop the EC2 Instance.

Step3: From your local computer, run the below command to enable ENA.

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

Step4: Verify to make sure the ENA is enabled.

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

If ENA is enabled, the output will be ‘True’.

Step5: Start the EC2 Instance.

See also  How to get Date from Timestamp in Redshift Database