forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
8.1 KiB
8.1 KiB
Binding and Unbinding an EIP
Scenarios
By default, a DB instance is not publicly accessible (not bound with an EIP) after being created. You can bind an EIP to a DB instance for public accessibility, and you can unbind the EIP from the DB instance later if needed.
Prerequisites
- You have assigned an EIP on the VPC console.
- You can bind an EIP to a primary DB instance or a read replica only.
- If a DB instance has already been bound with an EIP, you must unbind the EIP from the DB instance first before binding a new EIP to it.
Binding an EIP
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instances page, click the target DB instance.
- In the navigation pane on the left, choose Connectivity & Security. In the Connection Information area, click Bind next to the EIP field.
- In the displayed dialog box, all unbound EIPs are listed. Select the EIP to be bound and click OK. If no available EIPs are displayed, click View EIP to obtain an EIP.
- On the Connectivity & Security page, check the EIP that has been bound to the DB instance.
You can also view the progress and result of binding an EIP to a DB instance on the Task Center page.
To unbind the EIP from the DB 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 Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instances page, click the DB instance that has an EIP bound.
- In the navigation pane on the left, choose Connectivity & Security. In the Connection Information area, click Unbind next to the EIP field.
- In the displayed dialog box, click OK.
- On the Connectivity & Security page, check the results.
You can also view the progress and result of unbinding an EIP from a DB instance on the Task Center page.
To bind an EIP to the DB instance again, see Binding an EIP.
Parent topic: Connection Management
