Questions tagged [amazon-elasticache]

Amazon ElastiCache is a web service that makes it easy to deploy, operate, and scale an in-memory cache in the cloud. Amazon ElastiCache improves the performance of web applications by allowing you to retrieve information from a fast, managed, in-memory caching system. The service simplifies and offloads the management, monitoring and operation of in-memory cache environments, enabling your engineering resources to focus on developing applications.

Amazon ElastiCache is a web service that makes it easy to deploy, operate, and scale an in-memory cache in the cloud. Amazon ElastiCache improves the performance of web applications by allowing you to retrieve information from a fast, managed, in-memory caching system, instead of relying entirely on slower disk-based databases. The service simplifies and offloads the management, monitoring and operation of in-memory cache environments, enabling your engineering resources to focus on developing applications. Using Amazon ElastiCache, you can not only improve load and response times to user actions and queries, but also reduce the cost associated with scaling web applications.

Amazon ElastiCache automates common administrative tasks required to operate a distributed cache environment. Using Amazon ElastiCache, you can add a caching layer to your application architecture in a matter of minutes via a few clicks of the AWS Management Console. Once a cache cluster is provisioned, Amazon ElastiCache automatically detects and replaces failed cache nodes, providing a resilient system that mitigates the risk of overloaded databases, which slow website and application load times. Through integration with Amazon CloudWatch monitoring, Amazon ElastiCache provides enhanced visibility into key performance metrics associated with your cache nodes. Amazon ElastiCache is protocol-compliant with Memcached, a widely adopted memory object caching system, so code, applications, and popular tools that you use today with your existing Memcached environments will work seamlessly with the service. As with all Amazon Web Services, there are no up-front investments required, and you pay only for the resources you use.

876 questions
9
votes
1 answer

Can we have multiple databases in ElastiCache (for Redis)?

Difficult to find this information for ElastiCache (for Redis) - if we can use databases with it such as 0, 1, 2 ... like it's possible in Redis.
AndCode
  • 384
  • 1
  • 10
9
votes
0 answers

Can we able to receive notify-keyspace-events of aws elasticache redis to aws lambda function

Is there any way, we can receive notifiy-keyspace-events of AWS ElasticCache-Redis to aws-lambda function?
9
votes
1 answer

AWS CDK: Error when deploying Redis ElastiCache: Subnet group belongs to a different VPC than CacheCluster

Summary I am trying to deploy a Redis ElastiCache Cluster on AWS using CDK. I want the cluster to be within a VPC for security reasons. My code (see supra) defines a VPC, a security group, a cache subnet group (linked to vpc private subnets) and the…
9
votes
0 answers

What is recommended Redisson configuration to avoid timeouts when connected to AWS Elasticache?

We are using Redisson to connect to a replicated Redis on AWS elasticache with 1 master and 2 replica nodes. The app makes uses of a number of RLocalCachedMaps, Locks and a few thousand Topics to track user state. (Topics and subscriptions coming…
Draconas
  • 185
  • 1
  • 8
9
votes
1 answer

Setting up ElastiCache Redis with Elastic BeanStalk + Django

Another stackoverflow answer says you need to set up a elasticache.config file to create Redis servers with ElastiCache automatically. However, can I just create a Redis instance on AWS (Elasticache) and add its endpoint into Django settings? Eg,…
9
votes
1 answer

Redis for caching image files?

I am using Amazon S3 for storing and retrieving images for an image storing website. The trouble is that multiple users have to retrieve same image multiple times. Is it suggested to use Redis or memcached for caching image files by storing them…
Mayank
  • 1,364
  • 1
  • 15
  • 29
9
votes
3 answers

AWS VPC Lambda Function keeps losing internet access

Hope someone can help enlighten me on this issue. I am currently working on a lambda function that utilizes the cloud watch scheduler to check various devices and it is using elasticache to maintain a simple database on the readings. My problem…
9
votes
1 answer

Connect to ElastiCache cluster via Node.js

I'm confused as to how to connect to AWS's ElastiCache Redis via Node.js. I've successfully managed to connect to the primary host (001) via the node_redis NPM, but I'm unable to use the clustering ability of ioredis because apparently ElastiCache…
9
votes
2 answers

Elasticache replication group id in CloudFormation template

How do you set the Redis ReplicationGroup ID when using a CloudFormation template? All the options in the docs show no way to do that and the CLI you can do this easily. My end goal is to have a Redis replication group with 3 cluster members but I…
occasl
  • 5,303
  • 5
  • 56
  • 81
8
votes
1 answer

Error creating CacheSecurityGroup: InvalidParameterValue

I am trying use Terraform to spin up a Redis instance on Elasticache and am running into the following error. * module.main.module.redis.aws_elasticache_security_group.redis: 1 error(s) occurred: * aws_elasticache_security_group.redis: Error…
Jeremy
  • 1,717
  • 5
  • 30
  • 49
8
votes
1 answer

SpringBoot Elasticache JedisMovedDataException: MOVED

Trying to use SpringBoot with SpringData with Elasticache: application.properties:…
8
votes
2 answers

How create a Redis ElastiCache cluster using AWS-CLI from snapshots in S3?

What I'm trying to do is to use aws-cli to create an ElastiCache cluster based on my ElastiCache snapshots in S3, and my ElastiCache is cluster-enabled mode. I followed this tutorial to create a cluster-enabled Redis cache and here's my…
8
votes
1 answer

Connect ElastiCache to Elastic Beanstalk Instance

I have been reading through the Elastic Beanstalk and ElastiCache documentation on creating a connection between my EB instance and my Redis endpoint. I have added my endpoint to my session configuration in my Node.js app, but it doesn't appear that…
8
votes
1 answer

Does AWS Elastic Cache support Pub/Sub on Redis Cluster?

Looking the documentation of AWS Elastic Cache I can see they support Redis Cluster and talk about key/value data and Redis operations in general. However is not clear for me if this will support replication of Redis' pub/sub along the different…
Javierfdr
  • 1,122
  • 1
  • 14
  • 22
8
votes
1 answer

How to create an "alias target" A DNS record in Route53 for an elasticache replication group

I'm creating an ElastiCache replication group for Redis with Cloudformation, which does not allow to specify the group name or clusters name (they are randomly generated gibberish). So my idea is to create a DNS record to alias it, but I don't know…
fortran
  • 74,053
  • 25
  • 135
  • 175