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.

650 questions
97
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…
Loic Duros
  • 4,672
  • 8
  • 36
  • 52
57
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,859
  • 14
  • 23
52
votes
5 answers

Redis: Amazon EC2 vs Elasticache

I want to host a Redis Server by myself. I compared EC2 to Elasticache. And I would like to know what the disadvantage of EC2 are. An EC2 tiny instance costs as much as the ELasticache tiny instance but hast 400 mb of ram more. Why should use…
nohayeye
  • 1,839
  • 2
  • 15
  • 15
51
votes
5 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,689
  • 1
  • 12
  • 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, …
22
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
  • 2,968
  • 4
  • 20
  • 37
21
votes
1 answer

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
  • 23,672
  • 19
  • 120
  • 191
19
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…
19
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,…
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,104
  • 1
  • 11
  • 20
16
votes
1 answer

Redis client Lettuce Master/Slave configuration for AWS Elasticache

I have been using Lettuce as a Redis client to talk to AWS Elasticache. The specific configuration that I am currently using is the Static Master/Slave with predefined node addresses. Recently, the primary node took a tumble kicking off a failover…
ideaz
  • 455
  • 4
  • 13
16
votes
2 answers

PHP AWS ElastiCache Connection Failure

Recently I just started using AWS ElastiCache for a Laravel application. The application is running on 2 instances behind a ELB and handles about 6-10 request/second. Everything was going fine when I launched the application but then I started to…
whobutsb
  • 1,015
  • 4
  • 14
  • 28
15
votes
4 answers

Scaling Up an Elasticache Instance?

I'm currently running a site which uses Redis through Elasticache. We want to move to a larger instance with more RAM since we're getting to around 70% full on our current instance type. Is there a way to scale up an Elasticache instance in the…
aclelland
  • 153
  • 1
  • 1
  • 4
14
votes
2 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 =…
13
votes
2 answers

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
  • 22,592
  • 8
  • 39
  • 55
1
2 3
43 44