Help Center/ Virtual Private Cloud/ User Guide (Kuala Lumpur Region)/ Elastic IP/ Assigning an EIP and Binding It to an ECS
Updated on 2024-04-11 GMT+08:00

Assigning an EIP and Binding It to an ECS

Scenarios

You can assign an EIP and bind it to an ECS so that the ECS can access the Internet.

Assigning an 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. Set the parameters as prompted.
    Table 1 Parameter descriptions

    Parameter

    Description

    Example Value

    Region

    Regions are geographic areas that are physically isolated from each other. The networks inside different regions are not connected to each other, so resources cannot be shared across different regions. For lower network latency and faster access to your resources, select the region nearest you. The region selected for the EIP is its geographical location.

    N/A

    EIP Type

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

    Dynamic BGP

    Billed By

    The following bandwidth types are available:
    • 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 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

    The bandwidth size in Mbit/s.

    100

    EIP Name

    The name of the EIP.

    eip-test

    Bandwidth Name

    The name of the bandwidth.

    bandwidth

    Tag

    The EIP tags. Each tag contains a key and value pair.

    The tag key and value must meet the requirements listed in Table 2.

    • Key: Ipv4_key1
    • Value: 3005eip

    Quantity

    The number of EIPs you want to purchase.

    1

    Enterprise Project

    The enterprise project that the EIP belongs to.

    An enterprise project lets you manage cloud resources and personnel by enterprise project. The default project is default.

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

    default

    Table 2 EIP tag requirements

    Parameter

    Requirement

    Example Value

    Key

    • Cannot be left blank.
    • Must be unique for each EIP.
    • Can contain a maximum of 36 characters.
    • Can contain letters, digits, underscores (_), and hyphens (-).

    Ipv4_key1

    Value

    • Can contain a maximum of 43 characters.
    • Can contain letters, digits, underscores (_), periods (.), and hyphens (-).

    3005eip

  5. Click Create Now.
  6. Click Submit.

Binding an EIP

  1. On the EIPs page, locate the row that contains the target EIP, and click Bind.
  2. Select the instance that you want to bind the EIP to.

  3. Click OK.