Workload Decoupling Flashcards
SQS Delivery Delay range and default
0-15min default is 0 min
Max message size SQS
256 KB
SQS Default Retention
4 days
SQS Message retention range
1min - 14 days
Long Polling vs Short Polling
Long Polling - wait for messages to arrive to poll (best option)
Short Polling - continually poll (default)
SQS Default Visibility Timeout
30 seconds
How can you use API Gateway to help protect against DDoS Attacks
Add a WAF
I have 2 different versions of my API and want only my customers to be able to access one version on servers as the other is beta for testing. How can I ensure this?
Create different versions with API Gateway and set credentials and setup access for one version of API and not the other.
AWS Orchestration Service for running multi node parallel jobs that span multiple EC2 instances or ECS/Fargate
AWS Batch
4 Components of AWS Batch
Job - script, executables or docker images
Job Definition - blueprint for resources in job
Job Queues - Jobs sit in queues until ready for processing
Compute Env - compute resources used to run your jobs
When to use EC2 in AWS Batch over Fargate?
1) Custom AMI Needed
2) Need more that 4 vCPUs
3) Anything that needs more than 30 GiB of memory
4) Need GPU or Gravition CPU
5) Large # of Jobs
6) Need to set linuxParameters
If you can’t use Lambda due to time constraints, memory, or runtime you want to use what service is a great alternative for things that need to run as a job?
AWS Batch
Message Broker Service that allows for easier migration of existing applications to the Cloud
Amazon MQ
Engine Types supported by Amazon MQ
ActiveMQ
RabbitMQ
TRUE or FALSE Amazon MQ is equivalent to SQS not SNS
FALSE, Amazon MQ provides options for both topics and queues