Blowgun is a library and tool to send and receive messages from AWS SQS. It's mean to be deployed to an AWS web instance and fetch messages that 'commands' the instance to run jobs or tasks.
Start a queue subscriber like this:
./bin/blowgun listen local `whoami` dev --node-name mynode --script-dir ../scripts/
This will create and fetch messages from two SQS queues:
Since the behaviour of a SQS is that only one instance will normally receive and work on a message, there are two different uses for these queues:
The first queue is for messages where it doesn't matter which instance does the action, for example snapshot actions.
The second queue is for messages that targets an individual instance. This can be used to ensure that all instances goes into maintenance mode.