Amazon AWS

RDS

It’s the amazon service to use a relational database.

There are lots of databases available for usage: Postgres, aurora…

SQS

Simple Queue Service is used to implement a queue to deliver messages.

You put a message in the queue, which is available for some service polling (get) it.

Note that the message is removed from the queue as some service polls the message. Thus you cannot “get” this message in multiple services. Note that the queue does not keep the arrival order of the messages, though you can specify that you want to keep this order on the queue creation.

sqs
*

SNS

Simple Notification Service is a service from Amazon used to decouple your system using notifications.

The SNS is like an implementation of a PubSub. You put a message into the SNS Topic, and the SNS will notify all the systems listening to this topic.

The SNS retries to deliver the message whenever it fails to be delivered (this is configured, and by default, to this date, it’s three). When the number of retries is exhausted, the SNS either discard the message or sends it to a dead-letter queue (DLQ)

sns
*

DynamoDB streams

Unlike a queue, a stream is a persistent data structure. Streams buffer messages from the producers in an append-only file to be read by the consumers. Consumers can read the stream multiple times, and they need to know which messages they have already read or want to read.

DynamoDB streams are used to capture changes in the DynamoDB tables. You can use it as a trigger to a lambda. The lambda polls the stream for changes four times for seconds, and by default, it keeps retrying the batch until it processes it successfully or the batch expires.

DynamoDB streams

VPC

Logical isolated network.

vpc

NAT Gateway

It allows a VPC network to connect to external devices. NAT could be either:

  • Public: to allow the VPC to access the public internet.

Public NAT does not allow unsolicited inbound requests.

  • Private: to allow the VPC to access other VPCs.

*: I got it from the internet, and I don’t remember the source. Sorry for that. Just give a hint if it’s yours, and I’ll update the refs.


You may also like...

Your computer has two clocks