I've lost my private key. How can I connect to my Window instance?

0

I've lost my private key. How can I connect to my Window instance?

Pryce
已提问 2 年前296 查看次数
2 回答
1

Go to EC2 - Keypairs (Delete the key pair, which you lost) create a new key pair with the same name and download it at a safe place From instance description copy Instance type, VPC ID, Subnet ID, Security groups, and IAM role Shut down your instance and create AMI from it. Launch a new instance from this AMI and select the same description you noted. Use Ec2 config or EC2 launch to reset the admin password.

已回答 2 年前
0

Hi There

In addition to Honeybwm's answer, you can also use Automation, a capability of AWS Systems Manager, with the AWSSupport-ResetAccess runbook to reset the local admin password of your Windows instance. See https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-ec2reset.html

profile pictureAWS
专家
Matt-B
已回答 2 年前
  • I am root admin. But I unable to find AWSSupport-ResetAccess runbook inside. Do I need to grant any further permission?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则