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?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南