AWS的Elastic IP和Private IP的区别

版权声明:本文为博主汪子熙原创文章,未经博主允许不得转载。 https://blog.csdn.net/i042416/article/details/89673825

clipboard1

上图elastic IP即弹性IP:
弹性 IP 地址 是专为动态云计算设计的静态 IPv4 地址。弹性 IP 地址与 AWS 账户关联。借助弹性 IP 地址,您可以快速将地址重新映射到您的账户中的另一个实例,从而屏蔽实例故障。

弹性 IP 地址是公有 IPv4 地址,可通过 Internet 访问。如果您的实例没有公有 IPv4 地址,则可以将弹性 IP 地址与您的实例关联以启用与 Internet 的通信;例如,从本地计算机连接到您的实例。
private IP Address:

https://codingbee.net/aws-csa-associate/aws-private-ip-addresses-public-ip-addresses-and-elastic-ip-addresses
clipboard2

Elastic IP是持久化的,每次重启AWS实例后不会发生变化。从AWS的elastic IP池子里申请。

A private IP address is an IP address that’s reserved for internal use behind arouter or other Network Address Translation (NAT) device, apart from the public. Private IP addresses are in contrast to public IP addresses, which are public and cannot be used within a home or business network.

private IP address用于内部使用,比如NAT场景。

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

猜你喜欢

转载自blog.csdn.net/i042416/article/details/89673825