Questions tagged [amazon-elasticache]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

Do you usually need to scale memcached for memory reasons or performance reasons?

I use memcached on AWS Elasticache, at the moment I run one node only. The node has around 5% CPU usage on average and plenty of free memory. I was wondering, out of curiosity: what is the point of ...
0
votes
0answers
22 views

Understanding my Memacached memory usage in a Rails app (versus what AWS says)

I have a Rails app running on AWS, and in AWS I have a Memcached ElastiCache node of type cache.m3.medium (3GB memory, moderate network performance). When I look at the Unused Memory graph I see that ...
0
votes
0answers
33 views

Connect AWS ElastiCache from application hosted over DigitalOcean droplet

I have a Rails application hosted over Digitalocean. I want to use Redis from AWS ElastiCache. Is this possible to connect to Redis with any external machine or we can only connect with it via AWS EC2 ...
0
votes
0answers
8 views

Backup and restore of Elasticache cluster snapshot items not restored

I have a Elasticache redis cluster with two nodes that are in active use and I have created a manual snapshot of it and wish to restore it. When I look at the monitoring for the instance, I can see ...
0
votes
1answer
51 views

AWS Elasticache security groups for inter cluster communication

I don't really have a setup to test this, but if I create an elasticache redis cluster with more than 1 node, how exactly would a security group have to look like to be very secure but without ...
0
votes
0answers
23 views

How to create caching in AWS elasticache redis

I have a web application hosted on the AWS ec2 instance. I have load balancers enabled and also I have created a cluster in aws elasticache ( Redis ) i have 3 nodes in 1 shard. I can also access them ...
0
votes
1answer
494 views

How to estimate the max number of connection an AWS ElasticCache Redis cluster can support?

Is there any formula or "rule of thumb" I can apply to make an estimate of maximum number of connections a redis cluster hosted on AWS ElasticCache can support? My cluster currently has 3 ...
1
vote
3answers
599 views

How to switch nodes easily in a redis cluster cli?

I have a three node redis cluster. If I run cluster nodes after I connect to one of the node via redis-cli, I got this output: 10.0.32.70:6379> cluster nodes ...
1
vote
0answers
106 views

How to monitor the disk space usage of an AWS elasticache redis cluster?

This is the reason behind this question: I am using a redis cluster on AWS elasticcache as a datastore. I do not enable eviction because I need to keep the data alive inside the redis cluster for as ...
1
vote
1answer
485 views

Why my java application can reach the AWS elasticcache Redis cluster with the lettuce library but not directly with redis-cli?

I have an java app running in an EC2 instance which use lettuce (https://lettuce.io/) to talk to a redis cluster on AWS ElasticCache. The java app can connect with no issue. Here is the netstat ...
0
votes
1answer
112 views

Unable to connect to redis on amazon (same VPC different subnets)

I am trying to set up a Redis cluster using amazon's ElasticCache I have a VPC with the following CIDR: 10.0.0.0/16. Which has five subnets: 2 private - 10.0.3.0/24 and 10.0.1.0/24 3 public - 10.0....
3
votes
0answers
651 views

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 ...
2
votes
1answer
11k views

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?
0
votes
1answer
331 views

scrapy-redis can't connect to AWS Redis ElastiCache

I have two Ubuntu EC2 instances running Scrapy, both using scrapy-redis to control dupes. I am trying to use an ElastiCache Redis as the scrapy-redis store. I have the exact same set up in a different ...
1
vote
0answers
184 views

processor type differences between elasticache instance types , will all instances suffer the same way?

This may sound like yet another, "what is a vcpu" or "should I use elasticache, remember its single threaded!!" question --- but I think this asks a question unanswered. redis is single threaded, ...
2
votes
1answer
2k views

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 ...
0
votes
1answer
514 views

How to keep an Amazon ElastiCahe Memcached/Redis before a RDS MySQL database and use ElastiCache to cache the content?

I created one cluster in ElastiCache and connected that cluster with EC2 instance. And I want to include ElastiCache in front of my RDS(MySQL database). I have two questions which are as below. 1)Is ...
1
vote
1answer
932 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
53 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
190 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
852 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
356 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
383 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 ...
5
votes
2answers
3k 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 ...
3
votes
1answer
523 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 ...
5
votes
1answer
9k 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
3k 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
2k 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
119 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 ...
10
votes
5answers
32k 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....
14
votes
2answers
11k 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 ...
2
votes
2answers
5k 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 ...
3
votes
1answer
8k 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
72 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 ...
16
votes
3answers
13k 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
395 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
2k 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?
2
votes
1answer
2k 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 ...
10
votes
1answer
3k 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
930 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
2k 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
97 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
913 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 ...
6
votes
3answers
3k 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 ...