AWS SNS + Lambda Setup - Step by Step Tutorial

Sdílet
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

Komentáře • 18

  • @user-mr4em1gy4s
    @user-mr4em1gy4s Před rokem

    That was a very well-produced introduction. Thank you for helping me understand how all of this works for my upcoming project!

  • @drjones694
    @drjones694 Před 8 měsíci

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

  • @HENRYMEGWAI
    @HENRYMEGWAI Před rokem +1

    Thanks, @Be A Better Dev, perfect timing.

  • @JanosTech
    @JanosTech Před rokem +2

    Awesome tutorial, just as usual.

  • @N7SOLDIER
    @N7SOLDIER Před rokem +1

    Very useful! Thanks for sharing.

  • @ashleycook9962
    @ashleycook9962 Před 11 měsíci +1

    Awesome tutorial!

  • @joegenshlea6827
    @joegenshlea6827 Před rokem

    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.

  • @farzadb
    @farzadb Před rokem

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

  • @silentknightss
    @silentknightss Před rokem

    Can u create tutorial for this using serververless framework…?

  • @tehsimo
    @tehsimo Před 4 měsíci

    How do I get that cursor?

  • @kavyanlavti3862
    @kavyanlavti3862 Před 6 měsíci

    how to send SMS through SNS

  • @undefined_cat
    @undefined_cat Před rokem +4

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

  • @eugensunic
    @eugensunic Před 3 měsíci

    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