Skip to content

LucasPereiraMiranda/aws-lambda-sqs-publisher-consumer

Repository files navigation


AWS Lambda SQS Publisher Consumer

GitHub language count Repository size GitHub last commit Repository issues GitHub license


🚀 Techs

AWS Lambda SQS Publisher Consumer was developed with these technologies:

💻 Project

This project is a serverless application using AWS Lambda and SQS to study and implement a simple publisher-consumer architecture. The publisher sends messages to an SQS queue, and the consumer processes the messages from the queue. It showcases how to implement scalable and decoupled systems using AWS services.

To ensure resilience, a Dead Letter Queue (DLQ) is used to capture and manage failed message deliveries, providing better error handling and recovery.

The solution is implemented using the Serverless Framework for easy deployment and management of resources in the cloud. The goal is study best practices in serverless architecture, messaging systems, asynchronous processing, and robust error management.

Architecture preview:

Architecture Preview

💥 Installation

Follow these steps to set up the project with the Serverless Framework:

# Clone this repo
$ git clone [email protected]:LucasPereiraMiranda/aws-lambda-sqs-publisher-consumer.git

# Navigate to the project directory
$ cd aws-lambda-sqs-publisher-consumer

# Use Node 22 with .nvmrc reference
$ nvm use

# Install dependencies
$ npm install

# Install Serverless Framework globally
$ npm install -g serverless

# Deploy the serverless services to AWS after define your credentials with aws cli
$ serverless deploy

License

MIT

About

Exploring FaaS, AWS, Serverless, Lambda & SQS with an SQS publisher/consumer example

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published