zodern / mup-redis

Plugin for Meteor Up to setup and manage Redis
MIT License
7 stars 5 forks source link

Use with mup-aws-elastic-beanstalk? #3

Open derwaldgeist opened 1 year ago

derwaldgeist commented 1 year ago

Is there a way to use this in combination with mup-aws-elastic-beanstalk? I'd love to scale horizontally and replace Mongo oplog with REDIS at the same time.

I tried to setup a separate REDIS server and combine this with beanstalk, but I only get this message when trying to setup:

To use built-in redis setup, you have to have only one meteor server

Does that mean that this combination is not supported?

zodern commented 1 year ago

Hi @derwaldgeist. Unfortunately, this plugin is not compatible as is with mup-aws-elastic-beanstalk. It doesn't setup any authentication, and relies on not being publicly accessible for security. It won't be reachable by the servers managed by beanstalk. Once mup is able to manage firewalls, I can improve this plugin so it can run on a separate server than the app.

If you want, I can help you modify the plugin to work for you, or send you the plugin we use at Monti APM which added authentication and backups and can run redis on its own server - though it requires you to manage the firewall yourself.

derwaldgeist commented 1 year ago

Hi @zodern, thanks for the fast response, appreciate it. Yes, I'd love to have a look at the plugin you're using for Monti APM. For the firewall, I guess it has to be setup on AWS directly somehow?

Evert-jvv commented 2 months ago

What would the approach be if you want to use Amazon ElastiCache with Redis OSS compatibility