Ensure that your Amazon Simple Queue Service (SQS) queues are not holding a high number of unsuccessfully-processed messages due to unresponsive or incapacitated consumers. A consumer is an AWS compute resource such as an EC2 instance or a Lambda function that reads messages from the designated SQS queue and does the actual processing. The default threshold for the number of high SQS unprocessed messages is 100, however, you can easily change the threshold for this rule on the Cloud Conformity console.
This rule can help you with the following compliance standards:
For further details on compliance standards supported by Conformity, see here.
This rule can help you work with the AWS Well-Architected Framework.
This rule resolution is part of the Conformity Security & Compliance tool for AWS.
Whether you process raw images, transcode video files or send out a massive number of emails, you need to maintain the SQS consumers healthy and responsive by ensuring their availability and scalability within your environment or else you will end up with a large number of messages in your SQS queues, waiting to be processed.
To determine if there are any SQS queues that hold a high number of unprocessed messages within your AWS account, perform the following:
Remediation / Resolution
To restore the availability and scalability of your SQS consumers (workers) in order to prevent adding more unprocessed messages to the existing Amazon SQS queues, perform the following:
- AWS Command Line Interface (CLI) Documentation
Unlock the Remediation Steps
Free 30-day Trial
Automatically audit your configurations with Conformity
and gain access to our cloud security platform.
You are auditing:
Queue Unprocessed Messages
Risk level: Medium