Applications Flashcards
What is CloudFormation?
A way of scripting your cloud environment. You can use quick start to use a bunch of cloudformation templates built by AWS solutions architects allowing you to create complex environments quickly
What is ElasticBeanstalk?
Automatically completes capacity provisioning, load balancing and scaling just add code!
What SQS?
Simple Queuing Service (pull based)
Why use SQS?
Allows you to decouple your infrastructure if allows messages to be sent and kept in a queue.
How long can messages in SQS be kept in a queue?
1 min to 14 days
What are the types of SQS?
1) Standard
2) FIFO
Is order guaranteed in Standard SQS?
No, order is not guaranteed and there can be duplications
Is order guaranteed in FIFO SQS?
Yes, order is strictly maintained and messages are delivered once and only once
What is visibility time out in SQS?
Visibility time out is the time that the messages in the SQS are invisible in the queue after a reader picks up that message
What happens in SQS when the job is processed before the visibility timeout expires?
The message will be deleted from the queue
What happens in SQS when a job is NOT process within the visibility timeout period?
The message will become visible in the queue again and another reader will process it
What is the maximum visibility time out in SQS?
12 hours
Does SQS guarantee that your message will be processed once?
Yes
What is SQS long polling?
A way to retrieve messages from your SQS queues. Long polling doesn’t return a response until a message arrives in the queue or the long poll times out
Why use SQS long polling?
It is cheaper