5

云计算实例可以有多个 IP 吗 | news view

 3 years ago
source link: https://zsqk.github.io/news/2020-03-26-one-instance-have-multiple-ips.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

news view

对于运维, 什么是云服务? 云服务有什么好处? 云服务提供商有区别吗?

云服务是为了节省运维开支的, 中小公司尽可能用云.

今天有人问我, 一台服务器可以有多个 IP 吗?

我回复说:

云服务器计算,储存,网络都是分开的。一个计算可以有多个 IP。 就像我们电脑可以有多个网卡,可以连接不同猫获得多个 IP。只不过云上是虚拟的。

Screen Shot 2020-03-27 at 13 01 58

但以上为理论, 我们没有类似需求, 没有实践过. 出于谨慎, 我实操了一下:

  • AWS 中国支持一个 EC2 实例多私网 IP 及多公网 IP. (仅限操作台)
  • 阿里云 VPC 不支持为一个 ECS 实例提供多个公网 IP. (仅限操作台)

但需要注意, 我仅在 Web 操作台上进行了操作, 没有使用 CLI 工具. 不排除阿里云在 API 层面提供更多功能的可能性. 因为以我们的经验, 在安全组设置的时候, 有些不太安全的 设置在操作台上被禁止, 但是在 API 层面是允许的.

- cloud-computing

- aws

- aliyun

This site is open source. Improve this page.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK