The most stupidly simple way to scale an application is through a
message queue, at least where latency is not an issue. If you’re using
the AWS ecosystem, the most stupidly simple way to run tasks based on
messages from a message queue is through Antenna.

Grab a message from a queue, run a command and if it worked, remove the
message: