Updated on 2024-04-11 GMT+08:00

Binding an EIP

Scenarios

You can bind an EIP to a DB instance for public accessibility and can unbind the EIP from the DB instance as required.

Precautions

  • To enable this function, contact customer service.
  • You need to configure security groups and enable specific IP addresses and ports to access the target DB instance. Before accessing the DB instance, add an individual IP address or an IP address range that will access the DB instance to the inbound rule. For details, see Configuring Security Group Rules.
  • Traffic generated by the public network is charged. You can unbind the EIP from the DB instance when the EIP is no longer used.

Binding an EIP

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the target DB instance.
  5. In the navigation pane on the left, choose Connectivity & Security. In the Connection Information area, click Bind next to the EIP field.

  6. In the displayed dialog box, select an EIP and click Yes.

    Figure 1 Selecting an EIP

  7. On the Connectivity & Security page, view the EIP that has been bound to the DB instance.

    You can also view the progress and result of binding an EIP to a DB instance on the Task Center page.