Updated on 2026-11-23 GMT+08:00

Enabling Access Control for a Proxy Instance

Scenarios

If a proxy instance is created, the security group associated with the proxy instance does not apply. You need to configure access control to limit access from specific IP addresses.

Procedure

  1. Log in to the TaurusDB console.
  2. Click in the upper left corner and select a region.
  3. On the Instances page, click the target instance name.
  4. On the Database Proxy page, click the target proxy instance name to go to the Basic Information page.
  5. Click under Access Control to enable access control.
  6. Click Configure. In the displayed dialog box, configure the access control mode and IP addresses or CIDR blocks.

    Figure 1 Configuring access control

    Table 1 Parameter description

    Parameter

    Description

    Access Control

    The blacklist and whitelist cannot be configured at the same time. If you switch between lists, your previously entered settings will be lost. IP addresses or CIDR blocks in the whitelist can access the proxy instance, while those in the blacklist cannot.

    IP Address or CIDR Block

    Specify the range of IP addresses allowed to access the proxy instance. The following formats are supported:

    • Single IP address: 10.0.0.1
    • CIDR block: 10.0.0.0/24
    • IP address range: 192.168.1.1-192.168.1.100 (The starting IP address must be less than the ending IP address.)

    The following constraints apply:

    • Enter one IP address, IP address range, or CIDR block per line. Press Enter at the end of each line.
    • You can add a description separated by a vertical bar (|), for example, 192.168.10.10|TaurusDB 01. The description must be 0 to 50 characters long and cannot contain angle brackets (< or >).
    • IPv4 address ranges are supported in the "starting IP address-ending IP address" format, and the ending IP address must be greater than the starting IP address, for example, 192.168.1.2-192.168.2.253.
    • IPv6 addresses, address ranges, and CIDR blocks are not supported.
    • A maximum of 300 entries is allowed. An IP address range (for example, 192.168.1.1-192.168.1.100) is expanded into multiple IP address or CIDR block entries. The total number of entries after expansion cannot exceed 300.

      For example, an IP address range containing 100 IP addresses is expanded into approximately seven CIDR block entries. A single IP address (for example, 10.0.0.1) and a CIDR block (for example, 10.0.0.0/24) each count as one entry.

  7. On the Basic Information page of the proxy instance, check that access control is enabled. Click Configure to view the new access control setting.
  1. Log in to the TaurusDB console.
  2. Click in the upper left corner and select a region.
  3. On the Instances page, click the instance name to go to the Basic Information page.
  4. On the Database Proxy page, click the target proxy instance name to go to the Basic Information page.
  5. Click under Access Control.
  6. In the displayed dialog box, click OK.
  7. Refresh the page later and check that access control is disabled.