Windows Server "Password is not available"

0

I followed the guide for EC2 Windows Instances and got a "Password is not available" error when trying to get the password to connect to the instance. I used the official Amazon AMI for Windows Server 2016 Base with t2.micro (as specified in the guide).

The error says:

Password is not available. The instance was launched from a custom AMI, or the default password has changed. A password cannot be retrieved for this instance. If you have forgotten your password, you can reset it using the Amazon EC2 configuration service.

I am confused, as I used the official AMI from Amazon and I didn't change the password (I can't even connect to the instance).

How do I resolve this issue and connect to the instance?

질문됨 2년 전2081회 조회
2개 답변
1

This is documented here: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-key-pairs.html

As you can see in the docs, it only specifies RSA for Windows instance. For Linux instances you can use RSA and ED25519 key pairs.

profile pictureAWS
전문가
Rob_H
답변함 2년 전
0
수락된 답변

It turns out the issue was that I was using an ED25519 key pair, but only RSA key pairs are supported for Windows machine. This ought to be specified somewhere.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠