> For the complete documentation index, see [llms.txt](https://notes.radifine.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.radifine.com/aws/other-aws-services/aws-messaging-services.md).

# AWS Messaging Services

AWS SNS and AWS SQS are the two messaging services provided by Amazon Web Services.&#x20;

Both have use cases to be used to be integrated for applications for messaging

Example: Using Amazon SNS, messages are being subscribed to a topic which based on business logic can be queued to appropriate Lambda function as trigger

<figure><img src="/files/Ew9gMuQR16YO9YiukpJN" alt=""><figcaption><p>Source: <a href="https://miro.medium.com/v2/resize:fit:720/format:webp/1*Zh0muEji5v4nKw60pUeMAA.png">https://miro.medium.com/v2/resize:fit:720/format:webp/1*Zh0muEji5v4nKw60pUeMAA.png</a></p></figcaption></figure>

Another example can also be illustrated as follows:

<figure><img src="/files/vaFVcDBeLp05s9CbeQhg" alt=""><figcaption><p>Source: <a href="https://media.amazonwebservices.com/blog/sns_sqs_image_proc_2.png">https://media.amazonwebservices.com/blog/sns_sqs_image_proc_2.png</a></p></figcaption></figure>

Order Fulfilment at eCommerce site:

<figure><img src="/files/o9TbjmgdL4YSHhjkv5xz" alt=""><figcaption><p>Source: <a href="https://www.slideshare.net/JungHakLee4/awskrug-aws-sns-sqs-and-ses">https://www.slideshare.net/JungHakLee4/awskrug-aws-sns-sqs-and-ses</a></p></figcaption></figure>
