Hologres allows you to configure IP address whitelists in HoloWeb and control accesses to your databases. This ensures secure and stable operations in Hologres. This topic describes how to configure an IP address whitelist in the HoloWeb console.
Limits
When you configure an IP address whitelist in HoloWeb, take note of the following
items:
- Only Hologres V0.10.14 and later support the IP address whitelist feature. You can
view the version of your Hologres instance on the instance details page in the Hologres
console. You can also execute the
select hg_version()
statement to check the version of your Hologres instance. If the version of your Hologres instance is earlier than V0.10.14, submit a ticket or join the Hologres DingTalk group to apply for updating the instance. - If you do not configure an IP address whitelist after you purchase an instance, databases in the instance can be accessed by using all types of networks. For more information about how to purchase an instance, see Purchase a Hologres instance.
- Only the superuser can configure IP address whitelists for instances.
- To configure an IP address whitelist for an instance in HoloWeb, you must set the
Logon Method parameter to Password-free Logon when you create a connection to the instance. For more information about how to create
a connection to a Hologres instance, see HoloWeb quick start.
- If your Hologres instance is connected by using Flink but cannot be accessed, query the IP address and CIDR block of the Flink and add them to the whitelist of the databases. For more information about how to obtain the IP address and CIDR block of the Flink, see Reference.
Create an IP address whitelist
Edit an IP address whitelist
After an IP address whitelist is created, only the IP addresses in the whitelist can
be modified. To modify the authorized users and databases, you must create another
IP address whitelist.
Note Only superusers can edit IP address whitelists.
- In the top navigation bar of the HoloWeb console, click Security Center. In the left-side navigation pane of the Security Center tab, click IP Address Whitelist.
- On the IP Address Whitelist page, find the whitelist that you want to modify and click Edit in the Operation column.
- In the Edit IP Address in Whitelist dialog box, modify the IP addresses. For more information about how to specify IP addresses for a whitelist, see the "Create an IP address whitelist" section of this topic.
- Click OK to complete the configuration.
Delete an IP address whitelist
You can delete IP address whitelists that are no longer needed. After you delete all
IP address whitelists for a connection, no whitelist is available for the relevant
instance and databases.
Note Only superusers can delete IP address whitelists.
- In the top navigation bar of the HoloWeb console, click Security Center. In the left-side navigation pane of the Security Center tab, click IP Address Whitelist.
- On the IP Address Whitelist page, find the whitelist that you want to delete and click Delete in the Operation column.
- In the dialog box that appears, click OK.