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)|
|Redis on Flash||Checked when the subscription supports Redis on Flash (Flexible or Annual subscriptions only)|
|Database Name||A name for your database (required)|
|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|
|Modules||Extend core Redis functionality using modules. Redis Enterprise Cloud supports selected modules; for details, see Redis Enterprise module support|
Modules extend Redis database functionality by adding new data types and options.
Available options depend on your subscription and your database Type.
Fixed (and Free) module options
Fixed and Free subscriptions support Redis Stack, which enables the most frequently used modules.
When the database Type is set to Redis Stack, the modules section of the database details page displays the modules included with the database and their versions.
Redis Enterprise Cloud is updated on a regular basis, which includes the modules supported by the service. Module versions displayed by the admin console may vary from those shown above. For the latest details of any module, see Redis modules.
Redis Stack is available only for Fixed and Free subscriptions.
Flexible and Annual module options
Flexible and Annual subscriptions let you choose modules for each database.
You can select more than one module for a database, though there are limits:
The following modules can be combined in Flexible and Annual subscriptions:
- RediSearch 2
RedisGraph cannot be combined with other modules
When you select RedisJSON, RediSearch 2 is automatically added because the modules complement each other.
You can remove RediSearch 2 if you prefer.
You don’t have to combine modules. To remove a selected module, either clear the checkbox in the menu or select the module’s 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|
|Shards||Defines the throughput in terms of shards dedicated to the database|
|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 Redis on Flash 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)|