基础网络带外网ip的吗
标题:2017腾讯云11.11大促 给你实实在在的优惠
地址:https://cloud.tencent.com/act/double11?utm_source=portal?utm_medium=recommend&utm_campaign=1111&utm_term=1024
浏览器信息
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36
我需要为我的两个站点分配一个单独的ip地址,因此我手动配置Amazon Web服务,使一个实例拥有两个公共ip。我设置了两个弹性up,它们指向两个私有up,它们都在一个网络接口下。
需要对OS (Debian 7)进行哪些手动更改才能使辅助弹性(公有) ip正常工作?
这就是/etc/network/interface现在的样子:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
附注:似乎没有针对debian的ec2-net-utils包,所以我手动进行了操作,从而也了解了网络是如何工作的。
我已经创建了一个CloudSQL实例,它是我创建的私有网络的一部分。我可以使用CloudSQL代理服务连接到此CloudSQL。虽然我在该私有网络中添加了防火墙规则,但无法使用该实例的公网IP连接到该实例。
我得到的错误是:
Unable to connect to host <public-ip-of-cloudsql>, or the request timed out.
Be sure that the address is correct and that you have the necessary privileges, or try increasing the c