Create a database
To create a database in your Redis Enterprise Cloud subscription:
Sign in to the Redis Cloud admin portal. (Create an account if you don’t already have one.)
If you have more than one subscription, select the target subscription from the list. This displays the Databases tab for the selected subscription.
Select the New database button.
This displays the New database screen, which varies according to your subscription plan.
The New database screen is divided into sections, each dedicated to a specific category of settings. Note that not every section or setting is available to every subscription plan.
When you’ve configured your new database, use the Activate database button to create and activate it.
The General section defines basic properties about your database.
The available settings vary according to your subscription plan:
|Subscription||Read-only description of your subscription plan, including cloud provider and region|
|Active-Active Redis||Checked when the subscription supports Active-Active databases (coming soon; Flexible or Annual subscriptions only)|
|Auto Tiering||Checked when the subscription supports Auto Tiering (Flexible or Annual subscriptions only)|
|Database name||A name for your database (required)|
|Database port||Automatically or manually assigns a database port (range: 10000-19999) (Flexible or Annual subscriptions only)|
|Type||Controls optional capabilities, such as modules or protocol. Supported values include Redis Stack (available only for Fixed and Free), Redis (default for Flexible and Annual subscriptions), and Memcached|
|Advanced capabilities||Extend core Redis functionality using advanced capabilities. Redis Enterprise Cloud supports selected advanced capabilities; for details, see Redis Enterprise module support|
|Supported Protocol(s)||Choose between RESP2 and RESP3 (Redis 7.2 only). See Redis serialization protocol for details|
All subscriptions automatically assign a database port by default.
Flexible (and Annual) subscriptions let you choose between two options:
- Auto assign automatically assigns a port number during database creation.
- Manually assign lets you enter a custom port number between 10000 and 19999. You cannot assign a port that is reserved or already in use.
Advanced capabilities extend Redis database functionality by adding new data types and options.
Available options depend on your subscription and your database Type.
Fixed (and Free) advanced capability options
Fixed and Free subscriptions support Redis Stack, which enables the most frequently used capabilities.
When the database Type is set to Redis Stack, the Advanced capabilities section of the database details page displays the advanced capabilities included with the database and their versions.
Redis Enterprise Cloud is updated on a regular basis, which includes the advanced capabilities supported by the service. Versions displayed by the admin console may vary from those shown above. For the latest details of any capability, see Redis Stack and Redis Enterprise.
Redis Stack is available only for Fixed and Free subscriptions.
Flexible and Annual advanced capability options
Flexible and Annual subscriptions let you choose advanced capabilities for each database.
You can select more than one advanced capability for a database, though there are limits:
The following advanced capabilities can be combined in Flexible and Annual subscriptions:
RedisGraph cannot be combined with other capabilities.
When you select RedisJSON, RediSearch is automatically added because the capabilities complement each other.
You can remove RediSearch if you prefer.
You don’t have to combine capabilities. To remove a selected capability, either clear the checkbox in the menu or select its Delete icon.
The Scalability section lets you manage the maximum size, throughput, and hashing policy for a database.
The Scalability section is available only for Flexible and Annual plans.
|Memory size||Maximum size (in GB) for your database|
|Throughput||Defines throughput in terms of maximum operations per second for the database
RediSearch databases use the number of shards to determine throughput. To determine how many shards you need for your RediSearch database, use the RediSearch sizing calculator.
|Hashing policy||Defines the hashing policy|
|OSS Cluster API||Enables the OSS Cluster API for a database
When this option is enabled, you cannot define a custom hashing policy
To learn more about these settings and when to use them, see Database clustering.
Memory size represents the maximum amount of memory for the database, which includes data values, keys, module data, and overhead for specific features. High availability features, such as replication and Active-Active, dramatically increase memory consumption.
Here are some general guidelines:
Memory size represents an upper limit. You cannot store more data than the memory size. Depending on your other selections, available memory for data may be much less than expected.
Replication doubles memory consumption; that is, 512MB of data requires at least 1GB of memory size when replication is enabled.
Active-Active replication also doubles memory consumption. The effect is cumulative; that is, if you enable Active-Active and replication, the memory size impact can be as large as four times (4x) the original data size. (This is significantly reduced when Auto Tiering is enabled.)
Modules also consume memory.
Memory limits in Redis Enterprise Cloud are subject to the same considerations as Redis Enterprise Software; to learn more, see Database memory limits
The Durability section helps you keep your database (and your data) available when problems occur.
|High availability||Replicates your data across multiple nodes, as allowed by your subscription plan|
|Data persistence||Defines whether (and how) data is saved to disk; available options depend on your plan type|
|Data eviction policy||Defines what happens when your database reaches its memory size limit|
|Remote backup||(paid Fixed, Flexible, or Annual subscriptions only) When enabled, identifies a location and interval for data backups.|
|Active-Passive Redis||(Flexible or Annual subscriptions only) When enabled, identifies a path to the linked database.|
The Security section helps you control access to your database.
|Default user||When enabled, permits access using a simple password|
|Redis password||Password assigned to the database when created|
|CIDR allow list||(paid Fixed, Flexible, or Annual subscriptions only) Range of IP addresses/security groups allowed to access the database|
|Transport layer security (TLS)||(Flexible or Annual subscriptions only) Enables transport security layer(TLS) encryption for database access.|
The Alerts section defines notification emails sent to your account and the conditions that trigger them.
The available alerts vary according to the subscription type.
|Dataset size has reached||When enabled, sends an an email when the database reaches the defined memory size (Free, Flexible, or Annual plans only)|
|Latency is higher than||When enabled, sends an an email when the latency exceeds the defined memory size (paid Fixed plans only)|
|Number of connections||When enabled, sends an email when the connections exceeds the defined limit. (Free and Fixed plans only)|
|Replica Of - database unable to sync with source||When enabled, sends email when the replica database cannot sync with the primary (source) database (Flexible or Annual plans only)|
|Replica Of - sync lag is higher than||When enabled, sends email when the sync lag exceeds the defined threshold (Flexible or Annual plans only)|
|Throughput is higher than||When enabled, sends an email when the operations per second exceed the defined threshold (paid Fixed, Flexible, or Annual plans only)|
|Throughput is lower than||When enabled, sends an email when the operations per second falls below the defined threshold (paid Fixed, Flexible, or Annual plans only)|
|Total size of datasets under this plan reached||When enabled, sends an an email when the database reaches the defined memory size (paid Fixed plans only)|