我已经将一个网站上传到我的 Compute Engine 实例,并且我想设置注册器以将访问者发送到服务器(Compute Engine)。
我在哪里可以通过 Compute Engine 获取我的实例/服务器的名称服务器?
最佳答案
Google Compute Engine 不在公共(public)互联网上提供名称服务器。 (它确实为您的项目私有(private)的内部网络提供了一个名称服务器,这允许您通过实例名称而不是 IP 连接到实例。)
如果您希望您的实例可通过公共(public) Internet DNS 名称服务器使用,您将需要一个外部名称服务器和一个或多个用于您的实例的静态 IP 地址。
对于 Compute Engine 上的静态 IP 地址,您有两种选择:您可以为单个实例或 GCE 负载均衡器设置静态地址。
看到这个documentation for how to configure a static IP address for an instance .
使用负载均衡器更加灵活。看到这个documentation for details on Load Balancing .
关于dns - 在哪里可以找到 Google Compute Engine 的名称服务器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21846900/