Configure CIDR allow list
The CIDR allow list lets you restrict traffic to your Redis Cloud database. When you configure an allow list, only the IP addresses defined in the list can connect to the database. Traffic from all other IP addresses is blocked.
Database allow list
You can configure your database’s CIDR allow list to restrict client connections to a specific range of IP addresses.
Define CIDR allow list
To define the CIDR allow list for a database:
Select Databases from the Redis Cloud console menu and then select your database from the list.
From the database’s Configuration screen, select the Edit database button.
In the Security section, turn on the CIDR allow list toggle.
Enter the first IP address (in CIDR format) you want to allow in the text box and then select the check mark to add it to the allow list:
To allow additional IP addresses:
Select Save database to apply your changes.
Subscription allow list
If you use a self-managed, external cloud account to host your Redis Cloud deployment, you can configure a subscription-wide allow list to restrict traffic to all databases associated with the subscription.
The subscription CIDR allow list defines a range of IP addresses and AWS security groups that control inbound and outbound traffic to the Redis Cloud VPC. When you add security groups to the allow list, you can also use the same security groups to manage access to your application.
Allow IP address or security group
To add IP addresses or AWS security groups to a subscription’s allow list:
From the Redis Cloud console menu, select Subscriptions and then select your subscription from the list.
Select Connectivity > Allow List.
If the allow list is empty, select Add allow list.
Select an entry Type from the list:
In the Value box, enter one of these options:
An IP address in CIDR format
The AWS security group ID
Select check to add the entry to the allow list.
To allow additional IP addresses or security groups:
Select Apply all changes to apply the allow list updates.