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
7
votes
1 answer

Proxy API with Circuit Breaker on AWS lambda

I'm building an API that will act as a proxy to n underlying API's that all do the same thing. It will use circuit breaker pattern to determine when one of the underlying API's is unavailable, therefore the proxy API will have state. One solution…
7
votes
1 answer

AWS cloudformation : how to properly create a redis cache cluster

I want to create an elasticache instance using redis. I think that I should use it "cluster mode disabled" because everything will fit into one server. In order to not have a SPOF, I want to create a read replica that will be promoted by AWS in case…
Bruno
  • 885
  • 10
  • 27
7
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,…
7
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…
7
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…
7
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,084
  • 1
  • 13
  • 21
7
votes
4 answers

How to connect to AWS elasticache?

Could someone give a step-by-step procedure for connecting to elasticache. I'm trying to connect to a redis elasticache node from inside my EC2 instance (sshed in). I'm getting Connection Timed Out errors each time, and I can't figure out what's…
Jimmy Gong
  • 1,485
  • 3
  • 16
  • 28
7
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
  • 4,531
  • 2
  • 45
  • 73
7
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
  • 67,715
  • 23
  • 125
  • 170
7
votes
1 answer

aws elasticache redis set and get

I am new to AWS-SDK and I am running an node.js application on an EC2 instance. I am trying to use ElastiCache-Redis in the node.js application. However, I can not find the API of ElastiCache to make basic Redis calls. The url below did not provide…
windchime
  • 1,193
  • 11
  • 33
7
votes
1 answer

Sustainable Solution To Configuring Rails, Sidekiq, Redis All On AWS Elastic Beanstalk

AWS Elastic Beanstalk rails app that needs a sidekiq worker processes running alongside Puma/Passenger. Getting the sidekiq process to run has resulted in hours failed attempts. Also, getting the rails app and sidekiq to talk to my AWS ElastiCache…
7
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
  • 71
  • 1
  • 4
7
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 …
7
votes
2 answers

ElastiCache Maintenance Window Availability

We are planning to use ElastiCache (Redis) instead of our own redis cluster. However, the "maintenance window" setting creates some questions, If I use a multi-az replicated cluster, will elasticache failover to available replicas during maintenance…
Ekin Koc
  • 2,806
  • 18
  • 24
7
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
  • 176
  • 1
  • 7