Step 2: Bind an EIP
Scenarios
After you create a GaussDB(for Mongo) 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
- 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 Step 3: Configure Security Group Rules.
- To change the EIP that has been bound to a node, you need to unbind it from the node first.
Binding an EIP
- On the Instance Management page, click the target instance.
- On the Basic Information page, in the Node Information area, locate the target node and click Bind EIP in the Operation column. Figure 1 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 2 Selecting an EIP
- In the EIP column, view the EIP that is successfully bound.
To unbind the EIP from the DB instance, see Unbinding an EIP.
Unbinding an EIP
- On the Instance Management page, click the target instance.
- On the Basic Information page, in the Node Information area, locate the target node and click Unbind EIP in the Operation column. Figure 3 Unbinding an EIP
- In the displayed dialog box, click Yes.
To bind an EIP to the DB instance again, see Binding an EIP.
Last Article: Step 1: Buy a GaussDB(for Mongo) Replica Set Instance
Next Article: Step 3: Configure Security Group Rules
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.