Articles → AWS → Elastic Beanstalk Worker Environment In AWS
Elastic Beanstalk Worker Environment In AWS
Purpose
How Does The Elastic Beanstalk Worker Environment Work?
- SQS → This queue contains the list of long-running items
- Daemon Process: -
- This process pulls an item from the queue
- Once the item is fetched, it sends the HTTP Post request locally on http://localhost (port 80)
- The long-running process is executed
- If the execution is successful then the response code 200 is returned
- The item is then deleted from the queue
- If there is an error then Beanstalk puts the message back into the queue
Click to Enlarge