在EC2框上创buildActive Directory

所以我在Windows Server 2008 Amazon EC2服务器上设置了Active Directory。 它的设置正确,我想,我从来没有得到任何错误。 只是为了testing,我已经正确设置了所有设置,我的networking上安装了Windows 7 Professional虚拟机以join到AD中。 我将虚拟机设置为使用Active Directory框作为其DNS服务器。 我input我的域join它,但我得到以下错误:

DNS was successfully queried for the service location (SRV) resource record used to locate a domain controller for domain "ad.win.chigs.me": The query was for the SRV record for _ldap._tcp.dc._msdcs.ad.win.chigs.me The following domain controllers were identified by the query: ip-0af92ac4.ad.win.chigs.me However no domain controllers could be contacted. Common causes of this error include: - Host (A) or (AAAA) records that map the names of the domain controllers to their IP addresses are missing or contain incorrect addresses. - Domain controllers registered in DNS are not connected to the network or are not running. 

看来我可以和Active Directory聊天,但是当我试图联系域控制器时,它给了一个私有的IP来连接,至less这就是我可以做的。 这里有一些nslookup结果。

 > win.chigs.me Server: ec2-184-73-35-150.compute-1.amazonaws.com Address: 184.73.35.150 Non-authoritative answer: Name: ec2-184-73-35-150.compute-1.amazonaws.com Address: 10.249.42.196 Aliases: win.chigs.me > ad.win.chigs.me Server: ec2-184-73-35-150.compute-1.amazonaws.com Address: 184.73.35.150 Name: ad.win.chigs.me Address: 10.249.42.196 

win.chigs.me和ad.win.chigs.me是CNAME指向我的EC2框。 任何想法我需要做的,以便我可以join我的虚拟机到我设置的EC2 Active Directory?

谢谢!

您是否启用了安全组中的所有必要端口? 看到这个post…

你不能没有VPN。 您的EC2实例正在使用EC2中的私有IP地址。 当您尝试从外部机器连接到LAN时。 所以工作站尝试Ping它不能到达的EC2 DC的LAN IP。

您需要工作站/服务器位于同一LAN中的公共IP或两者之间,或工作站LAN / WAN与服务器LAN之间的VPN。