Binding and Unbinding an EIP
Scenarios
By default, a GaussDB(for MySQL) instance is not publicly accessible (not bound with an EIP) after being created. You can bind an EIP to the instance for public accessibility and can unbind the EIP from the 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.
- You can purchase a new EIP if all available EIPs may have been bound to other applications.
Prerequisites
If an instance already has an EIP bound, that EIP needs to be unbound before a new one can be configured.
Precautions
- Public accessibility reduces the security of instances. Exercise caution when deciding to connect to your instance through a public network. To achieve a higher transmission rate and security level, you are advised to migrate your applications to an ECS that is in the same region as your instance.
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, choose .
- On the Instances page, click the instance name to go to the Basic Information page.
- In the Network Information area, click Bind in the Public IP Address (EIP) field.
- 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. After the EIP is created, go back to the Basic Information page and bind the newly created EIP to the instance.
You need to configure security group rules and enable specific IP addresses and ports to access the instance.
- 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
- On the Instances page, click the instance that you want to unbind the EIP from. The Basic Information page is displayed.
- In the Network Information area, click Unbind in the Public IP Address (EIP) field.
- 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.