Redis

Redis is an open source, key-value database built with an in-memory design that emphasizes speed. It has support for rich data types, atomic operations, and Lua scripting.

Plans and Pricing

There are two kinds of database cluster plans you can choose from: single node clusters and high availability clusters.

  • Single node clusters begin at $15.00 per month for a single node cluster with 1 GB of RAM. Single node clusters are not highly available, but they feature automatic failover. These clusters are a good fit for preliminary development and testing.

  • High availability clusters begin at $30.00 per month for a 2 GB RAM/1 vCPU primary node with at least one $20.00 per month matching standby node for automatic failover.

    You can add or remove standby nodes at any time. Other features, like point-in-time recovery and read-only nodes, vary by database engine. Learn more about feature availability.

  • Read-only nodes begin at $10.00 per month. Read-only nodes are replicas of a cluster’s primary node located in additional geographical regions.

Inbound and outbound data transfer is included in the price of the cluster.

Machine Type

All managed databases are deployed onto Droplets. You can choose to deploy your managed database on a Droplet with a CPU that is shared with other DigitalOcean users, or deploy it on a machine with a dedicated CPU.

Learn more about shared CPU vs. dedicated CPU and the best use cases for each kind of plan in Choosing the Right Droplet Plan.

Machine Type CPU vCPUs Memory
Basic Shared 1 - 8 1 - 16 GB RAM
Memory-Optimized Dedicated 2 - 32 16 - 256 GB RAM
8 GB RAM / vCPU
Note
General Purpose and Storage Optimized Droplets are not currently available for Redis clusters.

Review the region availablity matrix to see which machine types are available for each region.

Regional Availability

Redis database clusters are in General Availability. Our regional availability matrix has more detail about our datacenter regions and product availability. Managed databases will not be offered in NYC2, AMS2, or SFO1.

Features

Managed Database Cluster Features

  • Automatic updates. You can select a date and time during which weekly automatic updates for the database engine and operating system will occur to keep the service stable and secure.

  • End-to-end security. Data is encrypted at rest with LUKS and in transit with SSL.

  • Cluster metrics and alerting. Cluster metrics visualizations help you monitor the performance of the nodes in a database cluster, like resource usage, to guide capacity planning and optimization. Alert policies notify you when a metric rises above or falls below a threshold you set, like high CPU or low memory.

Redis Features

  • Database metrics. Redis-specific performance metrics help you assess the health of the database, pinpoint performance bottlenecks, and identify unusual use patterns that may indicate an application bug or security breach.

  • Eviction policies. Redis’s data eviction policies let you choose how Redis evicts data when the database hits its size limit. You can customize the eviction policy in the control panel or via the API.

Limits

Managed Database Cluster Limits

  • By default, you are limited to 3 clusters per account or team.

  • You cannot delete the default database and user.

  • VPC networks are available within the same account or team only and within the same datacenter region only.

  • You cannot resize cluster nodes to smaller sizes. To move from a bigger node to a smaller node, create a new cluster with the desired node size and import your data.

  • You cannot currently add DigitalOcean Cloud Firewalls to a database cluster’s trusted sources.

Redis Limits

  • DigitalOcean Managed Databases Redis clusters do not support the following features:

    • Query statistics
    • Read-only nodes
    • Cluster forking
    • Connection pooling
    • Backups and point-in-time recovery (PITR)
    • Current and long-running queries
  • Redis database clusters do not support third-party clients to manage access control lists (ACLs).

  • You cannot add users to Redis database clusters using the DigitalOcean Control Panel.

  • Redis database clusters only support 1- and 2-node configurations, i.e. 1 primary node and up to 1 standby node. It does not support 3-node clustering, i.e. 2 standby nodes.

  • The amount of available memory in Redis nodes is less than the total amount of RAM because some memory is reserved for the Redis service to function normally. Learn more about Redis memory usage.

  • Redis nodes can have up to either 10,000 simultaneous connections or 4 simultaneous connections per megabyte of memory, whichever is larger.

    For example, a node with 1GB (1024MB) of memory can have up to 10,000 simultaneous connections. A node with 4GB (4096MB) of memory can have up to 4 * 4096 = 16,384 simultaneous connections.

  • You cannot create a standby node with the smallest node size (1GB-RAM-1-vCPU).

  • Migrations from AWS ElasticCache are not currently supported.

Known Issues

Managed Database Cluster Known Issues

  • You can’t use DigitalOcean’s Cloud Firewalls with managed databases. Until support is available, you can restrict access to nodes by their incoming IPv4 addresses.

Latest Updates

3 March 2021

  • Online migration for PostgreSQL and Redis databases has been released in Beta. Select users can now migrate Redis and PostgreSQL databases that reside inside and outside of DigitalOcean to existing database clusters in their DigitalOcean account. Redis migrations from AWS ElasticCache are not currently supported.

18 November 2020

  • Redis 6 Managed Databases are now available. Redis 6 includes enhanced security features and client-side caching. You can no longer create Redis 5 clusters, but Redis 6 clusters are fully backwards compatible.

28 April 2020

  • The DigitalOcean Virtual Private Cloud (VPC) service is now available for all customers. VPC replaces the private networking service. Existing private networks will continue to function as normal but with the enhanced security and features of the VPC service. See the description of VPC features for more information.

For more information, see all Redis release notes.