SQS integration with Lambda functions are a new offering from AWS that solve many of the problems of SNS + Lambda. In this video, I show you exactly how to set up a SQS queue and consume events from a Lambda function. I start out by talking about some of the basic concepts of SQS and Lambda integration. From there, I walk you through the AWS console and show you how to create a SQS queue and a Lambda function. Additionally, I show you which permissions you need add to your Lambda IAM role. Finally, I test the setup by manually pushing messages to the Queue and verify they are being processed in the Lambda function.
Looking to get hands on experience building on AWS with a REAL project? Check out my course - The AWS Learning Accelerator! courses.beabet...
🎉SUPPORT BE A BETTER DEV🎉
Become a Patron: / beabetterdev
📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
Clean Code - amzn.to/37T7xdP
Clean Architecture - amzn.to/3sCEGCe
Head First Design Patterns - amzn.to/37WXAMy
Domain Driver Design - amzn.to/3aWSW2W
Code Complete - amzn.to/3ksQDrB
The Pragmatic Programmer - amzn.to/3uH4kaQ
Algorithms - amzn.to/3syvyP5
Working Effectively with Legacy Code - amzn.to/3kvMza7
Refactoring - amzn.to/3r6FQ8U
🎙 MY RECORDING EQUIPMENT 🎙
Shure SM58 Microphone - amzn.to/3r5Hrf9
Behringer UM2 Audio Interface - amzn.to/2MuEllM
XLR Cable - amzn.to/3uGyZFx
Acoustic Sound Absorbing Foam Panels - amzn.to/3ktIrY6
Desk Microphone Mount - amzn.to/3qXMVIO
Logitech C920s Webcam - amzn.to/303zGu9
Fujilm XS10 Camera - amzn.to/3uGa30E
Fujifilm XF 35mm F2 Lens - amzn.to/3rentPe
Neewer 2 Piece Studio Lights - amzn.to/3uyoa8p
💻 MY DESKTOP EQUIPMENT 💻
Dell 34 inch Ultrawide Monitor - amzn.to/2NJwph6
Autonomous ErgoChair 2 - bit.ly/2YzomEm
Autonomous SmartDesk 2 Standing Desk - bit.ly/2YzomEm
MX Master 3 Productivity Mouse - amzn.to/3aYwKVZ
Das Keyboard Prime 13 MX Brown Mechanical- amzn.to/3uH6VBF
Veikk A15 Drawing Tablet - amzn.to/3uBRWsN
Resources:
SNS to SQS Setup: • AWS SNS to SQS Tutoria...
AWS Lambda Introduction: • AWS Lambda Introduction
Getting started with AWS: • Introduction to AWS | ...
☁Topics covered include:Lambda Concurrency Gotchas
- Lambda SQS trigger
- Lambda DLQ
- Lambda Concurrency
- Lambda / SQS Permissions
- SQS Visibility Timeout
- SQS Message Retention Period
- SQS Receive Message Wait Time (aka Long Polling timeout)
🌎 Find me here:
Twitter - / beabetterdevv
Instagram - / beabetterdevv
Patreon - Donations help fund additional content - / beabetterdev
#Serverless
#SQS
#SimpleQueueService
#Lambda
#AWS
Негізгі бет AWS SQS to Lambda Tutorial in NodeJS | Step by Step
Пікірлер: 120