This article explains
how to allow users and applications only from specific IP addresses to access your Managed Apache Airflow® cluster
by adding and managing allowlist entries.
An allowlist consists of single IP addresses and CIDR blocks that are allowed to connect to the cluster.
Allowlists are also often referred to as access lists.
By default, a cluster's allowlist contains the IP address that the cluster was created from.
About allowlist entries
On DoubleCloud, you can allow access to clusters to both single ID addresses and CIDR blocks.
Single IP address
CIDR
You can add single IP addresses to the allowlist.
By default, the address that the cluster was created from is included in the allowlist.
You can IP address ranges as CIDR blocks.
For example, you can add the range of addresses from 192.168.0.1 to 192.168.0.255
by using a shorter CIDR notation of 192.168.0.1/24.
In this example, 24 corresponds to the 255.255.255.0 netmask (or subnet mask).
The netmask value in a CIDR can be between 0 and 32 because an IPv4 address is 32 bits long.
Select the Airflow® cluster where you want to add an allowlist entry.
Switch to the Allowlist tab.
Click Edit.
In the dialog, click Add item.
In IP address or CIDR, enter a single IP address or a CIDR block.
CIDR blocks have the <ip-address>/<netmask> format.
To calculate the netmask, use the CIDR Subnet calculator .
(Optional) Enter a description of the IP address or CIDR block.
Click Save.
Remove access restrictions
Warning
Removing access restrictions opens your Airflow® cluster to any outside connection and may cause security issues.
Only do that if it's absolutely necessary.
To remove access restrictions in your Airflow® cluster
and allow connections from any IP address,
take the following steps: