Search code examples
ruby-on-railsredisamazon-elasticache

How to connect elsticache Redis in my localhost with Rails?


Can I connect Redis ElastiCache with Rails from my localhost?

This is my Security Groups configuration.enter image description here

this is my endpoint from secrets.yml

redis_url: 'redis://[name_endpoint]:6379'

Thanks.


Solution

  • It's poorly documented and an odd design decision, but Elasticache is not accessible from outside your VPN not matter what you do with your security groups. There is a workaround, but it's painful and requires extra boxes.