Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

3 Answers 3

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

 
discard

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.