I created an instance (I created many instances before) and it is telling me

Password generation and encryption can sometimes take more than 30 minutes. Please wait at least 15 minutes after launching an instance before trying to retrieve the generated password

It has been over a day since I created it and its not letting me enter my password decryption.

What is wrong?

  • You can check the system log, but you might as well just fire up a new one.
    – ceejayoz
    Mar 27, 2013 at 20:37
  • The thing is that I have some data on it which I don't want to lose.
    – maltadolls
    Mar 27, 2013 at 20:40
  • How can you have data on it if it's an instance you just created and have never been able to get into?
    – ceejayoz
    Mar 27, 2013 at 20:44
  • Its a 'copy' of another instance.
    – maltadolls
    Mar 27, 2013 at 20:50
  • What'd you do with the original? Chances are if something went wrong on instance creation for the copy you're not going to be able to get into it.
    – ceejayoz
    Mar 27, 2013 at 20:55

1 Answer 1


If it's an AMI, you won't be able to get your password. You will need the password that was set on the original instance.

  • Ouch :-S Is there any other way to recover it?
    – maltadolls
    Mar 28, 2013 at 19:35
  • You could use the .net SDK from AWS to decrypt the password with your keypair as follows: string rsaPrivateKey; using (StreamReader reader = new StreamReader(@"c:\keypairs\beta.pem")) { rsaPrivateKey = reader.ReadToEnd(); } GetPasswordDataResult result = ec2Client.GetPasswordData( new GetPasswordDataRequest() .WithInstanceId(instanceId)).GetPasswordDataResult; Console.WriteLine(result.GetDecryptedPassword(rsaPrivateKey)); From here: forums.aws.amazon.com/thread.jspa?threadID=68395
    – af-at-work
    Apr 1, 2013 at 14:13

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.