I booted up an EC2 instance months ago and at that time I had the .pem key stored in my PC. The PC since crashed and I had to reinstall Windows on it and I don’t have a backup of the .pem file
Is there any way at all for me to get to the prompt on the EC2 instance- any way to ssh or otherwise get to the instance?
Not easily.
Guidance on the forums indicate that you can kind of do it by generating a new key pair and then bringing up a new instance and mounting the volume from the original instance and installing the keypair in that volume. After that the original instance should be able to use the new keypair.
According to this post on AWS Developer Forums it can be accomplished via: