Tencent Cloud offers two types of IPv4 addresses for private and public network access. These IPs will not change unless you unbind or change them.
A private IPv4 address is used for Tencent Cloud private network access, which cannot be used to access the internet. Once a CVM instance is created, it will be automatically assigned with a private IPv4 address. The private IPv4 address can also be customized in a VPC environment.
The private IPv4 address can be used for:
Tencent Cloud provides public IPs and EIPs for public network access. A CVM instance with a public IPv4 address can access and be accessed over an IPv4 public network.
The following table compares public IPs with EIPs.
|Use cases||If you want a public IP address to be automatically assigned by the system at the creation of a CVM instance, use the public IP, which will be released with the CVM instance. The IPs cannot be reserved||If you want to use a public IP for a long time, you can choose an elastic IP (EIP) and bind it to the specified CVM as needed. EIP can be bound or unbound many times, and will still exist after the CVM is released|
|Public network access||Both are public IPs and support public network access|
|Acquisition method||It can only be obtained when you purchase a CVM|
|Features||It has the same lifecycle as the CVM, and will be released upon the release of the bound CVM|
|Fees||Free of charge||The IP resource fee is a part of the EIP fee, which varies by the account type|
|Quota||It is subject to the number of CVMs you purchased||Each account can apply for 20 EIPs in each region|
|For the quota of public IPs (including EIPs) bound to a CVM, see the limits on public IPs bound to a CVM|
|Operations||Converting an IP||
A public IP can be converted to an EIP. The IP address will not change after the conversion
|An EIP cannot be converted back to a public IP|
|Changing an IP||A public IP can be directly changed. For more information, see Changing Public IP Addresses||EIPs cannot be directly changed. You need to unbind and release the EIP, apply for a new one, and bind it again|
|Releasing an IP||If you no longer need a public IP, you can log in to the CVM console, locate the public IP, and in the “Operation” column, select More > IP/ENI > Return Public IP to return it||You can release an EIP in the EIP console|
|Retrieving an IP||You can retrieve public IPs/EIPs that you have used if they have not been used by other users|
The public network traffic generated by public IPv4 addresses will be charged with public network fees. For more information, see Public Network Pricing.