All Products
Search
Document Center

Elastic IP Address:Convert a static public IP to an EIP

Last Updated:Jul 30, 2026

Convert the static public IP of an ECS instance to an independently managed EIP for greater flexibility:

  • Failover: If an ECS instance fails, quickly switch the EIP to a standby instance to maintain business continuity.

  • Architecture upgrades: Associate the EIP with an SLB instance or NAT gateway to simplify network upgrades.

Impacts of conversion

  • IP address stays the same: The public IP address remains unchanged during conversion. Existing connections are not affected.

  • Billing changes: Your public bandwidth billing method and unit price remain unchanged. The EIP is billed separately and incurs a configuration fee and public network fees.

    When the EIP configuration fee is waived.
  • Irreversible operation: This conversion cannot be undone. To use a static public IP again, disassociate the EIP and adjust the ECS instance's public bandwidth to allocate a new static public IP. The IP address will change.

  • Peak bandwidth: For pay-as-you-go EIPs: A single pay-by-data-transfer EIP supports a maximum peak bandwidth of 200 Mbps. The peak bandwidth is not a committed metric. A pay-by-bandwidth EIP supports a maximum peak bandwidth of 500 Mbps. The peak bandwidth is a committed metric.

Prerequisites

  • Instance state:

    • The ECS instance is in the Running or Stopped state.

    • If a specification change is in progress, wait for it to complete before converting.

  • Billing method:

    • Pay-as-you-go ECS instance: Your account has no overdue payments.

    • Subscription ECS instance:

      • The public bandwidth billing method is pay-by-traffic. If it is pay-by-bandwidth, change it to pay-by-traffic first.

      • The subscription does not expire within 24 hours.

  • Region: Not supported for static public IPs on the BGP (Multi-ISP) Pro line in China (Hong Kong).

Convert to an EIP

Console

  1. Go to the ECS console - Instances page.

  2. Click the target ECS instance ID. In the All Actions menu, choose Network and Security Group > Convert to EIP.

  3. Review the information and click OK. After conversion, on the Instance Details page, the Public IP Address field is empty and the EIP field displays the converted EIP.

API

Call ConvertNatPublicIpToEip to convert a static public IP to an EIP.