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/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 $50/month for the 2 GB RAM/1 vCPU plan when you add at least one 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.

Inbound data transfer is included in the price of the cluster. Outbound data transfer billing is waived until December 2020, and will be billed at $0.01/GB per month thereafter.

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.

  • Private networking is 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 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).

Known Issues

Managed Database Cluster Known Issues

  • You must use a third-party client to manage access control lists (ACLs). You can add users and databases from the DigitalOcean Control Panel.

  • 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

19 December 2019

  • Released v1.12.0 of the DigitalOcean Terraform Provider. This release contains improvements to Managed Database support including a new resource for configuring trusted sources and the ability to set the global SQL mode or Redis eviction policy on a cluster. There is also a new data source for finding supported Kubernetes versions. Learn more on the Terraform Changelog.

24 September 2019

4 September 2019

27 August 2019

For more information, see all Redis release notes.