I would like to view SQS messages before they get picked up by sqsd on my Elastic Beanstalk intstance. Is there a way, once ssh'ed into the instance, that sqsd can be stopped / started as a service all together?
SQS Daemon is an inbuilt process that runs on a worker instance, which listens for messages in Amazon SQS queue. Once a message placed into the queue, SQSD (SQS Daemon) pulls the message and invoke an http POST method to http ://localhost/ on port 80. The body of request contains message from the queue.
Log in to the AWS Elastic Beanstalk Web Console and click on Create New Application. Enter the application name and description and click Create. Select Worker for the Environment tier drop down, Python for the Predefined configuration and Single instance for Environment type. Click Continue.
AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications and services developed with Java, . NET, PHP, Node. js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS.
For the purpose of debugging you may stop sqsd by running sudo service aws-sqsd stop
on the instance. You can check the status by running sudo service aws-sqsd status
. Note this is not recommended for a production service but for the purpose of debugging you may try this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With