If the IP address of your origin server is exposed, we recommend that you change the
public IP address of your Elastic Compute Service (ECS) instance to prevent attackers
from bypassing Anti-DDoS Pro or Anti-DDoS Premium to attack the origin server. You
can change the public IP address of an ECS instance in the Anti-DDoS Pro or Anti-DDoS
Premium console up to 10 times.
Procedure
- Log on to the Anti-DDoS Pro console.
- In the top navigation bar, select the region where your instance resides.
- Anti-DDoS Pro: If your instance is an Anti-DDoS Pro instance, select Chinese Mainland.
- Anti-DDoS Premium: If your instance is an Anti-DDoS Premium instance, select Outside Chinese Mainland.
You can switch the region to configure and manage Anti-DDoS Pro or Anti-DDoS Premium
instances. Make sure that you select the required region when you use Anti-DDoS Pro
or Anti-DDoS Premium.
- In the left-side navigation pane, choose .
- In the upper-right corner of the Website Config page, click Change ECS IP.
- In the Change ECS IP dialog box, read the tips and click Next.
Notice If you change the public IP address of an ECS instance, your service is interrupted
for a few minutes. We recommend that you back up your data before you perform this
operation.

- Optional:Stop your ECS instance.
To change the IP address of your ECS instance, you must stop the instance. If you
have stopped your ECS instance, go to the next step.
If you do not stop your ECS instance, click Go to ECS in the Change ECS IP dialog box. Then, stop your ECS instance in the ECS console. For more information about how to stop an ECS instance, see Stop an instance.

- Return to the Change ECS IP dialog box, specify ECS Instance ID, and then click Next.
- After the IP address is released, click Next. Anti-DDoS Pro or Anti-DDoS Premium automatically assigns a new IP address to the
ECS instance.
- Click OK.
Note After you change the IP address of an ECS origin server, set up Anti-DDoS Pro or Anti-DDoS
Premium and do not expose the new IP address.