Back to articles
AWS Integration & Messaging using SNS + SQS
How-ToDevOps

AWS Integration & Messaging using SNS + SQS

via Dev.to BeginnersAisalkyn Aidarova

Lab Goal You will build this flow: SNS Topic (publisher) → SQS Queue (subscriber) → receive message Why this matters: SNS = “broadcast / publish” messages SQS = “store messages safely until processed” Together = decoupled microservices (production pattern) Step-by-step Lab (Console) Step 0: Open AWS Console Login to AWS Console Make sure you are in a region (example: us-east-2 Ohio ) Top-right corner → choose region Part A — Create SNS Topic Step 1: Open SNS In AWS Console search bar, type: SNS Click Simple Notification Service Step 2: Create a Topic Left menu → click Topics Click Create topic Step 3: Configure Topic Type : select Standard Name : devops-sns-topic Scroll down (leave defaults) Click Create topic Step 4: Copy the Topic ARN After creation, you will be inside the topic page Find ARN (looks like arn:aws:sns:... ) Copy it and save it in notes: SNS_TOPIC_ARN = ... Part B — Create SQS Queue Step 5: Open SQS In AWS Console search bar, type: SQS Click Simple Queue Service Step 6:

Continue reading on Dev.to Beginners

Opens in a new tab

Read Full Article
4 views

Related Articles