When an application deployed on a CVM instance needs to provide public services, it must transmit data over the Internet and have an IP address on the Internet, also known as a public IP address. Internet access provided by Tencent Cloud is routed through the high-speed internet of Tencent Cloud data centers. The domestic multi-line BGP network covers multiple network operators, and BGP public network egress supports cross-region switching within seconds, ensuring that your users can enjoy high-speed and secure network quality regardless of which network they use.
Public IP address
Overview: public IP addresses are non-reserved addresses on the Internet. A CVM with a public IP address can access other computers on the Internet and be accessed by other computers.
Obtaining a public IP address: when creating a CVM instance, set the bandwidth to a value greater than 0 Mbps in the network settings. After the instance is created, the Tencent Cloud system automatically assigns a public IP address to the instance from the Tencent Cloud public IP address pool. This address can be changed. For detailed instructions, see Changing the Public IP Address. Translation: public IP addresses are mapped to the private IP addresses of instances through network address translation (NAT). Maintenance: all public network interfaces of Tencent Cloud are processed by Tencent Gateway (TGW). The public network interface cards of Tencent Cloud CVM instances are configured on TGW, the unified interface layer, which is transparent to CVM instances. Therefore, when you run the ifconfig (Linux) or ipconfig (Windows) command on a CVM instance to view network interface information, only private network information is displayed. To view public network information, log in to the CVM console and go to the instance list or details page. Public IP Address Release
Users cannot actively associate or release a public IP address that is associated with an instance.
Public IP addresses are released or reassigned in the following scenarios:
When an instance is terminated: if you manually terminate a pay-as-you-go instance, or if a yearly/monthly subscription instance is terminated upon expiration, Tencent Cloud will release its public IP address.
Elastic IP address association and disassociation with instances: when an EIP is associated with an instance, Tencent Cloud releases the instance's original public IP address. When the EIP is disassociated from the instance, a new public IP address is automatically assigned to the instance. The released public IP address is returned to the public IP address pool and cannot be reused. Operation Guide
You can obtain and change public IP addresses. For detailed instructions, see: