All Products
Search
Document Center

Anti-DDoS:Change the public IP address of an ECS origin server

Last Updated:Feb 22, 2024

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

  1. Log on to the Anti-DDoS Pro console.

  2. In the top navigation bar, select the region of your asset.

    • Anti-DDoS Proxy (Chinese Mainland): If your instance is an Anti-DDoS Pro instance, select Chinese Mainland.

    • Anti-DDoS Proxy (Outside Chinese Mainland): 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.

  3. In the left-side navigation pane, choose Provisioning > Website Config.

  4. In the upper-right corner of the Website Config page, click Change ECS IP.
  5. In the Change ECS IP dialog box, read the tips and click Next.
    Important 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.
    Change ECS IP dialog box
  6. 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.

    Go to ECS
  7. Return to the Change ECS IP dialog box, specify ECS Instance ID, and then click Next.
  8. 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.
  9. 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.