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
118
votes
9 answers

Can you connect to Amazon ElastiСache Redis outside of Amazon?

I'm able to connect to an ElastiCache Redis instance in a VPC from EC2 instances. But I would like to know if there is a way to connect to an ElastiCache Redis node outside of Amazon EC2 instances, such as from my local dev setup or VPS instances…
58
votes
1 answer

Using SignalR with ElastiCache fails

We have C# application using SignalR and Amazon's ElastiCache as backplane. However even SignalR allows to mask out certain commands it stills sends a CONFIG to the ElastiCache which fails SignalR silently (CONFIG is not supported by ElastiCache).…
flyandi
  • 1,919
  • 16
  • 25
57
votes
4 answers

Connect to ElastiCache cluster from AWS Lambda function

Is it possible to connect from an AWS Lambda function to a Redis ElastiCache cluster? I can't figure out if it's a configuration problem or it's simply not possible. PS: I made a test from an EC2 instance and I can connect to the Redis node. Also…
Mircea Soaica
  • 2,829
  • 1
  • 14
  • 25
31
votes
2 answers

Inconsistent cache values using Zend Cache with AWS ElastiCache across multiple servers

We are using Zend Cache with a memcached backend pointing to an AWS ElastiCache cluster with 2 cache nodes. Our cache setup looks like this: $frontend = array( 'lifetime' => (60*60*48), 'automatic_serialization' => true, …
24
votes
2 answers

Export existing AWS Lambda and API Gateway to Cloudformation template

How to export existing configured and tested infrastructure (including AWS Lambda functions, API Gateways, ElastiCache clusters, Cloudwatch rules) to Cloudformation template? I know about Cloudformer tool, but it supports limited number of AWS…
24
votes
1 answer

Node Redis with AWS

AWS has Redis support via the ElastiCache Service. My question is, can I connect to Redis on AWS Elasticache from node, using the following: var client = require('redis').createClient(6379, 'elastichache endpoint string', {no_ready_check:…
user602525
  • 3,126
  • 4
  • 25
  • 40
23
votes
3 answers

redis-cli connection to Amazon ElastiCache Redis cluster hangs up

I have installed and compiled Redis from source and am attempting to connect to an Amazon ElastiCache (Redis) cluster. I can connect to the default localhost with no problem, but attempting to connect to an AWS endpoint causes what seems to be an…
Brad Solomon
  • 38,521
  • 31
  • 149
  • 235
23
votes
3 answers

How to connect to ElastiCache cluster using node.js

We know that ElastiCache is not recommended to be accessed outside Amazon instances, so we're trying below stuff inside Amazon EC2 instances only. We've got a ElastiCache Redis Cluster with 9 nodes. When we try to connect to it using normal redis…
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219
23
votes
2 answers

How do you handle Amazon Kinesis Record duplicates?

According to the Amazon Kinesis Streams documentation, a record can be delivered multiple times. The only way to be sure to process every record just once is to temporary store them in a database that supports Integrity checks (e.g. DynamoDB,…
19
votes
2 answers

What is the difference between AWS ElastiCache Cluster and AWS ElastiCache Replication Group?

On terraform/cloudformation documentation there are two different resources to create an ElastiCache Redis instance: aws_elasticache_cluster (https://www.terraform.io/docs/providers/aws/r/elasticache_cluster.html) aws_elasticache_replication_group…
18
votes
1 answer

How to install redis modules to AWS elasticache?

Basically, we know ElastiCache in AWS is using either MemCached or Redis. We picked up Redis, and found a module potentially useful for us. Is there a way we can install the module to our ElastiCache instance?
xis
  • 24,330
  • 9
  • 43
  • 59
18
votes
3 answers

CakeSession::_startSession - Slow on Elasticache

We're running CakePHP 2.9, and using an Elasticache Cluster for Session Storage (which is stored via Memcached). We've disabled PHP's in-built session garbage collection as recommended…
user984976
  • 1,314
  • 1
  • 12
  • 21
18
votes
3 answers

Cant connect dynamo Db from my vpc configured lambda function

i need to connect elastic cache and dynamo db from a single lambda function. My code is exports.handler = (event, context, callback) => { var redis = require("redis"); var client; function connectRedisClient() { client =…
18
votes
3 answers

AWS Elasticache Timeout from EC2

I am getting connection timeout from EC2 trying to connect to AWS Elasticache. I launched a 1-node elasticache cluster I launched an EC2 instance, made sure availability zone was the same as the cluster, us-west-2b I did not create a new VPC. I see…
stampede76
  • 1,521
  • 2
  • 20
  • 36
17
votes
3 answers

AWS Lambda connection timeout to Elasticache

I am trying to make Serverless work with Elasticache. I wrote a custom CloudFormation file based on serverless-examples/serverless-infrastructure repo. I managed to put Elasticache and Lambda in one subnet (checked with the cli). I retrieve the host…
1
2 3
58 59