forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
3.7 KiB
3.7 KiB
Step 2: Bind an EIP
Scenarios
You can bind an EIP to a DB instance for public access and can unbind the EIP from the DB instance if needed.
Precautions
- Public accessibility reduces the security of DB instances. Therefore, exercise caution when enabling this function. To achieve a higher transmission rate and security level, you are advised to migrate your applications to the ECS that is in the same region as the GaussDB(for MySQL) DB instance.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project.
- Click Service List. Under Databases, click GaussDB(for MySQL).
- On the Instances page, click the target DB instance.
- In the Network Information area, click Bind in the Private IP Address field.
- In the displayed dialog box, select an EIP and click OK.If no available EIPs are displayed, click View EIP and obtain an EIP.
You need to configure security group rules and enable specific IP addresses and ports to access the target DB instance. For details, see Step 3: Configure Security Group Rules.
- On the EIPs page, view the EIP that has been bound to the DB instance.
Parent topic: Connecting to a DB Instance Over a Public Network