丢失密钥对后访问的EC2实例 [英] Accessing EC2 instance after losing keypair

查看:485
本文介绍了丢失密钥对后访问的EC2实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我启动了一个EC2实例月前,当时我已经保存在我的电脑的质子交换膜的关键。 PC机坠毁以来,我不得不重新安装Windows就可以了,我没有.pem文件的备份

I booted up an EC2 instance months ago and at that time I had the .pem key stored in my PC. The PC since crashed and I had to reinstall Windows on it and I don't have a backup of the .pem file

有没有什么办法可言,我得到的提示在EC2实例 - 任何方式SSH或以其他方式获得的实例?

Is there any way at all for me to get to the prompt on the EC2 instance- any way to ssh or otherwise get to the instance?

推荐答案

不容易。

指导在论坛上表示,可以通过生成一个新的密钥对,然后把一个新的实例,并安装从原始实例的数量和安装在该卷中的密钥对那种做。在那之后,原始实例应该能够使用新的密钥对

Guidance on the forums indicate that you can kind of do it by generating a new key pair and then bringing up a new instance and mounting the volume from the original instance and installing the keypair in that volume. After that the original instance should be able to use the new keypair.

HTTPS://forums.aws.amazon。 COM / thread.jspa主题ID = 46776&放大器; TSTART = 45#179656

这篇关于丢失密钥对后访问的EC2实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆