4

I just reinstalled my machine and forgot to backup my ec2 .pem file... Is there any way to download this again from amazon? I can't find it anywhere.

7

It is my belief that for security reasons you are not allowed to do that. My guess is they probably don't keep the private key on their side either they just generate it, get the public key and save it and then allow you to download the private key.

So... bottom line is... No, you cannot download it again. Your only option is to create a new key-pair and start your instances again using this new one instead.

Hope this helps.

|improve this answer|||||
  • Not that big of a deal, I just attached that ebs volume to a new instance and copied the files off of it. Thanks. – dan Aug 18 '10 at 21:56
1

It's your private key and used to authenticate you to the server. You've effectively lost your password...

|improve this answer|||||
1

You can go to the EC2 Management Console, create a new keypair, create an AMI from the volume of your instance, and launch a new instance from the AMI with the new key pair.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.