Section 9: AWS Fundamentals: RDS + Aurora + ElastiCache Flashcards
What can you do with Aurora Custom Endpoints?
Define a subset of Aurora instances as a Custom endpoint
Could have a Analytical queries on specific replicas
What is ElastiCache?
ElastiCache is to get managed Redis or Memcached
What’s the difference between Redis and Memcached?
Redis
• Multi AZ - auto fail over
• Read Replicas - reads have high availability
• Data Durability using AOF persistence
• Back up and restore features
Memcached
• Multi-node for partitioning of data
• No high availability
• Non persistant
• no back up and restore
• multi threaded architecture
How can you authenticate Redis?
- Can set a password/token when creating the Redis cluster (on top of security groups)
- Supports SSL in flight encryption
Does Elasticache support IAM authentication?
NO
What kind of security does Memcached support?
SASL-based auth
What are 3 patterns for ElastiCache?
Lazy Loading: All the read data is cached, data can become stale in cache.
Write through: Adds or update data in cache when written to DB (no stale)
Session store: Stores temporary session data in cache (TTL features)
What is Global Aurora and is that use case?
Aurora that spans multiple AWS regions. (Cross region read replicas)
Disaster recovery
List the characteristics of Aurora Global Database
- 1 primary region (R/W)
- 5 secondary regions - replication lag is < 1 sec
- 16 read replicas per secondary region
- helps decrease latency
- promoting to another regions has an RTO of < 1 min
- Cross region replication < 1 sec