Creating Databases on Redise Cloud (RC)
If you need to get a Redis database running quick and easy, but managed by the people that develop Redis open source, you are in the right place. You may have as many databases up to the limit on your subscription and size of your plan, whichever comes first.
To just get a quick and dirty database running, try the quick setup page. If you want to know about all of the option to setup a production class Redis database in Redise Cloud, read on below. If you would prefer to watch a video, click here.
- Select Database from the top right menu in Redis Cloud.
- Click on the plus sign to add a Database.
- Fill out a Database Name, it can be up to 40 characters long. (Required)
- Select replication or not. Default is on.
- Select your preferred Data Persistence option. For more specific information on persistence, please go here.
- Enter a password if you would like to secure your database. This is highly recommended.
- Enter a Source IP/Subnet that you would like to require source traffic (i.e. your application server) to come from.
- Add pre-existing AWS Security Groups that you would like to use, if your subscription is in AWS.
- If your RC plan supports using SSL/TLS certificates, you can add SSL Client Authentication to your database here if you so desire. For specific information on this, see Securing Redis Cloud Connections with SSL/TLS.
- For more advanced options, click on “More Options”.
- Chose a Data Eviction Policy or accept the default.
Options Description allkeys-lru Evicts the least recently used keys out of all keys allkeys-random Randomly evicts keys out of all keys volatile-lru (default) Evicts the least recently used keys out of keys with an “expire” field set volatile-random Randomly evicts keys with an “expire” field set volatile-ttl Evicts the shortest time-to-live and least recently used keys out of keys with an “expire” field set no eviction Returns error if memory limit has been reached when trying to insert more data
- If you would like Periodic backups of your database, here is where you would put the path store them. For specific information on how to format that and how to do it, please see Configuring Database Backups for Redise Cloud
- You can add Alert Settings for your database for these metrics so you and your team can be alerted to these thresholds.
Why does Redise Cloud limit the number of DBs?
The reason for the limitation on the number of DBs is that each DB is a different process. You can read more about it here. As each additional process incurs additional costs, there is very little flexibility we can offer.
How many Redis databases can I create and manage?
Each subscription plan (except for our free plans) enables multiple dedicated databases, each running in a dedicated process and in a non-blocking manner.
A 1GB plan for example, enables 16 dedicated databases. Read here for more info.