RDS + Aurora + ElastiCache Flashcards

1
Q

RDS

A
  • Multi AZ instances can be enabled for HA
  • Multi AZ provides synchronous replication (Read Replicas is asynchronous)
  • Read Replicas can be setup for Multi AZ in DR
  • Multi AZ ONLY supports same region
  • Failover takes 1-2 minutes, only compliant with HA, not FT
  • Can perform manual failover
  • Read Replicas can be setup as Multi AZ for DR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

RDS Restores

A
  • Creates a new RDS Instance - with a new endpoint address

- Restores are SLOW - think about RTO

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

RDS Read Replicas

A
  • Only supports 5 Read Replicas at once
  • Enables HA
  • Replicas can be promoted to Primary in DR event
  • Can be created Cross Region
  • Provides asynchronous replication (Multi AZ is synchronous)
  • Can use for reporting without affecting primary instance
  • Network cost is oncurred for traffic from one AZ to another
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

RDS Encryption

A
  • Supports EBS volume encryption (using KMS)
  • Encryption cannot be removed once added
  • If master instance is not encrypted, Read Replicas can’t either
  • MySQL and Oracle support Transparent Data Encryption (TDE)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Aurora

A
  • Supports 15 replicas
  • dont need to specify storage requirements
  • Uses shared storage volume for master and read replicas
  • Backtrack: restore data at any point of time without using backups
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Aurora Serverless

A
  • Scalable: uses Aurora Capacity Units
  • Can incur 0 costs if not used
  • Good for infrequent, intermittent or unpredictable workloads
  • Application will use ‘proxy fleets’ which automatically connect to underlying Aurora Capacity Units
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Aurora Global

A
  • Allows global replication with upto 5 regions
  • Cross Region Read Replicas
  • 1 Primary region, with 5 secondary read-only regions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Aurora Multi Master Writes

A
  • Multiple master instances that support read and write operations
  • Application can connect to one or both masters at a time
  • Cluster proposes data to other master to synchronise
  • Much better availability, and failover event will not disrupt traffic, as the other writer will take over
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

ElastiCache

A
  • in-memory database to cache data for READ HEAVY worklods with low latency requirements
  • can reduce workload on DB
  • can store session data
  • However, requires application code changes to check for things at ElastiCache
  • Support SSL in flight encryption
  • DO NOT SUPPORT IAM AUTHENTICATION
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Elasticache: Memcachd

A
  • Supports only simple data structures (strings)
  • No replication
  • Multiple nodes
  • No backups
  • Multi-threaded by design
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Elasticache: Redis

A
  • Supports advanced structures, such as lists, sets, stored sets, bit arrays
  • Supports Multi-AZ
  • Replication
  • Supports Backup and Restore
How well did you know this?
1
Not at all
2
3
4
5
Perfectly