• Elastic IP

eip
  1. Help Center
  2. Elastic IP
  3. User Guide
  4. Elastic IP Address
  5. Assigning an EIP and Binding It to an ECS

Assigning an EIP and Binding It to an ECS

Scenarios

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

Procedure

Assign an EIP.

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. On the console homepage, under Network, click Virtual Private Cloud.
  4. In the navigation pane on the left, choose Elastic IP.
  5. On the Elastic IP page, click Assign EIP.
  6. Set the parameters as prompted.
    Figure 1 Assign EIP
    Table 1 Parameter description

    Parameter

    Description

    Example Value

    Region

    Specifies the desired region. Regions are geographic areas isolated from each other. Resources are region-specific and cannot be used across regions through internal network connections. For low network latency and quick resource access, select the nearest region.

    eu-de

    Bandwidth Size

    Specifies the size of the bandwidth.

    100

    Bandwidth Name

    Specifies the name of the bandwidth.

    bandwidth

    Tag

    Specifies the EIP tag that consists of a key and value pair.

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

    • Key: Ipv4_key1
    • Value: 192.168.12.10

    Quantity

    Specifies the number of EIPs to be assigned.

    1

    Table 2 EIP tag requirements

    Parameter

    Requirements

    Example Value

    Key

    • Cannot be left blank.
    • Must be unique for each EIP.
    • Can contain a maximum of 36 characters.
    • Can contain only the following character types:
      • Uppercase letters
      • Lowercase letters
      • Digits
      • Special characters, including hyphens (-) and underscores (_)

    Ipv4_key1

    Value

    • Can contain a maximum of 43 characters.
    • Can contain only the following character types:
      • Uppercase letters
      • Lowercase letters
      • Digits
      • Special characters, including hyphens (-) and underscores (_)

    192.168.12.10

  7. Click Assign Now.
  8. Click Submit.

Bind an EIP.

  1. On the Elastic IP page, locate the row that contains the target EIP, and click Bind.
  2. Select the desired instance.
    Figure 2 Bind EIP
  3. Click OK.

An IPv6 client on the Internet can access the ECS that has an EIP bound in a VPC. For details about the implementation and constraints, see How Does an IPv6 Client on the Internet Access the ECS That Has an EIP Bound in a VPC?.