How to recover SSH access to EC2 instance?

0

Hello, recently I set up the Hide.me VPN service in one of my EC2 instances, after starting the service I got disconnected from my SSH instance and I couldn't enter anymore. The instance seems to be up and running in the UI but I cannot access to it. Any help is much appreciated.

asked a year ago554 views
1 Answer
0

Here are the steps to gain access:

  1. Stop broken instance
  2. Detach broken instance root volume
  3. Start new instance that you can login to
  4. Attach broken instance volume to new instance
  5. Mount the broken instance volume at the OS level
  6. Fix/undo the configuration on the broken instance volume
  7. Unmount/detach broken (now-fixed) instance volume
  8. Attach now-fixed volume to broken instance
  9. Start broken (now-fixed) instance
  10. Login
profile pictureAWS
EXPERT
kentrad
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions