Skip to the content.

AWS Integration and Messaging

This is not an exhaustive documentation of all the existing AWS Services. These are summarized notes for the AWS Certifications.
To see the complete documentation, please go to: AWS documentation

Integration and Messaging

When we start deploying multiple applications, they will inevitable result in the necessity to communicate with one another

|| |-|

Back to the top

SQS - Simple Queue Service

|| |-|

SQS - Standard Queue

SQS - Delay Queue

SQS - FIFO Queue

|| |-|

Back to the top

Producing Messages

|| |-|

Consuming messages

|| |-|

Back to the top

Message Visibility Timeout

Dead Letter Queues

Back to the top

Long Polling

|| |-|

Message Consumption Flow

|| |-|

SQS With Auto Scaling Group

|| |-|

Allows scaling the number of EC2 instances based on the available messages in the queue

If the variable goes above the threshold value, this may mean:

When we set the threshold value, we can set maybe set TWO ALARMS

When the variable goes above the threshold value, then alarms are breached and it will do the following:

Back to the top

SQS Extended Client

|| |-|

Decouple application tiers

|| |-|

Back to the top

Data Ordering in SQS

Security

Encryption

Access Control

SQS Access Policies

Back to the top

SNS - Simple Notification Service

|| |-|

AWS SNS

Integrations

Back to the top

Publishing events

How to publish?

Direct Publish (for mobile apps SDK)

Back to the top

SNS + SQS Fan Out

|| |-|

Use case

Back to the top

AWS Kinesis

|| |-|

It is a big data stream tool, which allows to stream application logs, metrics, IoT data, click streams, etc.

Back to the top

Kinesis Streams

Kinesis Stream Shards

|| |-|

Back to the top

Kinesis Data Firehose

Kinesis Data Streams vs, Firehose

Back to the top

Kinesis Data Analytics

AWS Kinesis API

Put Records

|| |-|

Back to the top

Exceptions

Consumers

|| |-|

Back to the top

AWS Kinesis CLI

Sending data:

aws kinesis help
aws kinesis list-streams help
aws kinesis list-streams
aws kinesis describe-streams help
aws kinesis describe-streams --stream-name <name>  

## example
aws kinesis put-record --stream-name eden-stream-1 --data "Hello world. Please sign up." --partition-key user_123
aws kinesis put-record --stream-name eden-stream-1 --data "User has sign up." --partition-key user_123
aws kinesis put-record --stream-name eden-stream-1 --data "Registration complete." --partition-key user_123

Retrieving records:

aws kinesis help
aws kinesis get-shard-iterator help  

|| |-|

aws kinesis get-shard-iterator --stream-name <name> --shard-id <shard id> --shard-iterator-type TRIM_HORIZON 

|| |-|

aws kinesis get-records help 

|| |-|

Back to the top

Security

Ordering data into Kinesis

Ordering data into SQS

Summary - SQS vs SNS vs Kinesis

SQS

SNS

Kinesis Data Streams

Back to the top

Amazon MQ

Back to the top