RDS Flashcards
How to improve high availability for an RDS instance?
Multi-AZ: You can force a failover; Single endpoint
How to improve performance?
Add a read-replica; In case the primary is lost, the application needs to be manually updated in terms of database JDBC string/endpoint
Explain automated backups VS DB snapshots
Automated backups: Stored for free (DB size) in S3; Allow point in time recovery. A full backup is restored and multiple transactional log backups are applied; May experience latency for I/O
DB Snapshot: Manually triggered
What happens with the endpoint in case of restore?
The restore will bring a new RDS instance with a NEW endpoint
For what engines the Multi-AZ is availble?
ALL, but Aurora: MySQL Postgres SQL Server Oracle MariaDB
For what engines the Read-Replica is available?
ALL, but SQL Server: MySQL Postgres Oracle MariaDB Aurora
Automated backups turned ON is a requirement;
Up to 5 read-replicas can be configured;
The read-replica can be promoted to its own database, but this breaks the replication
How can a MySQL be migrated to Aurora?
From RDS perspective, click on Actions->Create Aurora read-replica
How can you easily migrate one RDS instance to another region?
Create a read-replica on another region and promote it ;)