Build a Decoupled Event-Driven Architecture with SNS and SQS

INTERMEDIATE
180 minutes
4 tasks

In this project, you will implement a decoupled event-driven architecture using AWS Simple Notification Service (SNS) and Simple Queue Service (SQS). You'll design a system that processes orders asynchronously, demonstrating the benefits of scalability and fault tolerance.

Sandbox access coming soon

Scenario

TechRetail Inc., an e-commerce company, is experiencing delays in processing customer orders during peak times. To handle increased order volumes and improve processing efficiency, they need an event-driven architecture that decouples order intake from order processing using AWS SNS and SQS.

Learning Objectives

  • Understand the components of an event-driven architecture.
  • Implement SNS for event publication.
  • Use SQS for decoupled message processing.
  • Configure IAM roles and policies for secure service interaction.

tasks (4)

task 1: Create an SNS topic for order notifications.

20 min

task 2: Create an SQS queue to receive order messages.

30 min

task 3: Configure the SNS topic to send messages to the SQS queue.

15 min

task 4: Set up IAM policies to allow SNS and SQS to interact securely.

25 min

Prerequisites

  • Basic AWS console navigation.
  • Understanding of IAM roles and policies.

Skills Tested

SNS configurationSQS setup and managementIAM policy creation