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
8
votes
2 answers

How to configure ElastiCache Redis for Spring Data Access

I am trying to setup ElastiCache to use with a Java Application. I have based my setup based on this documentation: https://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/BestPractices.html The EC2 instance where the Java (8) App runs is in…
asaraff2
  • 81
  • 1
  • 4
8
votes
2 answers

AWS CloudFormation: How to get subnet list from VPC?

In CloudFormation, I'm creating a VPC, two EC2 instances, and an Elasticache in front of them. In the template, I'm trying to add the elasticache to the vpc. The problem's happening in creating the AWS::Elasticache::SubnetGroup …
8
votes
1 answer

redis getaddrinfo ENOTFOUND - node.js , redis connection

Hi im trying to connect to redis from node.js which is successful, now i hosted my node.js server app on amazon ec2 instance and redis on amazon elastic cache instance the connection to redis is succesful but once in a while i'm getting the below…
8
votes
3 answers

SSL support in AWS ElastiCache

We would like to use AWS ElastiCache for our application, and we have a strict requirement that all data should be encrypted in transit. I was trying to find out whether ElastiCache access is done using SSL but cannot get a definitive answer from…
Daniel
  • 186
  • 1
  • 7
8
votes
3 answers

How To Backup AWS Elasticache Redis Data?

I'm testing a new Redis cluster (AWS Large primary/slave nodes) in AWS Elasticache Redis. How can I backup or export my data from the Redis cluster? Other hosted redis services automatically create a Redis RDB dump file and store it on S3. I would…
Winfield
  • 18,985
  • 3
  • 52
  • 65
7
votes
1 answer

Setting Up Amazon ElastiCache w/ spymemcached in Java

I haven't been able to find a good tutorial on Memcached on Amazon Cloudand I'm very new to this whole caching thing. I am trying to use memcached through Amazon's ElastiCache service and with a spymemcached client to actually make the memcached…
Craig
  • 1,295
  • 3
  • 16
  • 29
7
votes
1 answer

Has Anyone Gotten Hibernate to Use Elasticache as its 2nd Level Cache?

I found some threads saying this was doable, but did not find specific instructions or config information. I want to do this from Beanstalk as well: the app should get deployed to beanstalk with a config that points hibernate to the elasticache…
Rob
  • 11,446
  • 7
  • 39
  • 57
7
votes
3 answers

How can an app on EC2 autodiscover ElastiCache instances?

Say I have a webapp running on some number of load-balanced EC2 servers, storing and retrieving metadata from SimpleDB with larger chunks of data stored on S3 (due to the whole 1 KB limitation of SimpleDB). Since S3 is pretty high latency and I…
Ty W
  • 6,694
  • 4
  • 28
  • 36
7
votes
1 answer

Is there a way to change AWS ElastiCache Redis Version to 6.2?

My ElastiCache Redis version is on 6.0.5. But I want to use 6.2. According to AWS you can't specify the exact v6.x version. I want to know if it's possible to upgrade it manually or something.
scroobius
  • 662
  • 2
  • 7
  • 25
7
votes
2 answers

How to access redis logs on AWS ElastiCache

We have been facing latency issues with our redis lately. We are trying to debug what's going on, I came across this post and it mentioned going over the redis logs to investigate how often the db is saved in the background (ie using bgsave) I did…
abbood
  • 23,101
  • 16
  • 132
  • 246
7
votes
1 answer

What determines AWS Redis' usable memory? (OOM issue)

I am using AWS Redis for a project and ran into an Out of Memory (OOM) issue. In investigating the issue, I discovered a couple parameters that affect the amount of usable memory, but the math doesn't seem to work out for my case. Am I missing any…
Matthew Woo
  • 1,288
  • 15
  • 28
7
votes
1 answer

Is it possible to delete all keys on an AWS ElastiCache redis cluster?

I'm trying to delete all keys/values in an AWS ElastiCache cluster, but when I'm executing flushall or flushdb from redis-cli, it only removes the values in the node I'm currently connected to. I am looking for one command which can delete all keys…
pawansgi92
  • 1,065
  • 13
  • 32
7
votes
1 answer

Not able to connect aws redis with ec2 on same VPC

I have created AWS ElastiCache redis server and configured with EC2 instance, but somehow I am not able to connect Redis via EC2 instance. I have assigned the same security group as well. here is my configuration Error I am facing is…
7
votes
0 answers

Redisson throws many org.redisson.client.RedisTimeoutException

We are using Redisson version 3.6.1 on AWS environment with ElastiCache setup on Replicated mode with 2 nodes. Our main operations are against an LRU bounded RMapCache…
7
votes
1 answer

Does AWS ElastiCache Redis Multi-AZ with automatic failover helps keeping minimal downtime on scheduled maintenance?

We're planning to use Redis (cluster mode disabled) in AWS ElastiCache. Multi-AZ with automatic failover feature helps keeping minimal downtime in case the primary node goes down. However, nothing is said about scheduled maintenance. I understand…
efpies
  • 3,625
  • 6
  • 34
  • 45