7

AWS Elastic Beanstalk rails app that needs a sidekiq worker processes running alongside Puma/Passenger. Getting the sidekiq process to run has resulted in hours failed attempts. Also, getting the rails app and sidekiq to talk to my AWS ElastiCache cluster apparently needs some security rule changes.

Background

We started out with an extremely simple Rails app that was easily deployed to AWS Elastic Beanstalk. Since those early times we've evolved the app to now use the worker framework Sidekiq. Sidekiq in turn likes to use Redis to pull its jobs. Anyway, getting all these puzzle pieces assembled in the AWS world is a little challenging.

Dan
  • 1,837
  • 16
  • 21

1 Answers1

6

Solutions From The Web...with some sustainability problems

The AWS ecosystem goes through updates and upgrades, many aren't documented with clarity. For example environment settings change regularly; a script you have written may break in subsequent versions.

I used the following smattering of solutions to try to solve this:

Dan
  • 1,837
  • 16
  • 21
  • I'll update and compelte this answer when I have some time. I'll be sure to include version numbers and some gists. – Dan Jun 25 '15 at 16:40
  • Awesome initiative. Do beware of link rot though. – fylooi Jun 25 '15 at 16:50
  • I would add this more recent article to this list: https://docs.google.com/document/d/1mDI034zEIceus4u0n5yBc75t-A6DkUqxg571qwd-Puc/edit# – Mario Olivio Flores Sep 27 '16 at 13:20
  • The [second option](http://qiita.com/sawanoboly/items/d28a05d3445901cf1b25), although in japanese, works better than any other scripts i've seen so far. – fagiani Aug 24 '18 at 03:47