简体   繁体   English

如何将DNS更改为Amazon EC2实例

[英]How to change DNS to an amazon-EC2 instance

I have a Cluster Compute instance on amazon-EC2. 我在Amazon EC2上有一个Cluster Compute实例。 Clusters are located in US (zone 1), therefore the public IP address is from there. 群集位于美国(1区),因此公共IP地址是从那里来的。 Unfortunately some websites that I need to get access to are not accessible, since they recognized that the IP address is from US. 不幸的是,我需要访问的某些网站无法访问,因为它们意识到IP地址来自美国。 If I change DNS servers from inside the instaces (as you can usually do on pc), it doesn't work, because it is a matter of the inside network linked to the instance (I guess). 如果我从实例内部更改DNS服务器(就像在PC上通常可以做的那样),则它不起作用,因为这是链接到实例的内部网络的问题(我想)。 I heard about the Route 53 system, but I did not understand if it could work out for me or not. 我听说过Route 53系统,但是我不知道它是否对我有用。 Is there anyone that can help me? 有没有人可以帮助我?

A few ways I can think of doing it. 我可以想到的几种方法。

  1. Host your cluster in a different AZ 将群集托管在其他AZ中
  2. Use a VPN service such as StrongVPN 使用诸如StrongVPN之类的VPN服务
  3. Use a proxy server that's located outside the US. 使用位于美国以外的代理服务器。

Using DNS isn't going to help you as the dns name will be attached to your instance and it will always have the same ip as your instance. 使用DNS不会帮助您,因为dns名称将附加到您的实例,并且它始终具有与实例相同的ip。 Changing the DNS name does not change the fact that your server is located in the US. 更改DNS名称不会更改您的服务器位于美国的事实。

Amazon also offers a VPN service if you have servers with another provider outside the US you can directly connect the cluster to your non US network and thus you inherit the IP of the other network. 如果您在美国以外的其他提供商处拥有服务器,Amazon也会提供VPN服务,您可以将群集直接连接到非美国网络,从而继承了另一个网络的IP。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM