Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [amazon-elasticache]

The tag has no usage guidance.

0
votes
0answers
8 views

Configuring ElastiCache through .ebextensions resources for multiple regions

This is my elasticache.config inside the .ebextensions folder and it is working as expected for my main region but not for my second region due to different SubnetIds and VpcSecurityGroupIds: ...
0
votes
0answers
6 views

Redis AWS ElastiCache failing to increase NumberOfAvailabilityZones

I'm trying to change my CloudFormation template, but it fails with an error: INFO: stackname found was elas-redis INFO: creating change set elas-redis-2018-06-14-125050 INFO: waited for change set ...
0
votes
0answers
9 views

failed to create: [MyElastiCache] when trying to add ElastiCache to Elastic Beanstalk deployment

I'm trying to add ElastiCache to my rails deployment on Elastic Beanstalk. I've followed the instructions, but am getting the following error when trying to deploy: Uploading: [#######################...
1
vote
1answer
58 views

Is it possible to have a Cloudwatch alarm of the 'free memory' of a ElastiCache Redis cluster?

I'm looking to set up a cloudwatch alarm on a Redis cluster in ElastiCache rather than each individual node. Is this possible in cloudwatch? so far I've only found ways to set alarms on each ...
1
vote
0answers
16 views

Does mod_pagespeed use Elacticache Cluster Client? Or do we have to manually keep a list of nodes?

I've searched a lot for this, but couldn't find anything. The documentation (https://www.modpagespeed.com/doc/system#memcached) also does not specify anything regarding the same. I'm using ...
0
votes
1answer
67 views

Can AWS ElastiCache instance fail during a manual/automated backup?

I have an AWS ElastiCache instance running at around 85% memory capacity. Before scaling to a bigger instance, I would like to take a manual backup and test a few things out. Failure of this node is ...
0
votes
1answer
198 views

Restoring ElastiCache Clustered Redis Snapshot with Terraform

Is it possible to create a ElastiCache Clustered Redis cluster from a snapshot using Terraform? I don't see a Terraform option similar to the create-replication-group --node-group-configuration cli ...
4
votes
0answers
121 views

AWS ElastiCache Redis - Why has SwapUsage slowly climbed just over 100MB dispite having FreeableMemory available?

Starting around 7/28/2017 the SwapUsage started to climb for reasons I cannot figure out. I have spent many hours Googling and reading AWS documentation. At no point do we run out of FreeableMemory. ...
0
votes
1answer
188 views

Configuring Redis for a read heavy application

Redis connection timeout even after upgrading to elasticache m4.xlarge We are facing connection timeout.Our cache size is hardly 1.5Gb.We have been using m4.large instance and there was around 150-200 ...
4
votes
2answers
1k views

How to secure Redis cluster on AWS elasticache

I have been reading up on Redis with AWS Elasticache and am a little confused on security. So far, it seems the only security is to create a Redis Security Group that only allows access from either a ...
1
vote
0answers
162 views

AWS - Cannot create ElastiCache-CacheCluster - 'CacheSecurityGroup not found error'

I have a cloud formation script shown below, I hope to create a Security Group and Elasti Cache. However I get an error shown below CREATE_FAILED AWS::ElastiCache::CacheCluster ...
4
votes
1answer
4k views

Passing parameters to AWS Lambda

I'm trying to write a CloudFormation template that subscribes a Lambda function to a CloudWatch Logs LogGroup. This Lambda function should then parse the logs and put them in to an Amazon ES cluster. ...
1
vote
1answer
2k views

Invoke Lambda function with delay

I have this schema to receive http requests and do some processing on files under a Windows Server EC2 instance. API Gateway -> Lambda -> EC2 (Node.js + Express) For now, there are a few ...
2
votes
2answers
1k views

Add ElastiCache Cluster to Elastic Beanstalk Application

I have an Elastic Beanstalk app setup utilizing the docker platform. Everything runs smoothly and I can redeploy the app using the eb deploy cli command. The app is setup on a custom VPC (something I ...
0
votes
1answer
65 views

Is it possible to have an EC2 communicate with another Elasticache from another region?

I have an EC2 instance in the Asia Pacific (Singapore) region that I'd like to connect to a Elasticache instance launched in Oregon (US-West) region. After reading through, I understand that ...
3
votes
2answers
10k views

Connect remotely to ElastiCache - Redis

We are using ElastiCache - Redis for our site, we need to flush the Redis cache and when I try to connect to my ElastiCache - Redis remotely by this command from any PC redis-cli -h example-redis-1....
12
votes
2answers
6k views

Avoiding swap on ElastiCache Redis

We have been having ongoing trouble with our ElastiCache Redis instance swapping. Amazon seems to have some crude internal monitoring in place which notices swap usage spikes and simply restarts the ...
1
vote
1answer
2k views

Redis GUI needed for AWS ElastiCache on an EC2 instance

I've a AWS ElastiCache Redis cluster setup that I wish to manage. Since AWS doesn't let you access ElastiCache outside the VPC, I've setup a micro EC2 instance that carried a copy of the phpRedisAdmin ...
1
vote
1answer
3k views

Why does port 6379 need to be opened on the security group for elasticache?

I made a redis cluster and created a new security group called cache-access. If I ssh into an ec2 server and try to access a cache node, it works if two conditions are met: ec2 server belongs to ...
0
votes
1answer
68 views

ElasticCache enpoint to use in code

I have provisioned ElasticCache and launched a Redis cache cluster with Enable Replication option selected in Single Availability Zone, now I see three cache nodes under cache cluster as following ...
10
votes
3answers
6k views

AWS ElastiCache/SimpleQueue vs DynamoDB

I'm wondering about the rationale for using ElastiCache/SimpleQueue vs just having "Cache" and "Queue" tables inside of DynamoDB respectively. It seems that the network latency to the Cache/Queue ...
1
vote
1answer
265 views

Uneven load distribution on an elasticache cluster

Amazon elasticache cluster looks to be a really good choice for auto-scaling but it seems the load distribution is not equal among the nodes. Both memory and CPU wise the node 1 seems to take almost ...
2
votes
1answer
1k views

How do I enable backup(snapshot) on redis elasticache t2.medium

I was able to create a snapshots of my m1.small caches but the backup button is disabled when I select my t2.medium. Is there a way for me to enable backup of a t2.medium redis elasticache?
1
vote
0answers
1k views

Elasticache on AWS slower than my RDS call

I've been attempting to use elasticache on aws to cache some of my data for faster retrieval, but calling elasticache (an m1.small instance) is slower than calling my RDS instance! Any tips on how to ...
8
votes
1answer
2k views

ElastiCache (redis) for non default VPC

I'm trying to create a Redis node, but in the configuration window, I'm not eble to select a VPC I created. All I see is the default VPC. For that reason the subnets are also only the ones that belong ...
0
votes
1answer
808 views

Installing ElastiCache Cluster Client on PHP AWS Elastic Beanstalk (without creating resource)

Elastic Beanstalk does not, by default, install the ElastiCache Cluster Client PHP module. This is needed to connect to an ElastiCache node cluster. Reading around, most of the instructions relate to ...
0
votes
2answers
1k views

AWS Elasticache PHP Sessions with ELB and Web Servers at different Data Centres

I'm running an AWS Load Balancer with Web Servers at different Data Centres. I need to start using PHP Sessions on Elasticache to Centralize Session Management. I can create an a 2 node Elasticache ...
0
votes
1answer
94 views

AWS ElasticCache - Cross Site - Disaster Recovery

I'm using AWS ElasticCache (MemCached) and can see how instances can be created at different data centers/sites. (eg: singapore A or B) There is no AWS Automatic Replication of ElasticCache from ...
4
votes
1answer
791 views

Memcache/Elasticache holding many user passwords in memory instead of DB

I have two servers in AWS. One is a live production server (a multi site WordPress installation with hundreds of sites and about 5,000 users) and the other is a clone of prod that is being configured ...
5
votes
3answers
2k views

Instance's deployment / post configuration for AWS Elastic Beanstalk

I am using AWS Elastic Beanstalk, it is easy to start with deploying Java based web app, which is great. However, I want to install Memcached on every instance locally so they can be used for caching,...
2
votes
1answer
1k views

Hosted fault-tolerant (replicated) memcache solution in amazon ec2 cloud?

does anyone offer a fault-tolerant (replicated) memcache solution that is hosted in amazon ec2, needs zero maintenance and works with providing just one IP? I know that amazon offers ElastiCache. But ...