PracticeVideosBlogFlashcards

3.7 Application Integration and Other Services

Key Takeaways

  • Amazon SQS (Simple Queue Service) is a fully managed message queuing service for decoupling application components.

  • Amazon SNS (Simple Notification Service) is a pub/sub messaging service for sending notifications to multiple subscribers.

  • Amazon EventBridge is a serverless event bus for building event-driven architectures by routing events between AWS services and applications.

  • AWS Step Functions orchestrate multiple AWS services into serverless workflows with visual workflow design.

  • Amazon API Gateway creates, publishes, and manages REST and WebSocket APIs at any scale.

Last updated: October 2026

Quick Answer: Application-integration services let components communicate without tight dependencies. SQS is a pull-based message queue (one consumer per message), SNS is push-based pub/sub (every subscriber gets the message), EventBridge is a serverless event bus, Step Functions orchestrates workflows, and API Gateway fronts APIs. Together they enable the loosely coupled, resilient architectures AWS favors.

Messaging and Event Services

Amazon SQS (Simple Queue Service)

Amazon SQS is a fully managed message queue that decouples and scales microservices and distributed systems.

FeatureDetail
TypePull-based message queue
Retention1 minute to 14 days (default 4 days)
Max Message Size1 MiB (1,048,576 bytes)
Queue TypesStandard (best-effort order, at-least-once) and FIFO (exact order, exactly-once)
ScalingVirtually unlimited throughput
Use CaseDecoupling, buffering requests, task queues

Example: an ordering front end drops orders into an SQS queue; worker instances process them at their own pace, so a traffic spike fills the queue instead of overwhelming the workers.

Amazon SNS (Simple Notification Service)

Amazon SNS is a pub/sub service that pushes one message to many subscribers at once.

FeatureDetail
TypePush-based pub/sub
SubscribersSQS, Lambda, HTTP/HTTPS, email, SMS, mobile push
TopicsNamed channels that fan out to all subscribers
FilteringPolicies route messages to specific subscribers
Use CaseFan-out notifications, alerting, event-driven workflows

SQS vs. SNS

FeatureSQS (Queue)SNS (Pub/Sub)
ModelPull — consumers pollPush — delivered to subscribers
DeliveryOne consumer processes each messageAll subscribers receive every message
Use CaseDecoupling, task queuesFan-out notifications
PersistenceMessages retained until processedDeliver-and-forget

On the Exam: SQS = one consumer per message (a queue). SNS = every subscriber gets it (broadcast). A classic combined pattern is SNS fan-out to multiple SQS queues, where one event triggers several independent processing pipelines.

Amazon EventBridge

Amazon EventBridge is a serverless event bus for event-driven architectures. Rules match incoming events and route them to targets; a schema registry discovers event structures; it also connects to SaaS partners. It was formerly CloudWatch Events.

Example: when an EC2 instance changes state, an EventBridge rule triggers a Lambda function to send a notification.


Workflow Orchestration

AWS Step Functions

Step Functions coordinates multiple AWS services into serverless workflows defined as state machines, with a visual designer plus branching, parallel execution, retries, and error handling. Use it for order processing, data pipelines, human-approval steps, and ML pipelines.


API Management

Amazon API Gateway

API Gateway creates, publishes, and manages REST, HTTP, and WebSocket APIs at any scale, with throttling, caching, API keys, and authorization built in. The canonical serverless backend is API Gateway + Lambda, with both scaling automatically and no servers to manage.


Developer, IoT, and End-User Services

ServicePurpose
AWS AmplifyFull-stack web/mobile development platform
AWS AppSyncManaged GraphQL API service
AWS Device FarmTest apps on real devices
AWS IoT CoreConnect and manage IoT devices at scale
AWS IoT GreengrassRun compute, messaging, and ML at the edge
Amazon WorkSpacesManaged virtual desktops (DaaS)
Amazon AppStream 2.0 (now Amazon WorkSpaces Applications)Stream desktop applications to any device

Migration, Marketplace, and Other Services

ServicePurpose
AWS Migration HubTrack migration progress centrally
AWS Application Migration ServiceAutomate lift-and-shift server migration
AWS Database Migration Service (DMS)Migrate databases with minimal downtime
AWS Transfer FamilySFTP/FTPS/FTP transfers into S3
Amazon ConnectCloud contact center
AWS MarketplaceCatalog of third-party software (AMIs, SaaS, containers, data)
AWS Service CatalogCurate approved internal IT services
AWS License ManagerTrack and enforce software licenses

On the Exam: Watch the difference between AWS Marketplace (buy third-party/AWS software) and AWS Service Catalog (publish your own approved products internally). Both are "catalogs," but for opposite audiences.


Why Decoupling Matters

The reason these services appear so often is that AWS architecture strongly favors loose coupling. When components call each other directly, a slowdown or failure in one cascades into the others, and you cannot scale or update pieces independently. Inserting a queue (SQS), a topic (SNS), or an event bus (EventBridge) between components breaks that chain: a failed consumer simply leaves messages in the queue until it recovers, and each side scales on its own.

This pattern maps directly to the Reliability and Performance Efficiency pillars of the Well-Architected Framework. Expect "decouple the components" scenarios where the right answer is SQS, SNS, or EventBridge rather than a direct, synchronous connection. A buffering queue in front of a processing tier is also the standard way to absorb sudden traffic spikes without dropping work.

One more distinction worth memorizing: SQS and SNS handle messages, while Step Functions handles workflows and EventBridge handles events. If a scenario describes coordinating an ordered, multi-step process with branching and retries, the answer is Step Functions, not a raw queue. If it describes reacting to a state change emitted by an AWS service or SaaS app, the answer is EventBridge. Reading for "message," "event," or "multi-step workflow" usually selects the right service on the first pass.

Test Your Knowledge

What is the key difference between Amazon SQS and Amazon SNS?

A

SQS is for storage; SNS is for compute

B

SQS is a pull-based queue where one consumer processes each message; SNS is a push-based pub/sub where all subscribers receive every message

C

SQS costs more; SNS is free

D

SQS is for large files; SNS is for small messages

Test Your Knowledge

A company wants to build a serverless REST API backend. Which combination of services should they use?

A

EC2 + RDS

B

API Gateway + Lambda

C

CloudFront + S3

D

ECS + DynamoDB

Test Your Knowledge

Which AWS service provides a serverless event bus for routing events between AWS services and applications?

A

Amazon SQS

B

Amazon SNS

C

Amazon EventBridge

D

AWS Step Functions

Test Your Knowledge

Which service coordinates multiple AWS services into serverless workflows using visual state machines?

A

AWS CodePipeline

B

AWS Step Functions

C

Amazon SQS

D

AWS Lambda

Test Your Knowledge

Which AWS service provides managed virtual desktops that allow users to access a Windows or Linux desktop from any supported device?

A

Amazon AppStream 2.0

B

Amazon WorkSpaces

C

Amazon Connect

D

AWS Cloud9

Test Your Knowledge

A company needs to migrate their on-premises Oracle database to Amazon Aurora PostgreSQL. Which AWS service can convert the database schema?

A

AWS Database Migration Service (DMS)

B

AWS Schema Conversion Tool (SCT)

C

AWS Migration Hub

D

AWS DataSync

Test Your Knowledge

Which AWS service provides a digital catalog where customers can find, buy, and deploy third-party software?

A

AWS Service Catalog

B

AWS Marketplace

C

Amazon AppStream

D

AWS License Manager

Test Your Knowledge

Which service provides a fully managed ETL (Extract, Transform, Load) capability for preparing data for analytics?

A

Amazon Athena

B

Amazon Kinesis

C

AWS Glue

D

Amazon Redshift

Test Your Knowledge

A company wants to create interactive business intelligence dashboards from their data. Which AWS service should they use?

A

Amazon Athena

B

Amazon Quick Sight

C

Amazon Redshift

D

AWS Glue

Test Your Knowledge

Which AWS service would you use to translate text from English to Spanish in real time?

A

Amazon Transcribe

B

Amazon Polly

C

Amazon Translate

D

Amazon Comprehend

Test Your Knowledge

A company wants to extract text and data from scanned invoices and receipts. Which AWS AI service is BEST suited?

A

Amazon Rekognition

B

Amazon Textract

C

Amazon Comprehend

D

Amazon Translate

Sections you finish are checked off in the contents.