You need to enable JavaScript to run this app.
Elastic IP Address

Elastic IP Address

Copy page
Download PDF
Quick Start
Applying for an EIP and associating an ECS
Copy page
Download PDF
Applying for an EIP and associating an ECS
This section describes how to associate an Elastic IP Address (EIP) with an Elastic Compute Service (ECS) instance to help you quickly master the use of EIPs.​
Preparations​
  • Ensure the total of your available balance and vouchers applicable to the EIP is no less than CNY 100.00, with the available balance not less than 0. For details, see Recharge guide.​
Procedure​
  1. Apply for an EIP: Apply for an EIP.​
  1. Associate the EIP with an ECS: Associate the newly applied EIP with the prepared ECS instance.​
  1. Verify: Log in to the prepared ECS instance and test its connectivity with the internet.​
Step 1: Apply for an EIP​
  1. Log in to the EIP console.​
  1. In the top menu bar, select region and project. This example selects China (Beijing) and default.​
  1. Click Apply for EIP.​
  1. Configure the relevant parameters according to the table below.​
  • ​
    Parameter​
    Notes​
    Sample value​
    Billing method​
    Select a billing method for the EIP. Pay-as-you-go and Subscription are supported.​
    Pay-as-you-go​
    Region​
    Select the region for the EIP.​
    tip​
    The region of EIP must be the same as that of the prepared ECS.​
    China (Beijing)​
    Name​
    Type in a name for the EIP.​
    eip-1​
    Security protection​
    Select the protection type for the EIP.​
    tip​
    EIPs with enhanced protection are in the beta stage. If you need a trial, please contact your account manager.​
    default​
    ISP​
    Select the ISP type for the EIP. BGP (Multi-ISP) is recommended.​
    BGP (Multi-ISP)​
    Metering method​
    When the billing method is Pay-as-you-go, two metering methods are supported: Pay-by-bandwidth and Pay-by-data-transfer. Select a metering method for the EIP based on the interface prompts and your business requirements.​
    Pay-by-data-transfer​
    Bandwidth Package​
    When the billing method is pay-as-you-go, check Add EIP to Bandwidth Package as needed.​
    After being added to the Bandwidth Package, the EIP invalidates the billing method’s traffic fee or bandwidth fee and bandwidth limit, and shares the bandwidth of the Bandwidth Package.​
    No​
    IP Address Pool​
    Only Pay-as-you-go EIPs support enabling IP address pools. When enabled, EIP gets the IP address from the specified IP address pool, and no longer incurs IP config fee.​
    tip​
    This feature is currently in Beta. For trial requests, please contact your account manager.​
    Disable​
    Maximum bandwidth​
    Set the maximum bandwidth for the EIP.​
    1 Mbps​
    Quantity​
    Type the number of EIPs applied.​
    1​
    Affiliated project​
    Select the project to which the EIP belongs.​
    default​
    Tags​
    Add one or more custom tags to the EIP as needed.​
    No tags added​
    ​
  1. Follow the console guidance to review and accept the legal terms.​
  1. Click Agree and buy to complete the action.​
Step 2: Associate the EIP with an ECS​
  1. In the EIP list, click Associate to the right of the target EIP to open the associate EIP page.​
  1. Select the prepared ECS instance and click Associate to complete the action.​
Step 3: Verify​
  1. Log in to the prepared ECS instance.​
  1. Run the ping 114.114.114.114 command.​
  1. A successful ping indicates that the ECS instance is connected to the Internet.​
​
Last updated: 2026.06.24 18:32:28