/plushcap/analysis/vonage/vonage-using-amazon-sqs-for-queuing-messages-using-aws-lambda-and-python

Using Amazon SQS for Queuing Messages Using AWS Lambda and Python

What's this blog post about?

When expecting large volumes of messages, using a message queue like AWS SQS can help navigate issues such as ensuring all messages are received. A serverless microservice on AWS Lambda can be created to add messages to SQS and facilitate sending through Vonage SMS, serving two purposes in the process. To complete this tutorial, prerequisites include Python 3.8, Node.js, npm, a Vonage API account with API Key and Secret, and setup instructions involving cloning a repository, renaming files, updating environment variables, and creating AWS credentials. Once set up, the application can be run locally or deployed to AWS Lambda, where it provides four URL endpoints for testing: / (no action), /add (stores message in SQS), /get (retrieves message from SQS FIFO queue), and /delete (deletes message from SQS).

Company
Vonage

Date published
Nov. 6, 2020

Author(s)
Adam Culp

Word count
681

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.