How to use AWS SNS and AWS SQS (Python Tutorial)
Vložit
- čas přidán 29. 08. 2024
- AWS Tutorial for Beginners:
Recently I had to set up some communication between two services we built, which was an interesting task to do. There are many message service options, but we ended up using AWS SNS and SQS.
So I thought I'd give a quick intro into the background of why you use a messaging service. Then I'll show you an example in Python about how to set up a simple SNS Topic, publish a message, set up an SQS Queue, subscribe to the SNS Topic and read a message consumed by the SQS Queue…so not much…
Have no fear! It sounds complicated but using Boto3 and Moto makes it super easy.
#AWS #SoftwareEngineering #Programming #Python #SNS #SQS #Cloud #Boto #Moto
Medium Article about SQS and SNS differences: / aws-difference-between...
Documentation:
Moto: docs.getmoto.or...
SNS Boto3: boto3.amazonaw...
SQS Boto3: boto3.amazonaw...
Thanks
great video ! do you have a github to clone your code off the bat ?