What if SSH (or maybe even all TCP) access to a EC2 instance is lost?
How to restore root access in this case?
Is there a Linux console in EC2 (provided it runs Linux) similar to console in Digital Ocean?
What if SSH (or maybe even all TCP) access to a EC2 instance is lost?
How to restore root access in this case?
Is there a Linux console in EC2 (provided it runs Linux) similar to console in Digital Ocean?
First you should review the troubleshooting steps here to target common connectivity issues. If that doesn't work you can try to do the following:
authorized_keys
file (/home/<user>/.ssh/authorized_keys
) and verify it matches a working instance's authorized keys in the same location (should contain the public id of your AWS key pair).