Binding and Unbinding an EIP
After you create an instance, you can bind an EIP to it to allow external access. If later you want to prohibit external access, you can also unbind the EIP from the DB instance.
Precautions
- Deleting a bound EIP does not mean that the EIP is unbound.
- Before accessing a database, 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 Configuring Security Group Rules.
- In the replica set instance, only primary and secondary nodes can have an EIP bound. To change the EIP that has been bound to a node, you need to unbind it from the node first.
Binding an EIP
- Log in to the management console.
- Click
in the upper left corner and select a region and a project.
- Click
in the upper left corner of the page and choose Databases > Document Database Service.
- On the Instances page, click the replica set instance name.
- In the navigation pane on the left, choose Connections. Click the Public Connection tab. In the Basic Information area, locate the node you want to bind an EIP to and click Bind EIP in the Operation column.
Figure 1 Binding an EIP
You can also locate the node in the Node Information area on the Basic Information page and click Bind EIP in the Operation column.
Figure 2 Binding an EIP - 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 create an EIP on the VPC console.
Figure 3 Selecting an EIP
- Locate the target node. In the EIP column, you can view the EIP that was bound.
To unbind an EIP from the instance, see Unbinding an EIP.
Unbinding an EIP
- Log in to the management console.
- Click
in the upper left corner and select a region and a project.
- Click
in the upper left corner of the page and choose Databases > Document Database Service.
- On the Instances page, click the replica set instance that has been bound with an EIP.
- In the navigation pane on the left, choose Connections. Click the Public Connection tab. In the Basic Information area, locate the node and click Unbind EIP in the Operation column.
Figure 4 Unbinding an EIP
You can also locate the node in the Node Information area on the Basic Information page and click Unbind EIP in the Operation column.
- In the displayed dialog box, click Yes.
To bind an EIP to the instance again, see Binding an EIP.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot