Updated on 2022-12-22 GMT+08:00

Step 2: Bind 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 the DB instance for public accessibility and can unbind the EIP from the DB instance as required.

Precautions

  • You need to configure security groups and enable specific IP addresses and ports to access the target DB instance. Before accessing the DB instance, you need to add an individual IP address or an IP address range that will access the DB instance to the inbound rule. For details, see section Step 3: Configure Security Group Rules.
  • Public accessibility reduces the security of DB instances. Therefore, exercise caution when deciding to connect to DB instances through a public network. 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 RDS.

Binding an EIP

  1. On the Instance Management page, click the target DB instance.
  2. In the navigation pane on the left, choose EIPs. On the displayed page, click Bind EIP.
  3. In the displayed dialog box, select an EIP and click OK.

    If no available EIPs are displayed, click View EIP to obtain an EIP.

  4. On the EIPs page, view 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.