Облачная платформаAdvanced

Assigning an EIP

Язык статьи: Английский
Перевести

Scenarios

You can assign an EIP and bind it to cloud resources to allow them to access the Internet. This section describes how to assign a new or specific EIP.

  • By default, new EIPs are assigned at random.
    • If you assign a new EIP within 24 hours after releasing an EIP, the released EIP will be assigned first.
    • Other users can call APIs to assign the released EIP 24 hours after it is released.
  • You can call APIs to assign a specific EIP.

Assigning a New EIP

  1. Log in to the management console.
  2. Click in the upper left corner and choose Network > Elastic IP.
  3. On the displayed page, click Assign EIP.
  4. Configure parameters as prompted.
    Table 1 Parameter descriptions

    Item

    Parameter

    Description

    Example Value

    Basic Configuration

    Region

    The desired region. Resources in different regions cannot communicate with each other over internal networks. 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.

    -

    Bandwidth Details

    EIP Type

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

    Dynamic BGP

    Bandwidth Details

    Billed By

    • 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 total 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 and is suitable for scenarios with staggered traffic.

    Bandwidth

    Bandwidth Details

    Bandwidth (Mbit/s)

    The bandwidth size in Mbit/s.

    100

    Bandwidth Details

    Bandwidth Name

    The name of the bandwidth. The name:

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

    bandwidth

    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

    The enterprise project that the EIP belongs to.

    An enterprise project facilitates project-level management and grouping of cloud resources and users. The default project is default.

    default

    EIP Details

    Tag

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

    • Key: Ipv4_key1
    • Value: 3005eip

    Purchase Details

    Quantity

    The number of EIPs you want to assign.

    1

  5. Click Create Now.
  6. Click Submit.

Assigning a Specific EIP

If you want to retrieve an EIP that you have released within seven days (inclusive) or assign a specific EIP, you can use APIs.

You can set the value of ip_address to the one that you want to assign.

  • If the EIP has been assigned to another user, you will fail to assign your required EIP.
  • The management console does not support assigning a specific EIP.

Why Can't I Find My EIP on the Management Console?

You can perform the following operations to locate an EIP if you cannot find it on the management console.

EIPs Not in the Current Region

  1. Log in to the management console.
  2. In the upper left corner of the console, select the region that the EIP to be queried belongs to.
  3. In the EIP list, view your EIPs.

Related Operations

Binding or Unbinding an EIP: After an EIP is assigned, you can bind it to cloud resources such as ECSs for Internet access.

Adding EIPs to or Removing EIPs from a Shared Bandwidth: After a shared bandwidth is assigned, you can add multiple pay-per-use EIPs to it so that all EIPs share the same bandwidth. This reduces network operations costs and simplifies system O&M statistics.