Updated on 2022-09-16 GMT+08:00

Binding and Unbinding an EIP

Scenarios

After they are created, DDM instances are not accessible over public networks by default (with no EIPs bound). You can bind an EIP to a DDM instance for public access and then unbind the EIP when public access is no longer required.

Constraints

After you bind an EIP to a DDM instance with load balancing enabled, the system will random select a node of the instance and bind the EIP to the node. In this case, load balancing may take effect. So, do not bind any EIP for a DDM instance with load balancing enabled.

In the upper right corner of the DDM console, you can choose Service Tickets > Create Service Ticket to enable load balancing for your DDM instance.

Prerequisites

  • You have applied for an EIP on the VPC console.
  • If a DDM instance has already been bound with an EIP, you must unbind the EIP from the instance first before binding a new EIP to it.
  • If a DDM instance contains both read-only and read/write groups, you can bind an EIP only to a node of the read/write groups.

Binding an EIP

  1. On the Instances page, select the instance that you want to bind an EIP for and click its name.
  2. In the Instance Information area, click Bind beside EIP.
  3. 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 obtain an EIP.

  4. On the Basic Information page, view the EIP that has been bound to the instance.

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

Unbinding an EIP

  1. On the Instances page, select the DDM instance from which you want to unbind an EIP and click its name.
  2. In the Instance Information area, click Unbind.

    Figure 1 Unbinding an EIP

  3. In the displayed dialog box, click Yes to unbind the EIP.
  4. On the Basic Information page, check whether the EIP is unbound.