AWS SNS + Lambda Setup - Step by Step Tutorial

preview_player
Показать описание
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.

📚 My Courses 📚

🎉SUPPORT BE A BETTER DEV🎉

📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚

🎙 MY RECORDING EQUIPMENT 🎙

💻 MY DESKTOP EQUIPMENT 💻

🌎 Find me here:

#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!

ChrisL-lv
Автор

awesome tutorial straight to the point and works
still learning but this made the reading so much easier to understand
thank you

drjones
Автор

Thanks, @Be A Better Dev, perfect timing.

HENRYMEGWAI
Автор

Hello! Nice video. I tried this out but i cannot view the published message in the cloud watch. Is there any other way to check the published message ?

ragaswarupa
Автор

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",

If I can get this to work then eventually I want to call the SNS message using boto3.

joegenshlea
Автор

Can u create tutorial for this using serververless framework…?

silentknightss
Автор

Do you see any advantages in using “sns->sqs->lambda” vs “sns->lambda”?

farzadb
Автор

It would be better to show at end of every video total bill

undefined_cat
Автор

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

eugensunic