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.

876 questions
5
votes
0 answers

Memcached failing after PHP upgrade

I have been using memcached and I upgraded from PHP 5.4 to 5.6 and now it is failing to connect and store. I have: ini_set('session.save_handler', 'memcached'); ini_set('session.save_path', 'serverAddress:11211'); session_start(); I have also tried…
austinh
  • 1,061
  • 6
  • 13
  • 34
5
votes
0 answers

How should I work with elasticache memcached with node.js

Hi I'm new to Memcached elasticache with AWS. I found this plugin that gives me an array of hosts from a host configuration, but I'm not 100% certain what best practices dictates. My code looks similar to this... var Ecad = require('ecad'); var…
Dr.Knowitall
  • 10,080
  • 23
  • 82
  • 133
5
votes
2 answers

EC2 instance can't access to elasticache

As the title suggests, I'm struggling to connect to my elasticache instance via my EC2 instance. I have a orm to connect to redis in my EC2 instance that was just failing on my logs, so I sshed into my EC2 instance to try to manually connect to the…
Jimmy Gong
  • 1,825
  • 5
  • 20
  • 35
5
votes
2 answers

aws Redis cluster from spring using jedis client

I have integrated redis to my spring web application using jedis (redis is supporting from AWS Elastic cache). It is working fine with single node to write and read with single jedis connection factory. I now need to extended it to a cluster for…
Balaji
  • 151
  • 4
  • 15
5
votes
1 answer

Connecting to Elasticache Redis Cluster from Peered VPC

I have a corporate setup that primarily has 2 peered VPCs at the moment. We want to provision Elasticache (for Redis) so that 2 EC2 IIS Web Servers (one in each of the two VPCs) can connect to the same Elasticache cluster, is this possible?…
Mark
  • 14,820
  • 17
  • 99
  • 159
5
votes
1 answer

Amazon Elasticache Redis cluster - Can't get Endpoint

I need to get the endpoint for a Redis cluster in Amazon Elasticache. The following code works for a Memcached cluster, but not for a Redis: import com.amazonaws.auth.AWSCredentials; import…
tokland
  • 66,169
  • 13
  • 144
  • 170
5
votes
1 answer

AWS Redis connect from outside

Is there a way to connect Redis instance hosted on AWS from outside AWS network? I have one Windows based EC2 instance running on AWS and another one is Redis cache node. I know this question has been asked but the answer is in context of Linux…
Manoj Aggarwal
  • 317
  • 2
  • 14
5
votes
1 answer

Can Celery run on Elastic Beanstalk?

I'm looking for a straight-forward way to run Celery on an Elastic Beanstalk environment. Does this exist, or do I need to use SQS instead? I have tried putting a line in the the .config file without good results. This is my .config…
5
votes
2 answers

ElasticCache - What is the difference between the configuration and node endpoint?

ElasticCache gives you both a configuration end point, and an individual node endpoint. What is really the difference between the two? And a use case that you'd use one versus the other? I assume configuration end point could point to a group of…
Random5000
  • 1,562
  • 3
  • 16
  • 26
5
votes
3 answers

Create AWS cache clusters in VPC with CloudFormation

I am creating an AWS stack inside a VPC using CloudFormation and need to create ElastiCache clusters on it. I have investigated and there is no support in CloudFormation to create cache clusters in VPCs. Our "workaround" was to to create the cache…
4
votes
0 answers

Unable to connect to ElastiCache/Redis from a Kubernetes pod in EKS

I have a VPC in AWS. There is an EKS and an ElastiCache/Redis in this VPC. The ElastiCahce's security group has an ingress rule to allow traffic from the security group of the EKS to port 6379. The security group of the EKS has an engress rule to…
4
votes
1 answer

AWS Redis cluster mode - what is the difference between Auto-failover and Multi-AZ flag?

I couldn't find the answer anywhere, and the description field when hovering are identical for me: "Status of Multi-AZ Automatic Failover. If enabled, in case of primary node loss, failover to a read replica will happen automatically" "Status of…
hanzo
  • 53
  • 3
4
votes
1 answer

Where can I find TLS certificates for elasticache redis cluster

Being very new to elasticache, I'm trying to connect to it from instance running in different VPC. It works perfectly fine when client is within VPC over TLS, as no need to pass TLS certificates.( we just need to pass "--tls" option to redis-cli).…
Yogesh Jilhawar
  • 5,605
  • 8
  • 44
  • 59
4
votes
1 answer

Can Redis 6 take advantage of multi-core CPUs?

Since Redis 6 supports multi-threaded IO, does it make sense to deploy Redis on machines with more than 2 cores? Will it be able to take advantage of the additional cores or are 2 cores still ideal(one for the main thread, and the other to handle…
numX
  • 830
  • 7
  • 24
4
votes
1 answer

Put AWS Lambda function into a VPC and then "IOException: Connection reset by peer" started happening, but only occasionally

I have a Java AWS Lambda function serving as an API via API Gateway. For the past few months, it's been running 24/7 and hasn't had this particular error before. Today, I did an update to add Elasticache, which required me to put the Lambda into the…
rococo
  • 2,280
  • 2
  • 22
  • 37