Create SQS Queues

Create SQS DLQ and Main Queue

image15.png In the AWS search bar, type: SQS → Select Simple Queue ServiceQueuesCreate queue. image16.png image17.png

Step 1: Create a Dead-letter queue (DLQ)

  • In the Type section, select: Standard (Do not select FIFO).
  • For Name, enter: docuflow-dev-ingestion-processing-dlq image18.png
  • Configuration section:
    ItemValue
    Visibility timeout30 seconds or keep default
    Message retention period4 days
    Delivery delay0 seconds
    Maximum message sizedefault
    Receive message wait time0 seconds or default
    Encryptionchoose Amazon SQS key (SSE-SQS) if available
    Access policyBasic / default
    Redrive allow policykeep default
  • Click Create Queue.

image19.png image20.png

Step 2: Create the Main QUEUE Create QUEUE name: docuflow-dev-ingestion-processing-queue image21.png

  • Select the following configurations:
    SectionValue
    TypeStandard
    Visibility timeout2 minutes
    Message retention period4 days
    Receive message wait time10 seconds
    EncryptionEnabled
    Encryption key typeAmazon SQS key (SSE-SQS)
    Access policyBasic
    Send messagesOnly the queue owner
    Receive messagesOnly the queue owner
  • In the Dead-letter queue section, this time select: Enable image22.png
  • Then select the DLQ: docuflow-dev-ingestion-processing-dlq
  • Maximum receives: 3 image23.png
  • Tags section image24.png
  • Click Create Queue. image25.png image26.png