Allow lists in Managed Service for ClickHouse®
This page explains what allow lists are and which IP address allocation methods are used to define them.
Allow list
An allow list consists of CIDRs and dedicated IP addresses you define as approved to access your cluster. You can also allow or block the DoubleCloud system services from accessing the data on your cluster.
IP addresses not added to the allow list can't access your cluster.
IP address allocation methods
There are two main IP address allocation methods in DoubleCloud allow lists: CIDRs and single IP addresses.
-
CIDR is a compact method for specifying IP addresses and their routing suffixes.
You can express, for example, the IP address range from
192.168.0.1
to192.168.0.255
by using a much shorter CIDR notation of192.168.0.1/24
, where24
represents the Netmask (or the Subnet mask)255.255.255.0
.Keep in mind that an IPv4 address is 32 bits in size, so the
Netmask
value for a CIDR can be between0
and32
.You can check the
Netmask
value with an external subnet calculator, if needed. For example, CIDR Subnet calculator -
Single IP address allows you to add one IP address to your allow list.
Accessible ports
When allowing connection to your Managed Service for ClickHouse® cluster, you open the following ports:
-
9440
- the Native interface port, use it to connect with the clickhouse-client -
8443
,443
- TLS ports to send requests to the HTTP interface. -
9363
- the metrics port to connect Prometheus or other third-party solutions.
All the above ports are SSL-encrypted.