Password is not available for custom AMI

1

Hello

We had an instance with the pem file lost. Now I've generated a custom AMI from it following the guide.
I've created a new instance i-0ab5bce81b25cc541 from the AMI with all configs preserved as the original instance.
Now trying to connect to the new instance it says "Please wait at least 4 minutes after launching an instance before trying to retrieve the auto-generated password.".
After reading many docs and answers, it seems that the solution is to login with the original password, but as I said the pem file was lost.
Basically I get a logical conflict situation - the guide says to generate a new instance with new pem file, but use the old password for login.

Thanks

  • I also faced the same problem, and after trying its seems the old password works, although it could not be seen from the management screen of AWS.

gefragt vor 3 Jahren463 Aufrufe
1 Antwort
0

Was able to resolve the problem by following the "Reset the Windows administrator password using EC2Launch" guide.
The EC2Rescue tool password reset didn't worked for first time - there was an error 'failed to prepare scripts' but after unloading and reloading the volume for second time and other retry it did work.

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen