Skip to content

Using Whenever on AWS Elastic Beanstalk

Joel Courtney edited this page Jun 25, 2014 · 2 revisions

Whenever-elasticbeanstalk is an extension gem to Whenever that automatically ensures that one instance in an AWS Elastic Beanstalk environment is set as leader. This allows you to run cron jobs on all instances, or just on the leader. This is required since Elastic Beanstalk may start or stop any instance as it scales up or down.

Note: this gem is currently not being actively developed, however further development has been made by jufemaiz at jufemaiz/whenever-elasticbeanstalk which now uses EC2 Roles for credentials and region determination for leader by EC2 Instance Metadata. Further development needed though.