Skip to content

hongzz0618/aws-event-driven-processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ” AWS Event-Driven Processing

This project demonstrates how to build an event-driven architecture on AWS.
It uses Amazon S3, Amazon EventBridge, AWS Lambda, Amazon SNS, and Amazon SQS to process events asynchronously and deliver notifications.


๐Ÿ“ Architecture

AWS Event-Driven Diagram

Main Services

  • S3 โ†’ Stores uploaded files that trigger events.
  • EventBridge โ†’ Routes S3 events to downstream services.
  • Lambda โ†’ Processes the file and publishes notifications.
  • SNS โ†’ Sends notifications to subscribers (email, SMS, HTTP, etc.).
  • SQS โ†’ Stores events for asynchronous processing or retries.

โœ… Why This Pattern?

Feature Benefit
Asynchronous Decouples ingestion from processing
Scalable Handles high volumes of events
Reliable Ensures messages are not lost (SQS)
Extensible Add new consumers without changing producers

๐ŸŒ Real-World Use Cases

  • File upload triggers for processing
  • Automated workflows and notifications
  • Decoupled microservices communication
  • Retry and dead-letter handling for reliability

๐Ÿ“ฆ Whatโ€™s Inside

  • Architecture diagram
  • Terraform code for S3, EventBridge, Lambda, SNS, and SQS
  • Example Node.js Lambda for file processing
  • Deployment scripts

Demo Screenshots

Here are a couple of screenshots showing the deployed event driven:

Demo Screenshot 0
Demo Screenshot 1 Demo Screenshot 2 Demo Screenshot 3

About

AWS Event-Driven Architecture using EventBridge, Lambda, SNS/SQS with Terraform.

Topics

Resources

Stars

Watchers

Forks