Decoupling Workflow Flashcards
One instance talking to another instance
Tight Coupling
Fully managed message queuing service that enables you to decouple and scale
Simple Queue Service (SQS)
Fully managed messaging service for both application-to-application (A2A) and application-to-person (A2P) communication
Simple Notification Service (SNS)
Fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.
API Gateway
Messaging queue that allows asynchronous processing of work
SQS
One resource will write a message to an SQS queue and then another resource will retrieve that message from SQS
SQS
allows services to communicate by sending and receiving messages via a queue. This enables services to remain loosely coupled and promotes service discovery.
Asynchronous Messaging
Messages can be up to ___ KB of text in any format
256
server-side SQS-owned encryption
SSE-SQS
Messages are encrypted in transit by default
SQS
Polling that is done repeatedly
Short Polling
Polling for a period of time, waiting for data
Long Polling
a period of time during which Amazon SQS prevents all consumers from receiving and processing the message
Visibility Timeout
targets for messages that cannot be processed successfully
Dead-Letter Queue
used for debugging applications and messaging systems
Dead-Letter Queue
Monitors queue depth
CloudWatch alarm
Best-effort ordering
Standard message ordering
Guaranteed ordering
FIFO
Possible for duplicate messaging
Standard message ordering
Nearly unlimited transactions per second
Standard message ordering
Allows FIFO to process up to 9,000 transactions per second per API action without batching
FIFO High throughput
Any messages sent by a producer that arrives at the SNS Topic will be immediately sent to all customers
Push-based messaging
Push-based messaging service in AWS that delivers messages to the endpoints that are subscribed to it in real time
SNS
Allows for sending messages up to 2 gb in size Payload is stored in S3 with SNS publishing a reference to the object
SNS Extended Library
Messages published to SNS topics are replicated to multiple endpoint subscriptions.
SNS Fanout
Allows for fully decoupled parallel asynchronous processing
SNS Fanout
Use JSON to define which messages get sent to specific subscribers in SNS
Filter Policies
Allows you to easily protect your endpoints by attaching a web application firewall (WAF)
API Gateway
Users can easily implement DDoS protection and rate limiting to curb abuse of their endpoints
API Gateway
Fully customizable API option
REST API
Cheaper API option with less features
HTTP API
Collection of WebSocket routes integrated with Lambda Functions and other AWS services
WebSocket API
Allows API requests to get sent through a CloudFront edge location
Edge-Optimized
Perfect for clients that reside in the same, specific region
Regional
Only accessible via VPCs using interface VPC endpoints
Private
Can be accomplished to control access to your APIs
User Authentication
Allows you to run batch computing workloads within AWS removes configuration and management
AWS Batch
Units of work that are submitted to AWS Batch
Job
Specify how your jobs are to be run
Job Definition
Set of managed or unmanaged compute resources used to run your jobs
Compute Environment
Recommended approach for computing environments in batch that require very fast start times
Fargate
Recommended approach for computing environments in batch where more control over instance selection is needed
EC2
15 minute execution time limit, with limited disk space
AWS Lambda
Fully serverless but it has limited runtimes
Lambda
Uses Docker so any runtime can be used
Batch
Message broker service allowing easier migration of existing applications to the AWS Cloud
Amazon MQ
MQ broker which has one instance available at all times.
ActiveMQ
MQ broker which are groupings of three broker nodes across multiple AZs sitting behind a Network Load Balancer
RabbitMQ
enables you to implement a business process as a series of steps that make up a workflow. meant for event-driven task executions
AWS Step Functions
Step Functions workflow used for long-running workflows
Standard
Step Functions workflow used for high-event-rate workloads
Express
Fully managed integration service for exchanging data between SaaS apps and AWS services
Appflow