IP Address
You can assign private and public IP addresses to Elastic Compute instances. Instances use these addresses to communicate with other resources and Internet.
Private IPv4 Address
An Elastic Compute instance has one virtual network interface (vNIC) and this vNIC must have one primary private IPv4 address. You can assign up to 10 private IPv4 addresses to one vNIC.
Elastic IPv4 Address
Elastic IPv4 address including the following IP network types, and a private IPv4 address can bind one 3-in-1 IP Pool or up to 4 single-line elastic IPv4 addresses, including BGP IPs, CN2 IPs or both.
BGP IP
BGP IP is a type of elastic IP address implemented through the Border Gateway Protocol (BGP). It enables users to auto manage their network routes with high flexibility and reliability. BGP IP is suitable for network application scenarios requiring scalability and high availability.
CN2 IP
CN2 IP refers to IP based on the China Telecom network. It provides stable connections through China Telecom's high-quality network infrastructure, making it suitable for users who need to operate in the China region.
Local IP
A local IP address is provided by a local ISP, with its registered location matching the country of the server's data center. It is ideal for applications with strict IP requirements, such as cross-border e-commerce, where a local IP enables smoother registration and operation.
Cogent IP
Cogent IP network type refers to the various high-speed Internet and data transport services offered by Cogent Communications, primarily designed to support enterprise-level connectivity across North America, Europe, and parts of Asia through its global Tier 1 backbone network.
China Mobile
China Mobile network type refers to the various types of networks and services offered by China Mobile, primarily designed to meet business needs within China.
China Unicom
China Unicom network type refers to the various types of networks and services offered by China Unicom, primarily designed to meet business needs within China.
China Telecom
China Telecom network type refers to the various types of networks and services offered by China Telecom, primarily designed to meet business needs within China.
3-in-1 IP Pool
3-in-1 IP Pool refers to a pool of IP addresses that are connected to the networks of China Telecom, China Unicom, and China Mobile. 3-in-1 IP Pool aims to provide better network coverage and fault tolerance, and is suitable for scenarios requiring high network stability and coverage range.
Elastic IP Mode
NAT Mode
NAT Mode utilizes Network Address Translation (NAT) Gateway Mapping to bind an elastic IP to a vNIC. In this mode, the NAT Gateway is responsible for translating the private IP addresses of instances to the public elastic IP for internet access.
When an elastic IP is bound to a vNIC in the NAT Mode, you cannot query this elastic IP in the instance's operating system.
Bypass Mode
The elastic IP is directly linked to the instance, providing it with direct internet access while bypassing security group enforcement. In this mode, the elastic IP is directly mapped to the instance, allowing high-performance, low-latency internet access. Since the security group is bypassed, it does not take effect in this mode, which can reduce processing overhead and lower operational costs. This mode is suitable for trusted environments or scenarios where external traffic control is handled by other security mechanisms.
When an elastic IP is bound to a vNIC in the Bypass Mode, you can query this elastic IP in the instance's operating system via ipconfig
command.
IPv6 Address
If the Elastic Compute instance is connected to a subnet that supports IPv6, its vNIC can also have private IPv6 address or public IPv6 address assigned.
Last updated