Amazon ElastiCache for Redis

Redis compatible in-memory data store built for the cloud. Power real-time applications with sub-millisecond latency.

Amazon ElastiCache for Redis is a blazing fast in-memory data store that provides sub-millisecond latency to power internet-scale real-time applications. Built on open-source Redis and compatible with the Redis APIs, ElastiCache for Redis works with your Redis clients and uses the open Redis data format to store your data. Your self-managed Redis applications can work seamlessly with ElastiCache for Redis without any code changes. ElastiCache for Redis combines the speed, simplicity, and versatility of open-source Redis with manageability, security, and scalability from Amazon to power the most demanding real-time applications in Gaming, Ad-Tech, E-Commerce, Healthcare, Financial Services, and IoT.

Introduction to Amazon ElastiCache for Redis (2:30)

Benefits

Extreme performance

Amazon ElastiCache for Redis works as an in-memory data store to support the most demanding applications requiring sub-millisecond response times. In comparison to disk-based databases where most operations need a round trip to disk, in-memory data stores manage data in-memory which is an order of magnitude faster than disks. The result is blazing fast performance with average read or write operations taking less than a millisecond and support for hundreds of millions of operations per second within a cluster. ElastiCache gives you an optimized end-to-end hardware and software stack for blazing fast performance. ElastiCache for Redis version 7.1 delivers up to 100% more throughput and 50% lower P99 latency, compared to ElastiCache for Redis version 7.0. You can achieve over 1 million requests per second per node, or 500 million request per second per cluster, on r7g.4xlarge nodes or larger.

Secure

Starting with Amazon ElastiCache for Redis 6, ElastiCache provides you with the ability to create and manage users and user groups that can be used to set up Role-Based Access Control (RBAC) for Redis commands. You can simplify your architecture while maintaining security boundaries, and also take advantage of granular access control to manage groups. You can use AWS Identity and Access Management (IAM) to connect to ElastICache for Redis using IAM identities. ElastiCache for Redis supports Amazon VPC, so you can isolate your cluster to the IP ranges you choose for your nodes. The ElastiCache team continuously monitors for known security vulnerabilities in open-source Redis, operating system, and firmware to keep your Redis environment secure. It is PCI compliant, HIPAA eligible, FedRAMP authorized, and offers encryption in transit, at rest (including customer managed CMK stored in AWS KMS), and Redis AUTH for secure internode communications to help keep sensitive data such as personally identifiable information (PII) safe.

Learn more about Role-based Access
Control (RBAC) »

Learn more about ElastiCache for Redis IAM Authentication »
Learn more about VPC for ElastiCache »

Fully Managed and Hardened

Amazon ElastiCache for Redis is a fully managed service. You no longer need to perform management tasks such as hardware provisioning, software patching, setup, configuration, monitoring, failure recovery, and backups. ElastiCache continuously monitors your clusters to keep your Redis up and running so that you can focus on higher value application development. It provides detailed monitoring metrics of your Redis usage, enabling you to track application trends and adjust cluster configuration, as needed. ElastiCache adds automatic write throttling, intelligent swap memory management, and failover enhancements to improve upon the availability and manageability of open source Redis. Learn more about Amazon ElastiCache for Redis »

 

Redis-Compatible

Redis is a widely adopted in-memory data store for use as a database, cache, message broker, queue, session store, and leaderboard. Amazon ElastiCache for Redis maintains compatibility with the open source Redis data formats, Redis APIs, and works with Redis clients. You can migrate your self-managed Redis workloads to ElastiCache for Redis without any code change. Learn more about open-source Redis »

 

Highly Available and Reliable

Amazon ElastiCache for Redis supports both Redis cluster and non-cluster modes and provides high availability via support for automatic failover by detecting primary node failures and promoting a replica to be primary with minimal impact. It allows for read availability for your application by supporting read replicas (across availability zones), to enable the reads to be served when the primary is busy with the increased workload. ElastiCache for Redis supports enhanced failover logic to allow for automatic failover in cases when majority of the primary nodes for Redis cluster mode are unavailable. On Redis 5.0.5 onwards, auto-failover enabled clusters provide online configuration changes for all planned operations. Learn more about automatic failover for ElastiCache »

 

Easily Scalable

With Amazon ElastiCache for Redis, you can start small and easily scale your Redis data as your application grows - all the way up to a cluster with 310 TiB of in-memory data, or 982 TiB when using clusters with data tiering. It allows you to scale your Redis Cluster environment up to 500 nodes and 500 shards. It is designed to support online cluster resizing to scale-out and scale-in your Redis clusters without downtime and adapts to changing demand. To scale read capacity, ElastiCache allows you to add up to five read replicas across multiple availability zones. To scale write capacity, ElastiCache supports Redis cluster mode which enables you to partition your write traffic across multiple primaries. Learn more about scaling ElastiCache »

 

How it works

How Redis works?

Use cases

Amazon ElastiCache for Redis is a great choice for real-time transactional and analytical processing use cases such as caching, chat/messaging, gaming leaderboards, geospatial,   machine learning, media streaming, queues, real-time analytics, and session store.

Caching

Amazon ElastiCache for Redis is a great choice for implementing a highly available, distributed, and secure in-memory cache to decrease access latency, increase throughput, and ease the load off your relational or NoSQL databases and applications. ElastiCache can serve frequently requested items at sub-millisecond response times, and enables you to easily scale for higher loads without growing the costlier backend databases. Database query results caching, persistent session caching, and full-page caching are all popular examples of caching with ElastiCache for Redis. Learn how to build a caching application with ElastiCache for Redis.

Caching with Redis

Chat and Messaging

Amazon ElastiCache for Redis supports the PUB/SUB standard with pattern matching. This allows ElastiCache for Redis to support high performance chat rooms, real-time comment streams, and server intercommunication. You can also use PUB/SUB to trigger actions based on published events. Learn how to build a chat application with ElastiCache for Redis.

Chat and Messaging with Redis

Gaming Leaderboards

Real-time gaming leaderboards are easy to create with Amazon ElastiCache for Redis. Just use the Redis Sorted Set data structure, which provides uniqueness of elements while maintaining the list sorted by their scores. Creating a real-time ranked list is as simple as updating a user's score each time it changes. You can also use Sorted Sets to handle time series data by using timestamps as the score.

Gaming Leaderboards with Redis

Geospatial

Amazon ElastiCache for Redis offers purpose-built in-memory data structures and operators to manage real-time geospatial data at scale and speed. You can use ElastiCache for Redis to add location-based features such as drive time, drive distance, and points of interests to your applications. Learn how to build a geospatial application with ElastiCache for Redis.

Geospatial with Redis

Machine Learning

Amazon ElastiCache for Redis gives you a fast in-memory data store to build and deploy machine learning models quickly. Use ElastiCache for Redis for use cases such as fraud detection in gaming and financial services, real-time bidding in ad-tech, and matchmaking in dating and ride sharing to process live data and make decisions within tens of milliseconds. Learn how Coffee Meets Bagel uses ElastiCache for real-time machine learning-based dating recommendations.

Machine Learning with Redis

Media Streaming

Amazon ElastiCache for Redis offers a fast, in-memory data store to power live streaming use cases. ElastiCache for Redis can be used to store metadata for user profile and viewing history, authentication information/tokens for millions of users, and manifest files to enable CDNs to stream videos to millions of mobile and desktop users at a time.

Media Streaming with Redis

Queues

Amazon ElastiCache for Redis offers List data structure making it easy to implement a lightweight, persistent queue. Lists offer atomic operations as well as blocking capabilities, making them suitable for a variety of applications that require a reliable message broker or a circular list.

Queues with Redis

Real-time Analytics

Use Amazon ElastiCache for Redis with streaming solutions such as Apache Kafka and Amazon Kinesis as an in-memory data store to ingest, process, and analyze real-time data with sub-millisecond latency. ElastiCache is an ideal choice for real-time analytics use cases such as social media, ad targeting, personalization, and IoT and time-series data analytics.

Real-time Analytics with Redis

Session Store

Amazon ElastiCache for Redis is highly suited as a session store to manage session information such as user authentication tokens, session state, and more. Simply use ElastiCache for Redis as a fast key-value store with appropriate TTL on session keys to manage your session information. Session management is commonly required for online applications, including games, e-commerce websites, and social media platforms. Learn how to use ElastiCache for Redis as a session store.

Redis as a session store

Customers

Tinder Amazon ElastiCache Customer Story

Tinder scales its app, servicing 2 billion daily actions, with ElastiCache. 

Learn more »

The Washington Post Amazon ElastiCache Customer Story

The Washington Post used Amazon ElastiCache when building a content management platform optimized for speed.

Learn more »

coffee meets bagel

Coffee Meets Bagel powers recommendation models using Amazon ElastiCache for Redis.

Learn more »

Beat Amazon ElastiCache Customer Story

Beat increases scalability and reduces compute costs by 90% with ElastiCache.

Learn more »

Dream11 Amazon ElastiCache Customer Story

Dream11 scales its platform in and out to meet 1.5 million requests per second.

Learn more »

See more Amazon ElastiCache for Redis customer stories »

Get started with Amazon ElastiCache for Redis

Step 1 - Sign up for an Amazon Web Services account

Sign up

Get access to the ElastiCache Free Tier.
Learn Amazon Elasticache for Redis

Learn with simple tutorials

Explore how to create a Redis cluster.
Get Started with ElastiCache for Redis

Start building

Begin building with help from the user guide.