0

I have a Windows Server 2016 instance and I created a snapshot of it. And then I deleted the instance. Now, when I create AMI from that snapshot and launch instance from that AMI, I cannot decrypt the password with my private key. I did some research and looked into some logs, it says

"Failed to get metadata: The result from http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key was empty"

When I search about it on the internet, they say I need to run some PowerShell script, but I cannot run anything because I cannot even login to the instance. I have also deleted the original instance. Please give me some advice how can I login to the instance.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.