AWS Fundamentals: RDS + Aurora + ElastiCache Flashcards
What is RDS?
Relational Database Service is a managed DB service for DB use SQL as a query language.
What does RDS do?
It allows creating databases in the cloud that are managed by AWS
Two ways of deploying a database:
RDS & using an EC2
Features:
- Automated provisioning, OS patching
- Continuous backups and restore to specific timestamp (Point in Time Restore)!
- Monitoring dashboards
- Read replicas for improved read performance
- Multi AZ setup for DR (Disaster Recovery)
- Maintenance windows for upgrades
- Scaling capability (vertical and horizontal)
- Storage backed by EBS (gp2 or io1)
RDS
RDS is a ……., but you can’t ….. into your instances.
managed service, SHH
What helps you increase storage on your DB instance
dynamically?
RDS - storage auto scaling
If using “storage auto scaling” you need to set:
Maximum Storage Threshold (maximum limit for DB storage)
RDS Automatically modify storage if:
- Free storage is less than 10% of allocated storage
- Low-storage lasts at least 5 minutes
- 6 hours have passed since last modification
RDS storage auto scaling is useful for:
Applications with unpredictable workloads
What is a read replica?
Helps scale reads.
Up to …. read replicas.
15
Within……, ……… or ………. is ASYNC, so reads are eventually…………..
AZ, Cross AZ, Replication, consistent
Replicas can be promoted to their own DB?
True
How can applications leverage read replicas?
They must update the connection string.
What are statements are read replicas used for?
SELECT
What are statements are read replicas NOT used for?
INSERT, UPDATE, DELETE
In AWS there’s a …… when data goes from one AZ to another
network cost
RDS Read Replicas within the same region, don’t pay network cost fee?
True
What is RDS Multi AZ mainly used for?
Disaster Recovery
How does RDS Multi AZ work?
With sync replication it writes to a RDS instance on standby in a different AZ
RDS communicates over one DNS name?
True