Home  >  Article  >  Operation and Maintenance  >  How to change the public IP address after the instance is assigned a public IP address?

How to change the public IP address after the instance is assigned a public IP address?

坏嘻嘻
坏嘻嘻Original
2018-09-17 16:43:004564browse

This article introduces how to change the public IP address after the instance is assigned a public IP address, and focuses on the steps to change the public IP address.

Change the public IP address

If your instance is assigned a public IP address, whether it is a classic network or a private network (VPC), you can change it within 6 hours after creation Public IP address.

Restrictions

There are the following restrictions on changing the assigned public IP address:

The instance must be assigned a public IP Address, that is, in the instance list, the IP address column of the instance will display the public IP address, as shown in the figure below.

How to change the public IP address after the instance is assigned a public IP address?

Description

If no public IP address is assigned when creating a prepaid instance, after the instance is successfully created, you can configure the allocation by increasing or decreasing the public network bandwidth. Public IP address. For more information, please refer to the configuration upgrade and downgrade overview.

If no public IP address is assigned when creating a pay-as-you-go instance, after the instance is successfully created, you cannot assign a public IP address and can only bind an elastic public IP (EIP) address.

The instance must be in stopped state.

Less than 6 hours after the instance was created.

Description

After 6 hours, the VPC instance can change the public IP address through the public IP to elastic public IP function. Classic network instances can no longer change the public IP address.

Each instance can only change the public IP address up to 3 times.

Prerequisites

You must stop the instance before changing the public IP address.

Operation steps

Follow the following steps to change the public IP address:

Log in to the ECS management console.

In the left navigation bar, click Instances.

Select a region.

Find the instance of changing the public IP address. In the Operation column, select More > Change public IP.

Description

If it has been more than 6 hours since your instance was created, the Change Public IP option will not be displayed on the console.

In the Change Public Network IP dialog box, click to start the change.

After the replacement is successful, the dialog box will display the new public IP address, as shown in the figure below.

How to change the public IP address after the instance is assigned a public IP address?

Click OK to close the dialog box.

Related operations

You can modify the private IP address, but you cannot modify the private IP address of the classic network instance.

The above is the detailed content of How to change the public IP address after the instance is assigned a public IP address?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn