Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

I'm able to connect to an Elasticache Redis instance in a VPC from EC2 instances, but I would like to know if there is a way to connect to an Elasticache Redis node outside of Amazon EC2 instances, such as from my local dev setup or VPS instances provided by other vendors.

Currently when trying from my local set up:

redis-cli -h my-node-endpoint -p 6379

I only get a timeout after some time.

1 Answer

0 votes
by (44.4k points)

There are a few configurations which you can provide the Redis cache with so that you will be able to access it from the outside. I will attach the official documentation and get down to the “How to Access ElastiCache Resources from Outside AWS” 

https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/accessing-elasticache.html

Related questions

0 votes
1 answer
Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...