Cannot telnet or SSH to the ec2 instance after changing the Instance type of it

874 views Asked by At

When the instance type is changed , some nodes give this issue "cannot telnet or ssh", and after reverting to the previous Instance type again can telnet and ssh. This issue is mostly coming with the nodes with a magnetic volume as the root volume where the device name is xvd, no issues encounter with nodes having ssd volume as the root volume and device name is in nvme . What can be the reason and how to resolve this? Note : I am trying to change this from m4.large to m5.large

1

There are 1 answers

0
John Rotenstein On

You are upgrading from the M4 family to the M5 family.

I notice that the description says: "Requires HVM AMIs that include drivers for ENA and NVMe"

Therefore, you should run it as an M4, install the ENA drivers, and only then change to an M5.

See: Enabling enhanced networking with the Elastic Network Adapter (ENA) on Linux instances - Amazon Elastic Compute Cloud