title | summary |
---|---|
Configure an IP Access List |
Learn how to configure IP addresses that are allowed to access your TiDB Cloud Dedicated cluster. |
For each TiDB Cloud Dedicated cluster in TiDB Cloud, you can configure an IP access list to filter internet traffic trying to access the cluster, which works similarly to a firewall access control list. After the configuration, only the clients and applications whose IP addresses are in the IP access list can connect to your TiDB Cloud Dedicated cluster.
Note:
Configuring the IP access list is only available for TiDB Cloud Dedicated clusters.
To configure an IP access list, take the following steps in the TiDB Cloud console:
-
Navigate to the Clusters page, and then click the name of your target cluster to go to its overview page.
-
In the left navigation pane, click Networking, and then click Add IP Address.
-
In the dialog, choose one of the following options:
- Allow access from anywhere: allows all IP addresses to access TiDB Cloud. This option exposes your cluster to the internet completely and is highly risky.
- Use IP addresses (recommended): you can add a list of IPs and CIDR addresses that are allowed to access TiDB Cloud via a SQL client.
-
If you choose Use IP addresses, add IP addresses or CIDR range with an optional description. For each TiDB Cloud Dedicated cluster, you can add up to 100 IP addresses.
-
Click Confirm to save your changes.