AWAS Messaging

AWS Tutorial: Application Integration & Messaging

Welcome to the AWS Messaging lesson. When building large, cloud-native applications, you rarely build a single, massive program. Instead, you build many smaller independent services (microservices) that need to talk to each other to function as a whole.

AWS Messaging Concepts

Why Learn AWS Messaging?

Learning how to properly connect different parts of your application is essential for building resilient, highly scalable systems. Application integration services allow you to "decouple" your architecture, meaning if one part of your system fails or slows down, the rest of the system isn't dragged down with it.

Tutorial Overview

In this tutorial, you will learn:


Tightly Coupled vs Loosely Coupled

The Key AWS Messaging Services

AWS provides several highly scalable services to facilitate loose coupling:

  1. Amazon SQS (Simple Queue Service): A robust message queue service used to decouple applications. Messages are placed in a queue and processed by a consumer whenever it has availability.
  2. Amazon SNS (Simple Notification Service): A highly flexible publish/subscribe (pub/sub) service. A publisher sends a message to a centralized "topic," and multiple subscribers instantly receive a copy of that message.
  3. Amazon EventBridge: A serverless event bus that connects application data from your own custom apps, external SaaS products, and internal AWS services seamlessly.

Exercise

?

What is the primary benefit of using a loosely coupled architecture in AWS?