A Redis™ Database Instance, also known as a Redis™ cluster, consists of either one standalone node or a cluster composed of three to six nodes. The cluster uses partitioning to split the keyspace. Each partition is replicated and can be reassigned or elected as the primary when necessary. Standalone mode creates a standalone database provisioned on a single node.
List Redis™ Database Instances
List all Redis™ Database Instances (Redis™ cluster) in the specified zone. By default, the Database Instances returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as tags, name, organization_id and version.
path Parameters
zoneThe zone you want to target
query Parameters
tagsFilter by Database Instance tags.
nameFilter by Database Instance names.
order_byCriteria to use when ordering the list.
project_idFilter by Project ID. (UUID format)
organization_idFilter by Organization ID. (UUID format)
versionFilter by Redis™ engine version.
pagepage_sizeList Redis™ Database Instances › Responses
List all Database Instances.
total_countTotal count of Database Instances.
Create a Redis™ Database Instance
Create a new Redis™ Database Instance (Redis™ cluster). You must set the zone, project_id, version, node_type, user_name and password parameters. Optionally you can define acl_rules, endpoints, tls_enabled and cluster_settings.
path Parameters
zoneThe zone you want to target
Create a Redis™ Database Instance › Request Body
project_idProject ID in which to create the Database Instance. (UUID format)
versionRedis™ engine version of the Database Instance.
node_typeType of node to use for the Database Instance.
user_nameName of the user created upon Database Instance creation.
passwordPassword of the user.
nameName of the Database Instance.
tagsTags to apply to the Database Instance.
cluster_sizeNumber of nodes in the Redis™ cluster.
List of ACLRuleSpec used to secure your publicly exposed cluster.
Zero or multiple EndpointSpec used to expose your cluster publicly and inside Private Networks. Zero or multiple EndpointSpec used to expose your cluster publicly and inside private networks. If no EndpoindSpec is given the cluster will be publicly exposed by default.
tls_enabledDefines whether or not TLS is enabled.
List of advanced settings to be set upon Database Instance initialization.
Create a Redis™ Database Instance › Responses
idUUID of the Database Instance. (UUID format)
nameName of the Database Instance.
project_idProject ID the Database Instance belongs to. (UUID format)
statusStatus of the Database Instance.
versionRedis™ engine version of the Database Instance.
List of Database Instance endpoints.
tagsList of tags applied to the Database Instance.
node_typeNode type of the Database Instance.
created_atCreation date (Format ISO 8601). (RFC 3339 format)
updated_atUpdate date (Format ISO 8601). (RFC 3339 format)
tls_enabledDefines whether or not TLS is enabled.
List of Database Instance settings.
List of ACL rules.
cluster_sizeNumber of nodes of the Database Instance cluster.
zoneZone of the Database Instance.
user_nameName of the user associated to the cluster.
upgradable_versionsList of engine versions the Database Instance can upgrade to.
Get a Redis™ Database Instance
Retrieve information about a Redis™ Database Instance (Redis™ cluster). Specify the cluster_id and region in your request to get information such as id, status, version, tls_enabled, cluster_settings, upgradable_versions and endpoints about your cluster in the response.
path Parameters
zoneThe zone you want to target
cluster_idUUID of the cluster. (UUID format)
Get a Redis™ Database Instance › Responses
idUUID of the Database Instance. (UUID format)
nameName of the Database Instance.
project_idProject ID the Database Instance belongs to. (UUID format)
statusStatus of the Database Instance.
versionRedis™ engine version of the Database Instance.
List of Database Instance endpoints.
tagsList of tags applied to the Database Instance.
node_typeNode type of the Database Instance.
created_atCreation date (Format ISO 8601). (RFC 3339 format)
updated_atUpdate date (Format ISO 8601). (RFC 3339 format)
tls_enabledDefines whether or not TLS is enabled.
List of Database Instance settings.
List of ACL rules.
cluster_sizeNumber of nodes of the Database Instance cluster.
zoneZone of the Database Instance.
user_nameName of the user associated to the cluster.
upgradable_versionsList of engine versions the Database Instance can upgrade to.
Delete a Redis™ Database Instance
Delete a Redis™ Database Instance (Redis™ cluster), specified by the region and cluster_id parameters. Deleting a Database Instance is permanent, and cannot be undone. Note that upon deletion all your data will be lost.
path Parameters
zoneThe zone you want to target
cluster_idUUID of the Database Instance to delete. (UUID format)
Delete a Redis™ Database Instance › Responses
idUUID of the Database Instance. (UUID format)
nameName of the Database Instance.
project_idProject ID the Database Instance belongs to. (UUID format)
statusStatus of the Database Instance.
versionRedis™ engine version of the Database Instance.
List of Database Instance endpoints.
tagsList of tags applied to the Database Instance.
node_typeNode type of the Database Instance.
created_atCreation date (Format ISO 8601). (RFC 3339 format)
updated_atUpdate date (Format ISO 8601). (RFC 3339 format)
tls_enabledDefines whether or not TLS is enabled.
List of Database Instance settings.
List of ACL rules.
cluster_sizeNumber of nodes of the Database Instance cluster.
zoneZone of the Database Instance.
user_nameName of the user associated to the cluster.
upgradable_versionsList of engine versions the Database Instance can upgrade to.
Update a Redis™ Database Instance
Update the parameters of a Redis™ Database Instance (Redis™ cluster), including name, tags, user_name and password.
path Parameters
zoneThe zone you want to target
cluster_idUUID of the Database Instance to update. (UUID format)
Update a Redis™ Database Instance › Request Body
nameName of the Database Instance.
tagsDatabase Instance tags.
user_nameName of the Database Instance user.
passwordPassword of the Database Instance user.
Update a Redis™ Database Instance › Responses
idUUID of the Database Instance. (UUID format)
nameName of the Database Instance.
project_idProject ID the Database Instance belongs to. (UUID format)
statusStatus of the Database Instance.
versionRedis™ engine version of the Database Instance.
List of Database Instance endpoints.
tagsList of tags applied to the Database Instance.
node_typeNode type of the Database Instance.
created_atCreation date (Format ISO 8601). (RFC 3339 format)
updated_atUpdate date (Format ISO 8601). (RFC 3339 format)
tls_enabledDefines whether or not TLS is enabled.
List of Database Instance settings.
List of ACL rules.
cluster_sizeNumber of nodes of the Database Instance cluster.
zoneZone of the Database Instance.
user_nameName of the user associated to the cluster.
upgradable_versionsList of engine versions the Database Instance can upgrade to.
Get metrics of a Redis™ Database Instance
Retrieve the metrics of a Redis™ Database Instance (Redis™ cluster). You can define the period from which to retrieve metrics by specifying the start_date and end_date.
path Parameters
zoneThe zone you want to target
cluster_idUUID of the cluster. (UUID format)
query Parameters
start_atStart date. (RFC 3339 format)
end_atEnd date. (RFC 3339 format)
metric_nameName of the metric to gather.
Get metrics of a Redis™ Database Instance › Responses
Time series of metrics of a given cluster.
Scale up a Redis™ Database Instance
Upgrade your Redis™ Database Instance, either by upgrading to a bigger node type (vertical scaling) or by adding more nodes to your Database Instance to increase your number of endpoints and distribute cache (horizontal scaling, available for clusters only). Note that scaling horizontally your Redis™ Database Instance will not renew its TLS certificate. In order to refresh the TLS certificate, you must use the Renew TLS certificate endpoint.
path Parameters
zoneThe zone you want to target
cluster_idUUID of the Database Instance to update. (UUID format)
Scale up a Redis™ Database Instance › Request Body
versionRedis™ engine version of the Database Instance.
node_typeType of node to use for the Database Instance.
cluster_sizeNumber of nodes for the Database Instance.
Scale up a Redis™ Database Instance › Responses
idUUID of the Database Instance. (UUID format)
nameName of the Database Instance.
project_idProject ID the Database Instance belongs to. (UUID format)
statusStatus of the Database Instance.
versionRedis™ engine version of the Database Instance.
List of Database Instance endpoints.
tagsList of tags applied to the Database Instance.
node_typeNode type of the Database Instance.
created_atCreation date (Format ISO 8601). (RFC 3339 format)
updated_atUpdate date (Format ISO 8601). (RFC 3339 format)
tls_enabledDefines whether or not TLS is enabled.
List of Database Instance settings.
List of ACL rules.
cluster_sizeNumber of nodes of the Database Instance cluster.
zoneZone of the Database Instance.
user_nameName of the user associated to the cluster.
upgradable_versionsList of engine versions the Database Instance can upgrade to.