After you create an AnalyticDB for MySQL cluster, configure a whitelist for the cluster to allow external devices to access the cluster.
- The default whitelist contains only the default IP address 127.0.0.1, which indicates that no devices are allowed to access the cluster.
- The whitelist can enhance security for accessing AnalyticDB for MySQL clusters. We recommend that you maintain the whitelist on a regular basis.
- The whitelist does not affect the normal operation of AnalyticDB for MySQL clusters.
- Log on to the AnalyticDB for MySQL console.
- In the upper-left corner of the page, select the region where the cluster you want to manage resides.
- In the left-side navigation pane, click Clusters.
- On the V3.0 Clusters tab, click the Cluster ID.
- In the left-side navigation pane, click Data Security.
- On the Whitelist Settings tab, click Edit to the right of the default whitelist.
Note You can also click Create a whitelist Group to create a new whitelist.
- In the Edit Whitelist dialog box, delete the default IP address 127.0.0.1 and enter the IP addresses or Classless Inter-domain Routing (CIDR) blocks you want to allow. Then, click OK.
- If you enter a CIDR block such as 10.10.10.0/24, all IP addresses in the 10.10.10.X format can access the cluster.
- If you want to add multiple IP addresses or CIDR blocks, separate multiple entries with commas (,). Do not add spaces before or after the commas. 192.168.0.1,172.16.213.9 is used as an example.
- The whitelist modification takes effect in 1 minute.