Amazon ElastiCache is a fully-managed web service that provides an in-memory cache service to support high-performance, scalable applications. ElastiCache supports two popular open-source in-memory caching engines: Memcached and Redis.
Redis is an open-source in-memory key-value data store that can be used as a database, cache, message broker, and queue. Redis is known for its versatility, performance, flexibility, and ease of use.
ElastiCache Redis is a fully-managed, highly available, and scalable in-memory data store service provided by AWS that is compatible with Redis. It enables users to easily deploy and operate a Redis cluster in the cloud without worrying about infrastructure management tasks such as patching, scaling, and backups.
ElastiCache Redis provides several features including:
Here's an example of how to create a Redis cluster using the AWS CLI:
aws elasticache create-cache-cluster \
--cache-cluster-id my-redis-cluster \
--engine redis \
--cache-node-type cache.t2.micro \
--num-cache-nodes 1 \
--preferred-availability-zones us-east-1a \
--cache-subnet-group-name my-cache-subnet-group \
--security-group-ids sg-12345678 \
--tags Key=Environment,Value=Production
This command creates a Redis cluster with one node of type cache.t2.micro
in the us-east-1a
Availability Zone, using the specified cache subnet group and security group. You can use the ElastiCache console or the AWS CLI to perform many other operations on your Redis cluster, such as scaling it up or down, adding or removing nodes, modifying its configuration parameters, and monitoring its performance metrics.
Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.