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

Fn::Equals throwing error when CommaDelimitedList parameter is used

I am writing a CF template to create an Elasticache Replication group. In that, I have a parameter called Snapshots of CommaDelimitedList type, which is used to pass RDB snapshot files stored in s3 as a list of ARNs - Snapshots: Description: >- …
5
votes
1 answer

PHP Session handler Redis - AWS ElastiCache Encryption in-transit

I've tried to setup PHP session handler Redis. session.save_handler = redis session.save_path = "tcp://xxx.cache.amazonaws.com:6379" This works well, but when Encryption in-transit is enabled, then it fails on Failed to read session data:…
Zdenek Machek
  • 1,758
  • 1
  • 20
  • 30
5
votes
2 answers

AWS Redis Security group example

I want to create a security group for AWS Elasticache (Redis). As far as i see, i have 2 options: Either open a Custom TCP connection on port 6379, and define the IP addresses what can reach Redis as a source. Or, what currently works: I Open the…
5
votes
1 answer

Unable to access Redis (cluster mode enabled) Cluster's Endpoints

I have 1 VPC - under that 1 EC2 instance ( amazon ami ) and 1 Redis (cluster mode enabled) Cluster with Auth ( password) and with Security Group Open to all IP:Port ( only for testing sake ) - so very simple setup. telnet works at port 6379 from my…
dshiv126
  • 131
  • 1
  • 9
5
votes
1 answer

Get endpoint for Terraform with aws_elasticache_replication_group

I have what I think is a simple Terraform config for AWS ElastiCache with Redis: resource "aws_elasticache_replication_group" "my_replication_group" { replication_group_id = "my-rep-group", replication_group_description = "eln00b" …
el n00b
  • 1,957
  • 7
  • 37
  • 64
5
votes
1 answer

AWS Elasticache Vs API Gateway Cache

I am new to Serverless architecture using AWS Lambda and still trying to figure out how some of the pieces fit together. I have converted my website from EC2 (React client, and node API) to a serverless architecture. The React Client is now using s3…
5
votes
1 answer

Does AWS ElastiCache Redis have a significant network latency?

I have a ASP.NET web application on IIS, that caches a lot of data to built-in ASP.NET cache. I want to move caching to Redis and use AWS ElastiCache Redis for that, because all currently my servers don't share their cache. They are hosted on EC2…
5
votes
1 answer

ElastiCache - Migrating data from t1.*/ t2.* to m3.*

I currently have a Redis cluster with instance type as cache.t2.micro There is no option to automatically backup the Redis data to s3 for this instance type, and also one cannot run BGSAVE command as its restricted as described here I noticed that…
Adarsh
  • 3,273
  • 3
  • 20
  • 44
5
votes
0 answers

How to fix low Lettuce client performance with Redis Cluster (Elasticache)?

Lettuce client performs poorly with Redis Cluster, as bad as 10 times slower compared to single master Redis. I started to notice the issue when number of concurrent requests to the client was around 100. When this issue was observed Redis instances…
schatten
  • 1,497
  • 1
  • 12
  • 19
5
votes
1 answer

AWS Elastic Cache Redis with C#

I couldn't find any good documentation to read redis cache items using AWS SDK. AmazonElasticCacheClient class doesn't give any method to read the information. Which class should I use to insert and read cache entries?
Shiva
  • 105
  • 1
  • 9
5
votes
1 answer

Enable cluster mode on AWS ElastiCache Redis cluster

I have an ElastiCache Redis (cluster mode disabled) Cluster and would like to change to an ElastiCache Redis (cluster mode enabled) Cluster. I haven't found a way to do this, but also have not found a statement that it is not possible either. This…
g .
  • 8,110
  • 5
  • 38
  • 48
5
votes
0 answers

Starting a Redis cluster with an RDB file

I'm trying to create a Redis cluster using an RDB file taken from a single-instance Redis server. Here is what I've tried: #! /usr/bin/env bash for i in 6000 6001 6002 6003 do redis-server --port $i --cluster-config-file "node-$i.cconf"…
Jay
  • 3,471
  • 4
  • 35
  • 49
5
votes
2 answers

What is a proper way to connect to AWS Elasticache (Redis cluster) from Java?

I'm new to AWS Elasticache redis, and I got below endpoint. I'm confused in either using Jedis and Redisson, because both provides single connection and cluster connection class. Like in Jedis, for a single connection we can use: Jedis conn = new…
5
votes
2 answers

How can we see which nodes are primary or replica, in aws elasticache redis-cluster?

At the below link: http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/ClientConfig.ReplicationGroup.html following content is present: REPLICATIONGROUP my-repgroup My replication group available CLUSTERID my-redis-primary …
5
votes
3 answers

AWS ElastiCache : Is it possible Redis compatible Elasticache to store Json Files

Is it possible to store json Files in Amazon Web Services Redis compatible Elasticache?If possible what is the best method to accomplish the same?