I didn’t see a straightforward way to setup Redis on a box built using Elastic Beanstalk so I decided to go with Redis hosting.

I setup Sidekiq to use an external Redis database. You have to configure both the client and the server for Sidekiq to work this way.

1
2
3
4
5
6
7
8
9
10
11
...

Sidekiq.configure_server do |config|
  config.redis = { url: '...', port: 9999, namespace: 'name', auth: "..." }
end

Sidekiq.configure_client do |config|
  config.redis = { url: '...', port: 9999, namespace: 'name', auth: "..." }
end

...

For more information on configuring Sidekiq, check out the advanced options docs.

Comments