AWS SNS + Lambda Setup - Step by Step Tutorial
Vložit
- čas přidán 31. 05. 2024
- In this video, I show you how to connect an AWS SNS Topic to a Lambda Function. I walk you through the steps of creating the topic and all the settings you need to know about. Next I setup the SNS Subscription which connects the SNS Topic to the Lambda Function. I also speak about how you would connect a SNS and Lambda function in DIFFERENT AWS accounts. Finally, I publish a message and verify the Lambda Function is processing it.
Looking to get hands on experience building on AWS with a REAL project? Check out my course - The AWS Learning Accelerator! courses.beabetterdev.com/cour...
📚 My Courses 📚
AWS Lambda - A Practical Guide - www.udemy.com/course/aws-lamb...
🎉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 Driven 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
🌎 Find me here:
Twitter - / beabetterdevv
Instagram - / beabetterdevv
Patreon - Donations help fund additional content - / beabetterdev
#aws
#sns
#serverless
That was a very well-produced introduction. Thank you for helping me understand how all of this works for my upcoming project!
awesome tutorial straight to the point and works
still learning but this made the reading so much easier to understand
thank you
Thanks, @Be A Better Dev, perfect timing.
You're very welcome Henry!
Awesome tutorial, just as usual.
Cheers Janos!
Very useful! Thanks for sharing.
You're very welcome!
Awesome tutorial!
Glad you liked it!
Is there a way to pass the event structure in an SNS message to lambda? E.g. my lambda function is expecting
name = event['name']
phone = event['phone']
etc. I attempted to pass a dict object as the message body but this didn't work
{"name":"joe", "phone":"111111111"}
If I can get this to work then eventually I want to call the SNS message using boto3.
Do you see any advantages in using “sns->sqs->lambda” vs “sns->lambda”?
Can u create tutorial for this using serververless framework…?
How do I get that cursor?
how to send SMS through SNS
It would be better to show at end of every video total bill
Thanks for the feedback!
Doesn't explain much. Based on the video one can conclude that SNS and SQS are the same stuff. You can publish a message from sqs attach a lambda prior to that to listen to it and you get the same scenario