Tencent Cloud Server uses elastic public IP to replace dynamic IP and fixed IP for the server

888u

Last update at :2024-07-12,Edit by888u

Under normal circumstances, no matter which VPS or cloud server product we buy, it has a fixed public IP address. Of course, there are service providers that do not provide public IP addresses (VULTR merchants launched a series of 2.5 USD plans a few days ago but None of them have IPv4). Sometimes for special project needs, we need to change the server IP address, or need to change the IP address of the server. Different merchants have different operation methods. Of course, some merchants cannot operate it and can only re-purchase the server to have a different/new one. IP.

In Tencent Cloud Server, if we need to replace the original fixed IP of the cloud server CVM with another IP, and we need to set up several more public IP addresses on the server, what method should we use? Here Snail saw that they have an elastic public IP product in the background. You can purchase an elastic public IP and then deploy this elastic public IP to point it to an existing cloud server.

Elastic public IPs are of course charged. Each account can open 20 public IPs, and are billed on an hourly basis. Each IP costs 0.20 yuan/hour, which is also suitable for users who need multiple IPs. It doesn’t matter if it’s expensive, it’s important if it suits your needs.

Tencent Cloud related tutorials and possible content:

1. Tencent Cloud new user cloud server vouchers and latest promotions

2. Tencent Cloud Server CVM creates and configures SSH keys – create the key and apply it to the server

3. Tencent Cloud server selection and setting custom security group configuration method

First, preparation before presentation

Because Snail’s production environment does not require the use of multiple IPs or changing IP addresses, the operation of this article was carried out on the Tencent Cloud server test machine. Of course, there is data in the server, but it is not important. If we need to operate it ourselves, it is recommended to perform a backup first (Tencent Cloud Server Image/Snapshot Backup and Recovery Rollback Data Graphical Tutorial).

Second, apply for a flexible public IP

Here we can see the application for elastic public IP in the Tencent Cloud server background. Of course, you need to apply for the corresponding region, so that you can switch to the cloud server in the corresponding region. Expanding the region should not be supported.

Here we can see the cost of public IP. It is also explained here that it can only support resources in this region, and it is charged when it is vacant. There is no separate charge after binding resources.

Third, bind the cloud server

After the application is completed, we need to bind the cloud server and click the bind button directly.

Just select the cloud server that needs to be bound to the region.

There is a problem that needs to be noted here. If the public IP of our original cloud server is not released, it will be directly replaced by the newly created elastic public IP. The original fixed IP will disappear and of course cannot be retrieved.

Third, how to unbind the elastic IP

Similarly, when we bind an elastic IP, we can also unbind it.

After unbinding, we can continue to throw it into the elastic IP, or we can delete it directly without putting it in the elastic IP.

Fourth, unbind the fixed IP address

Sometimes, if the existing public IP of our Tencent Cloud server still needs to be used or is no longer needed, it can be released directly. Return the public IP, or directly bind the elastic IP.

Here you can also choose to throw it to the elastic IP or convert it directly. If you convert it directly, it will be deleted and replaced. If we do not directly bind the elastic public IP to a fixed public IP, but directly bind the elastic public IP, after we unbind it, a public IP will be reassigned.

In summary, the function of Tencent Cloud Elastic Public IP is suitable for projects that require multiple temporary dynamic elastic IPs. We can temporarily add elastic IPs to the server and unbind them at any time after the project is completed. At the same time, if you need to change the server to a public IP address, you can also use this method to operate.

Recommended site search: Korean independent server, Hong Kong cloud host, icp registration website, registered domain name, cheap virtual host US free virtual host, expired registered domain name query, domain name space purchase US php space, server space,

Tencent Cloud Server uses elastic public IP to replace dynamic IP and fixed IP for the server

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码