Binding and Unbinding an EIP

Scenarios

By default, a TaurusDB instance is not publicly accessible (not bound with an EIP) after being created. You can bind an EIP to the instance for public accessibility and can unbind the EIP from the instance as required.

Important

To ensure that the database can be accessed, the security group used by the database must have the permission to access the database port. For example, if the database port is 3306, ensure that the security group has the permission to access port 3306.

Prerequisites

  • You have assigned an EIP on the VPC console.

  • If a DB instance has already been bound with an EIP, you must unbind the EIP from the DB instance first before binding a new EIP to it.

Binding an EIP

  1. Log in to the management console.

  2. Click image1 in the upper left corner and select a region and a project.

  3. Click Service List. Under Databases, click TaurusDB.

  4. On the Instances page, click the instance name to go to the Basic Information page.

  5. In the Network Information area, click Bind in the Public IP Address (EIP) field.

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

    If no available EIPs are displayed, click View EIP and obtain an EIP.

    Important

    You need to configure security group rules and enable specific IP addresses and ports to access the target DB instance.

  7. On the EIPs page, view the EIP that has been bound to the DB instance.

    To unbind the EIP from the DB instance, see Unbinding an EIP.

Unbinding an EIP

  1. On the Instance Management page, click the DB instance that has been bound with an EIP. The Basic Information page is displayed.

  2. In the Network Information area, click Unbind in the Public IP Address (EIP) field.

  3. In the displayed dialog box, click Yes.

  4. To bind an EIP to the DB instance again, see Binding an EIP.