Updated on 2022-01-25 GMT+08:00

Basic Concepts

EIP

An EIP can be directly accessed over the Internet. A private IP address is an IP address on a local area network (LAN) in the public cloud system and cannot be routed through the Internet.

An EIP is a static, public IP address. You can bind an EIP to an ECS in your subnet to enable the ECS in your VPC to communicate with the Internet through a fixed public IP address.

Each EIP can be used by only one ECS at a time.

SNAT Connections

An SNAT connection consists of the source IP address, source port, destination IP address, destination port, and transmission-layer protocol. The source IP address and source port are the EIP and port translated by SNAT to access the destination IP address and port of a public network. With these five elements, a connection can be distinguished as a unique session.

DNAT Connections

A DNAT connection enables servers in a VPC to share an EIP to provide services accessible from the Internet through IP address mapping or port mapping.