Aurora compatible relational database
MySQL and PostgreSQL
Aurora faster standard MySQL
5x faster
Aurora faster standard PostgreSQL
3x faster
Aurora quantity copies maintains
6 copies across 3 AZs
Fast backtracking option for…
PITR
Aurora DB cluster types
Writer Endpoint (master) and Reader Endpoint (Connection Load Balancing)
Number Max Endpoints custom
5
Automatic failovers from the
master instance
Aurora Serverless automatically…
starts up, shuts down, scales up/down based on application needs
Aurora serverless results compared to RDS
40% lesser overall
What happens in case of cluster or AZ failure?
Creates the DB instance in another AZ
Data API types used for run queries
Query Editor within RDS console, Command Line, AWS SDK
To access VPC resources in relation for Lambda
No need to configure
Aurora Multi-Master - typically results in…
zero downtime
Global Aurora - Cross Region Read Replicas points principal
Aurora Global Databases (recommended) - points principal
Reliability features in Aurora - explain storage Auto-Repair principal points
Principal points about Survivable Warming
Principal points Crash Recovery
Principal Points in cluster cache management CCM
> Buffer cache is to reduce disk IO in RDBMS
Cached content in primary and replica may be different
Post a failover from primary to a replica, promoted replica takes some time to warm up its cache
this causes slower response time post failover
CCM improves the performance of the promoted instance post failover
Replica preemptively reads frequently accessed buffers cached from the primary
Simulating Fault Tolerance in Aurora points
Simulating fault tolerance w/ manua failover points
> Select the master instance and choose Actions -> Failover (or use failover-db-cluster command)
Failover to the replica with highest failover priority will be triggered
The read replica with highest failover priority will be the new master
The master instance that failed over will become a replica when it comes online
As each instance has its own endpoint address
So you should clean up and re-establish any existing connections that use the old endpoints post a failover
Simulating fault tolerance w/ fault injection
queries points
Fault injection queries – writer / reader crash
ALTER SYSTEM CRASH
[ INSTANCE | DISPATCHER | NODE ];