阿里云服务器ECS更换公网IP地址的方法教程

888u

Last update at :2024-04-23,Edit by888u

Alibaba Cloud ECS cloud server may encounter the situation of changing the public IP address during use. Alibaba Cloud Encyclopedia Network shares the method and process of changing the public IP address of ECS:

How to change the public IP address of ECS

Changing the public IP address is divided into two situations based on the ECS creation time: the method of changing within 6 hours after the creation of the ECS and the method of changing the ECS after more than 6 hours after the creation. By default, Alibaba Cloud provides each ECS with the option to change the public IP within 6 hours. Once the ECS instance has been more than 6 hours old, the "Change Public IP" option disappears. ECS instances that have been more than 6 hours old can only use "Public IP Conversion". Use the "Elastic Public IP" method to replace the public IP.

Scenario 1: Change the public IP within 6 hours after the ECS instance is created

If your ECS instance has just been created and is less than 6 hours old, you can change the public IP directly in the ECS console.

1. Log in to the ECS management console;

2. Switch regions and find the target instance;

3. Click "More" – "Network and Security Group" – "Change Public IP"

As shown below: Change the public IP of the ECS instance

Then click "Start Replacement"

Note: Before changing the public IP, you need to stop the instance; in addition, if more than 6 hours have passed since the instance was created, the "Change Public IP" option will disappear.

Scenario 2: How to change the public IP after the ECS instance was created more than 6 hours ago

If the ECS cloud server has been created for more than 6 hours and the "Change Public IP" option is no longer available, then how do you change the public IP? Alibaba Cloud Encyclopedia tells you: VPC type ECS instances can change the public IP address by "converting the public IP address to an elastic public IP address" (classic network instances can no longer change the public IP address).

1. Log in to the ECS management console;

2. Switch regions and find the target instance;

3. Click "More" - "Network and Security Group" - "Convert Public IP to Elastic Public IP"

As shown below: To convert public IP to elastic public IP, please click to enter the picture.

Then click "OK"

After the conversion is successful, the original public IP address will be marked as "elastic". In addition, users need to be reminded that after the public IP is converted to an elastic public IP, the EIP will be billed separately and a separate bill will be generated. Reference about the charging standard of elastic public IP: Alibaba Cloud elastic public IP (EIP) pricing

In addition: Alibaba Cloud Encyclopedia tested that the public IP of pay-as-you-go ECS cannot be changed within 6 hours after purchase and creation. This is because changing the public IP requires stopping the instance, and pay-as-you-go ECS instances The public IP address will be automatically released after stopping, which is very annoying. Therefore, after the pay-as-you-go ECS instance is stopped, there is no option to "change the public IP".

Recommended site search: latest free agent IP, free IP, registration system, registration-free CDN, mainland China IP agent, foreign website space, free foreign space, independent IP virtual host, registration query Ministry of Industry and Information Technology, private server rental,

p>

阿里云服务器ECS更换公网IP地址的方法教程

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