AWS Hands-On Lab: SNS Topic, SQS Queue, Lambda Consumer & DLQ Deep Dive
AWS Cloud Bytes
0:00 / 0:00
AWS Hands-On Lab: SNS Topic, SQS Queue, Lambda Consumer & DLQ Deep Dive
1 699 просмотров · 10 месяцев назад
AWS Cloud Bytes
2,87 тыс. подписчиков
1 699 просмотров · 10 месяцев назад
Master AWS event-driven architecture in this hands-on lab covering the complete workflow: SNS → SQS ← Lambda, message failures, DLQ handling, and redrive operations.
In this step-by-step demo, you will learn:
🔹 What we build
Create an SNS Topic
Create an SQS Dead Letter Queue (DLQ)
Create the Main SQS Queue
Subscribe Main Queue to the SNS Topic
Create a Lambda function to process Main Queue messages
Update Lambda IAM role for CloudWatch Logs and SQS access
Configure Lambda Trigger for the Main Queue
🔹 What we test
Publish a successful message from SNS → SQS → Lambda
Publish a failure message to simulate Lambda processing errors
Observe:
Failed messages stay in Main Queue
After maxReceiveCount → messages move to DLQ
Demonstrate Redrive from DLQ back to Main Queue
🔹 Bulk Message Test (AWS CLI)
Send 30 messages
15 success payloads
15 failure payloads (Lambda forced failure logic)
Track:
Message movement
Receive count increments
DLQ entries & behavior
🔔 Subscribe for more
LinkedIn Profile: - / bhaweshkumar
Personal Website: - https://www.bhaweshkumar.com/
Certifications: - https://www.youracclaim.com/users/bha...
Udemy profile: https://www.udemy.com/user/bhawesh-kumar
Instagram: - / awscloudbytes
Blog: - https://www.ilucidify.com
Git Lab - https://github.com/bhaweshkumar/demo-...