doc-exports/docs/dds/umn/dds_02_0015.html
Wang , Deng Ke 519944c837 DDS UMN 20221101 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2022-11-24 09:05:29 +00:00

5.0 KiB

Binding and Unbinding an EIP

Scenarios

You can access DDS through a private IP address or an EIP. The application scenario of the connection address is as follows:

  • Use a private IP address when:

    DDS provides a private IP address by default.

    Your applications are deployed on an ECS in a region where your replica set instance is located.

  • Use an EIP when:
    • Your applications are deployed on an ECS in a region separated from the region where your replica set instance is located.
    • Your applications are deployed on another cloud platform.

Precautions

  • Before accessing a database, you need to apply for an EIP on the VPC console. Then, add an inbound rule to allow the IP addresses or IP address ranges of ECSs. For details, see section Setting a Security Group.
  • In the replica set instance, only primary and secondary nodes can be bound to an EIP. To change the EIP that has been bound to a node, you need to unbind it from the node first.

Binding an EIP

  1. On the Instance Management page, click the target replica set instance.
  2. In the navigation pane on the left, choose Connections.
  3. In the Basic Information area, locate the target node and click Bind EIP in the Operation column.
  4. In the displayed dialog box, all EIPs in the unbound status are listed. Select the required EIP and click OK. If no available EIPs are displayed, click View EIP and create an EIP on the VPC console.
  5. In the EIP column, check that the EIP is successfully bound.

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

Unbinding an EIP

  1. On the Instance Management page, click the replica set instance that has been bound with an EIP.
  2. In the navigation pane on the left, choose Connections.
  3. In the Basic Information area, locate the target node and click Unbind EIP in the Operation column.
  4. In the displayed dialog box, click OK to unbind the EIP.

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