Posts

Showing posts from September, 2022

Queues

  Q what is the difference between SNS & SQS & Event Bridge? Abbreviation SNS stands for simple notification service. SQS stands for simple Queue service. Usage SNS uses a Publisher Subscriber system, we own a topic and we publish to that topic and subscribers get notified of events that are delivered to that topic. One to many fan out. High throughput. Many subscribers. SQS is a queuing service for message processing. SQS can be a subscriber to SNS. When somebody publishes a message to SNS our SQS will get a message that may be processed at a later time. Allows application owner to publish messages to a queue and be decouple application from one another. One of the oldest service from AWS. SQS has a synchronous communication. Temporary message holding pool. Ordered message processing. Event Bridge is an improved version of SNS. Event Bridge provides third-party integration, such as Shopify, Pager duty, data docs, etc. One too many. AWS, SQS, third party application integration

Serverless

Q Is Fargate container or serverless? Ans: It is both. Q What is the advantage of using ECS and Fargate? Ans:  The benefits in ECS are as follows A managed service for containerized applications that does not require much user input to run docker applications. Micro services consisting of multiple applications run in isolated containers. Auto scales tasks based on application Load. Integrates with other AWS services including IAM, Cloud watch, elastic load-balancing, cloud formation templates, EBS volumes, Batch, ECR, and cloud tail logs. A Virtual private cloud(VPC) with no resources shared with other users. Provides support for running a code pipeline with ECS as the deployment platform. Supports the latest docker version. Fargate provides the following additional benefits: With a Fargate launch type, a user does not create or manage any EC2 instances, as none are exposed on the cluster. Tasks are directly exposed to user via an ENI. The underlying infrastructure is provisioned by Fa