RDS - Relational Database Service Flashcards
What is RDS
Relational Database Service is a managed DB service for DB that use SQL and allows you to create databases in the cloud that are managed by AWS
What are the databases managed by RDS?
- Postgres
- MySQL
- MariaDB
- Oracle
- Microsoft SQL Server
- Aurora (AWS Proprietary database)
What can’t you do on RDS that can do if you would have a DB deployed on EC2?
you can’t SSH into your instance
What you must do to have backups in RDS?
nothing, backups are automatically enabled in RDS
What does allow you to do the RDS automated backups?
to restore to any point in time from oldest backup to 5 minutes ago
How frequently does run a RDS full backup?
daily during the maintenance windows
how frequently are transaction logs backed up on RDS?
every 5 minutes
how many days are automatic logs retained by default in RDS?
7 days, can be increased to 35
what are RDS DB snapshots?
they are backups manually triggered by the user
how many days are db snapshots retained by default in RDS?
for as long as you want
What is the max number of read replicas allowed in RDS?
up to 5
Are RDS read replicas cross AZ or cross regions?
yes to all
how does happen replication on RDS?
async
If something is wrong what can you do with your RDS replica?
you can promote it to be a master DB
What needs to be done on application side to leverage RDS replicas?
applications must update the connection string
what SQL statements are allowed on RDS replicas?
just selects
What is a common use of RDS replicas?
to run a reporting application to run some analytics
What happens when data goes from 1 AZ to another?
there is a cost involved
What can you do to reduce cost of RDS replicas?
you can have them in the same AZ
What is RDS multi AZ for disaster recovery setup?
RDS uses read replicas and the replication is sync