Scaling Efficiency: Managing Multiple Instances of Cron Jobs in Elastic Beanstalk
Cron jobs on multi-instance Elastic Beanstalk can be challenging. Our goal is often to have the jobs handled by NodeJS and also guaranteed to run on only one given instance at a time. Sometimes a separate web worker instance makes sense for this, but a lot of times we don’t want a separate server and codebase.