Updated on 2025-08-13 GMT+08:00

Assigning an EIP

Description

You need to assign an EIP first before you can use it.

Parameter Settings

Configure parameters as prompted.

Table 1 Parameter description

Category

Parameter

Description

Example Value

Basic Configuration

Billing Mode

The following options are available:

  • Yearly/Monthly: You pay upfront for the amount of time you expect to use the instance. You need to make sure you have a valid payment method configured first.
  • Pay-per-use: You can start using the EIP first and then pay as you go. You are billed based on the EIP usage duration (by bandwidth) or used traffic (by traffic).

Pay-per-use

Basic Configuration

Region

Regions are geographic areas isolated from each other. For low network latency and quick resource access, select the region nearest to where your services will be accessed. The region selected for the EIP is its geographical location.

NOTE:
  • The geographical location of an EIP purchased in CN North-Ulanqab1 or CN East-Qingdao is Beijing.
  • The geographical location of an EIP purchased in CN East2 is Shanghai.

CN-Hong Kong

Bandwidth Configuration

EIP Type

  • Dynamic BGP: Dynamic BGP provides automatic failover and chooses the optimal path when a network connection fails.
    NOTE:

    Dynamic BGP is suitable for communications in CN-Hong Kong or communications between CN-Hong Kong and regions outside the Chinese mainland. If Dynamic BGP is used to access the regions in the Chinese mainland, data is forwarded through international egress routes, which may result in high latency and packet loss. If you need lower latency and better stability to access to the regions in the Chinese mainland, you are advised to select Premium BGP.

  • Static BGP: Static BGP offers more routing control and protects against route flapping, but an optimal path cannot be selected in real time when a network connection fails.
  • Premium BGP: Premium BGP chooses the optimal path and ensures low-latency and high-quality networks. BGP is used to interconnect with lines of multiple mainstream carriers. Public network connections that feature low latency and high quality are directly established between the Chinese mainland and Hong Kong (China). (Premium BGP is available only in CN-Hong Kong.)
  • EIP Pool: This parameter is available only when you set Billing Mode to Pay-per-use. An EIP pool helps you manage a large number of EIPs and assigns EIPs with dynamic BGP routing, ensuring network stability and optimal user experience. For details about the EIP pool, see EIP Pool Overview.

For details, see What Are the Differences Between Static BGP and Dynamic BGP?

Dynamic BGP

Bandwidth Configuration

EIP Pool

Select your purchased EIP pool.

This parameter is available only when Billing Mode is set to Pay-per-use and EIP Type set to EIP Pool.

eipPool-test

Bandwidth Configuration

Billed By

This parameter is available only when you set Billing Mode to Pay-per-use.

  • Bandwidth: You specify a maximum bandwidth and pay for the amount of time you use the bandwidth. This is suitable for scenarios with heavy or stable traffic.
  • Traffic: You specify a maximum bandwidth and pay for the outbound traffic you use. This is suitable for scenarios with light or sharply fluctuating traffic.
  • Shared Bandwidth: The bandwidth can be shared by multiple EIPs. This is suitable for scenarios with staggered peak hours.

Bandwidth

Bandwidth Configuration

Bandwidth (Mbit/s)

Bandwidth size in Mbit/s.

100

Bandwidth Configuration

Bandwidth Name

The name of the bandwidth. The name:

  • Can contain 1 to 64 characters.
  • Can contain letters, digits, underscores (_), hyphens (-), and periods (.).

bandwidth

DDoS Protection

DDoS Protection

Cloud Native Anti-DDoS Basic

Cloud Native Anti-DDoS Basic provides up to a certain amount (for example, less than 5 Gbit/s) of DDoS mitigation capacity for free. The actual thresholds are displayed on the console.

If the attack to an EIP exceeds the threshold, the EIP will be blocked.

-

EIP Details

EIP Name (Optional)

The name of the EIP. The name:

  • Can contain 1 to 64 characters.
  • Can contain letters, digits, underscores (_), hyphens (-), and periods (.).

eip-test

EIP Details

Enterprise Project

Enterprise project that the EIP belongs to.

An enterprise project makes it easy to manage projects and group cloud resources and users. The name of the default project is default.

For details about creating and managing enterprise projects, see the Enterprise Management User Guide.

default

EIP Details

Tag

Tags help you quickly identify, organize, and search for your EIPs.

NOTE:

If your organization has configured tag policies for EIPs, you need to add tags to EIPs based on the policies. If a tag does not comply with the tag policies, EIP assignment may fail. Contact the administrator to learn more about tag policies.

  • Key: Ipv4_key1
  • Value: 3005eip

Monitoring

Monitoring

Basic monitoring is enabled by default.

You can use the management console or APIs provided by Cloud Eye to query the metrics and alarms generated for the EIP and bandwidth.

-

Purchase Details

Required Duration

The duration for which the EIP will be used. The duration must be specified if the Billing Mode is set to Yearly/Monthly.

1 month

Purchase Details

Auto-renew

Whether to select Auto-renew. You can select it if the Billing Mode is set to Yearly/Monthly. The auto-renewal period is determined by the required duration.

  • Monthly subscription: The subscription is renewed every month.
  • Yearly subscription: The subscription is renewed each year.

-

Purchase Details

Quantity

The number of EIPs you want to assign.

You can set Quantity only when Billing Mode is set to Pay-per-use.

1

FAQ