Questions tagged [amazon-elasticache]

45 questions
18
votes
3 answers

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 services would trump a lot of the performance gains,…
15
votes
2 answers

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 ElastiCache instance (thereby losing all our…
Josh Kupershmidt
  • 826
  • 1
  • 9
  • 9
12
votes
5 answers

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.example.0001.euw1.cache.amazonaws.com -p 6379 It…
Farmi
  • 369
  • 1
  • 4
  • 17
10
votes
1 answer

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 to the default VPC. Is there anything else I…
oscarm
  • 201
  • 2
  • 7
7
votes
3 answers

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, but seems it validated the principle of Elastic…
5
votes
2 answers

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 specific security group or IP address. Is there…
5
votes
1 answer

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. The subscription etc. is all working nicely, but…
4
votes
1 answer

What are AWS elasticache redis connection limits?

We started an AWS Elasticache instance on a cache.t2.micro instance. How many connections will it accept?
dfrankow
  • 183
  • 1
  • 1
  • 8
4
votes
1 answer

How to Terraform ElastiCache Redis cluster provisioning properly?

I am currently writing Terraform script to provision ElastiCache Redis Cluster. I have the following concern. In the script, I use a snapshot name to restore database from ElastiCache single Redis instance. I can spin up a new Redis cluster,…
4
votes
0 answers

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. CloudWatch Dashboard for the Redis server Does…
4
votes
1 answer

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 for a test server. The live one has four array…
user144722
  • 41
  • 1
3
votes
0 answers

Redis maxmemory on ElastiCache instance lower than expected

I have an AWS ElastiCache instance hosted on a cache.m5.xlarge instance type, which advertises 12.93gb of ram. from the AWS ElastiCache documentation it says that a cache.m5.xlarge instance should have its maxmemory set to 13891921715, which divided…
3
votes
1 answer

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 CacheSecurityGroup not found: elasticacheta.... I use…
3
votes
1 answer

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 cache-access security group cache-access security…
3
votes
0 answers

Elasticache bandwidth usage is low, but bandwidth allowance exceeded

We recently switched to using Elasticache, and we're seeing some blips on the charts for Network Bandwidth In Allowance Exceeded, and for Network Bandwidth Out Allowance Exceeded: This is weird because we're not using much bandwidth: We are using…
mlissner
  • 990
  • 3
  • 8
  • 17
1
2 3