无法RDP到EC2实例 [英] Unable to RDP to EC2 instance

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

问题描述

我使用Hyper-V在我的本地机器,我可以RDP到精细创建了一个虚拟机。我出口的VHDX到VHD然后通过API上传到AWS。 这创造了一个新的EC2实例我,但我无法连接到它,因为它没有相关的安全密钥对。 因此,我所建立的私人的AMI从实例和从这个AMI重新实例化了新的EC2实例,设置在过程中的密钥对,以确保HTTP,RDP等都是允许的。 EC2实例在运行,但是当我下载德RDP快捷方式,如果无法连接。我试图重新启动的情况下几次(因为这是在这里的时候,我搜索了建议的解决方案之一),但它并没有帮助。

I created a VM using Hyper-V on my local machine which I can RDP onto fine. I exported the VHDX to VHD and then uploaded it to AWS via the API. This created a new EC2 instance for me but I cannot connect to it as it has no security keypair associated. Thus I created a private AMI from the instance and re-instantiated a new EC2 instance from this AMI, setting the keypair in the process to ensure HTTP, RDP etc are permitted. The EC2 instance is running, but when I download teh RDP shortcut if fails to connect. I've tried rebooting the instance several times (as this was one of the suggested solutions on here when I searched) but it hasn't helped.

我也无法通过公共DNS或专用DNS ping通任何这些实例。

I also cannot ping any of these instances via the public DNS or private DNS.

知不知道我做错了吗?我还没有得到尽可能的密码提示,它的连通性的问题。

Any idea what I'm doing wrong? I'm not even getting as far as the password prompt, its the connectivity is the problem.

感谢

推荐答案

我也有类似的问题 - 这是来自AWS文档,帮助我解决这个问题的提示:

I had a similar problem - this is the tip from the AWS documentation that helped me solve it:

Verify that the route table for the subnet has a route that sends all traffic 
destined outside the VPC (0.0.0.0/0) to the Internet gateway for the VPC

附加调试技巧对于这个问题可以在这里找到:<一href="http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/troubleshooting-windows-instances.html#rdp-issues"相对=nofollow称号=远程桌面无法连接到远程计算机>远程桌面无法连接到远程计算机

这篇关于无法RDP到EC2实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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