Help Center> GaussDB> User Guide> Instance Modifications> Binding and Unbinding an EIP
Updated on 2024-05-07 GMT+08:00

Binding and Unbinding an EIP

Scenarios

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

To ensure that the database can be accessed, the security group used by the database must allow access to the database port. For example, if the database port is 1611, ensure that the security group allows access to the port 1611.

Precautions

  • If a DB instance has already been bound with an EIP, you must unbind the EIP from the instance first before binding a new EIP to it.
  • An EIP can be bound to only one node IP address of a DB instance.

Binding an EIP

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.

  3. Click in the upper left corner of the page and choose Databases > GaussDB.
  4. On the Instances page, click the name of the target instance to go to the Basic Information page.
  5. In the Connection Information area, locate the private IP address and click Bind in the Operation column.

  6. In the displayed dialog box, all available unbound EIPs are listed. Select the required EIP and click OK.

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

  7. In the Connection Information area, view the bound IP address.

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

    After the EIP is bound, you can click next to the private IP address to view its details.

Unbinding an EIP

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.

  3. Click in the upper left corner of the page and choose Databases > GaussDB.
  4. On the Instances page, click the instance that has been bound with an EIP.
  5. In the Connection Information area, click Unbind in the Operation column of the relevant IP address.

  6. In the displayed dialog box, click Yes to unbind the EIP.
  7. If you have enabled operation protection, click Send Code in the displayed Identify Verification dialog box and enter the obtained verification code. Then, click OK.

    Two-factor authentication improves the security of your account. For details about how to view and enable high-risk operation protection, see Identity and Access Management User Guide.

  8. In the Connection Information area, view the results.

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