Trusted sources
Allow only your own servers' IP addresses to connect to a Redis database, or leave it open to any address that has the password.
Trusted sources are the IPv4 addresses and ranges that may connect to a Redis database. With an empty list, anyone with the password can connect over TLS. Adding sources allows only those.
Open the database and select Trusted sources.
Add a source
- Enter an IP address or range, for example
203.0.113.7for one server or203.0.113.0/24for a range (from /8 to /32). - Add a Label such as "web servers", so you know what it is later.
- Select Add source.
Changes apply within a few seconds. Connections from other addresses are refused.
To remove a source, select the remove button on its row. Removing the last one opens the database to any IP again (password still required).
Related
Connect to Redis
Connect your app to an Infraista Redis database over TLS with a rediss:// URL, valkey-cli or redis-cli, and client examples for Node.js, Python and PHP.
Backups and restore
Redis databases are backed up every day and kept for 7 days. Take a backup on demand, download one, or restore a backup to replace the data.