Google Cloud上的动态DNS? [英] dynamic DNS on Google Cloud?

查看:115
本文介绍了Google Cloud上的动态DNS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一堆要在Google Cloud上启动的服务器.我已经保留了一个静态IP,这是我系统的公共"入口点.

I have a bunch of servers that I want to start on Google Cloud. I have one static IP that I have reserved, that's my "public" entry point to my system.

但是我还需要能够直接访问所有其他服务器.我不太在乎为它们分配了什么临时IP,但是能够通过名称引用它们(而不是必须从控制台复制并粘贴IP地址)将非常方便.

But I also need to be able to get to all my other servers directly. I don't really care about what ephemeral IP is assigned to them, but it would be very convenient to be able to refer to them by name (rather than having to copy-and-paste the IP addresses from the console).

我看到了此答案,但我希望为此提供一个不涉及脚本的配置选项.

I see this answer, but I was hoping that there is a configuration option somewhere for this that does not involve scripting.

推荐答案

您提供的链接是全面的答案.您可以通过几种不同的方式来执行此操作(例如使用Deployment Manager或Cloud Functions),但最终还是要编写脚本.

The link what you have provided is a comprehensive answer. You can do it in several different ways (like using deployment manager or Cloud Functions), but at the end of the day it's still scripting.

但是,如果您的问题是IP更改,则可以保留IP,并在重新创建实例后将其重新连接. (您只需为未附加的保留IP付费.)

However, if your issue is the changing IP's, you can reserve the IP's and reattach them if the instance gets recreated. ( You only need to pay for unattached reserved IP's.)

但是有疑问的是,为什么您需要频繁地直接访问所有实例,而不是它们的公共/内部端点(可能是LoadBalancer).

However it is questionable, why do you need direct access to all of your instances in a frequent basis other than their public/internal endpoints which could be a LoadBalancer.

这篇关于Google Cloud上的动态DNS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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