I am trying to run a background job in an elastic beanstalk, the background operation has an infinite loop, so it never returns a response, and therefore I get this error: "Some instances did not respond to commands. Responses were not received from [i-ba5fb2f7]."
I run the background job in the elastic beanstalk.config file as follows: 06_start_workers: command: "./workers.py &"
Is there any way to do this? I do not want the elastic beanstalk to wait for the return value of this process.
source
share