Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 7 down vote accepted

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.

share|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

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

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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