High Availability Flashcards
What are the polling methods in SQS?
short polling: Call might not return a message
long polling: Waits until a message is present and then returns it
Is SQS inter-regional?
No, SQS is present in each region and they cannot share messages
What is the format of SQS messages?
XML, JSON or Text - up to 256kb
Auto Scaling Group: What are the required / optional components?
Required: Launch configuration & Launch Group
Optional: Scaling policy & Scheduled actions
What is Auto Recovery on EC2?
Automatic recovery when an instance fails due to hardware failure.
This needs a CloudWatch Alarm.
An recovered instance has the same ID, IP and metadata
What is Fault Tolerance?
And how does it differ from High Availability?
System will continue to function without degradation of performance, even when one compontent failed.
High Availability on the other hand can have some performance issues
When can a queue be automatically deleted? (w/o notification)
30 days after no action has been performed on the queue
How to create a Highly Available Bastion Host?
Create an autoscaling group with multiple AZs and set the min./max. isntances to 1
DR: What are two typical features of a “pilot light”?
The typical Pilot Light scenario is to have your database server mirrored in your cloud environment. Another feature of Pilot Light is to have Amazon Machine Images of your servers that can be used to create cloud servers in minutes.
What is the difference between elasticity and scalability?
Examples for EC2
elasticity: Reacting on short term changes in demand (using autoscaling on demand instances)
scalability: Bulding infrastructure for long term use
EC2:
e: adding more instances
s: provisioning larger instances
What services have maintenance windows?
RDS DynamoDB DAX DocumentDB Elasticache Redshift Neptune
SQS: Can you delete an SQS queue with messages still in it?
Yes
SQS: What are the standard retention rates of a message?
Default 4 days
Up to 14 days
SQS: What is the Visibility Timeout?
Duration of an in-flight message that is invisible to other worker instances
SQS: Is a message available in all regions?
No