Elastic Compute Service
Category | Description |
Primary private IP address | The primary private IP address is a private IPv4 address that must be assigned to a network interface upon creation. It does not support active reclaim, and its lifecycle is tied to that of the network interface. |
Secondary private IP address | Except for the primary private IP address, any other IPv4 or IPv6 address assigned to the network interface is referred to as a secondary private IP address. |
Item | Private IPv4 address | Public IPv4 address | IPv6 address |
Address length | 32-bit | 32-bit | 128-bit |
Uniqueness | Repeatable | Globally unique | Globally unique |
Internet access | No | Yes | Internet access is supported after you enable IPv6 Internet bandwidth. |
Assignment method | Assigned from the IPv4 CIDR block of the VPC. | Assigned by VolcanoEngine based on user applications. | Assigned from the IPv6 CIDR block of the VPC. |
Network Interface address restriction | The number of IPv4 addresses that can be assigned to a network interface is limited by the ECS instance type. For details, see Limits. | You can associate each private IPv4 address of a network interface with a public IPv4 address. | The number of IPv6 addresses that can be assigned to a network interface is limited by the ECS instance type. For details, see Limits. |
Chargeable | No | Yes | If IPv6 Internet bandwidth is not enabled, you are not charged. Otherwise, you are charged. |