Updated on 2024-05-21 GMT+08:00

Binding and Unbinding an EIP

Scenarios

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

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 3306, ensure that the security group allows access to the port 3306.

Constraints

If an HTAP instance already has an EIP bound, that EIP needs to be unbound before a new one can be configured.

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, choose Databases > GaussDB(for MySQL).
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the navigation pane on the left, choose HTAP Analysis.
  6. Click the name of an HTAP instance to go to the Basic Information page.
  7. In the Network Information area, click Bind in the Public IP Address (EIP) field.

    Figure 1 Binding an EIP

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

    If no EIPs are available, click View EIP to create an EIP on the network console.

    Figure 2 Selecting an EIP

  9. In the Public IP Address (EIP) field of the Network Information area, view the EIP that was bound.

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

Unbinding an EIP

  1. On the Instances page, locate a GaussDB(for MySQL) instance and click the instance name to go to the Basic Information page. In the navigation pane on the left, choose HTAP Analysis. Locate an HTAP instance that an EIP was bound to and click its name to go to the Basic Information page.
  2. In the Network Information area, click Unbind in the Public IP Address (EIP) field.

    Figure 3 Unbinding an EIP

  3. In the displayed dialog box, click Yes.
  4. If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.

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

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