0 votes
in AWS by
How can you recover/login to an EC2 instance for which you have lost the key?

1 Answer

0 votes
by

Follow the steps provided below to recover an EC2 instance if you have lost the key:

  1. Verify that the EC2Config service is running
  2. Detach the root volume for the instance
  3. Attach the volume to a temporary instance
  4. Modify the configuration file
  5. Restart the original instance
...