5-Application Services Flashcards
What are the key figures for SQS?
Messages can be up to 265KB but are charged for in 64KB blocks.
They are kept for 4 days by default but this can be configured from 1 minute to 14 days
How are retries managed with SQS?
By the visibility timeout which has a default of 30 seconds but can be up to 12 hours
What model does SQS supports?
It is poll based
What targets does SNS support?
Email, SMS, HTTP and Lambda
How durable is SNS?
Messages are stored redundantly across multiple AZs
What model does SNS use?
Pub-sub - recipients must subscribe to a topic but don’t have to continuously poll for it
What are the Kinesis services?
Streams, Firehose and Analytics
What are the rules for Kinesis Shards?
Each shard can:
- read 5 transactions per second, up to 2 MB per second
- write 1000 transactions per second, up to 1 MB per second
Events can be retained in the shard for between 24 hours and 7 days
What is a key feature of Elastic Beanstalk?
Managed Platform Updates automatically apply updates to the underlying OS etc.
What kinds of deployments does Elastic Beanstalk support?
All at once, rolling, rolling with additional batch, and immutable (blue/green)
How are Elastic Beanstalk deployments configured?
With config files that are written in YAML or JSON then stored with a .config extension in a root directory named .ebextensions
How should Elastic Beanstalk be used with RDS?
Ideally, the database should be launched separately so they can have independent lifecycles
How can configuration data for deployments be stored? What services does this support?
The Systems Manager Parameter Store can do this. It stores parameters as plain text or encrypted as a secure string
It works with EC2 bootstrap scripts, CloudFormation templates, and Lambda etc.