RDS Flashcards
RDS
Relational Database Service
Fully managed database service
Activities handled by AWS (4/5)
RDS
- Provisioning
- patching
- backup
- scalability
- recovery
RDS
Availability
RDS
Supports multiple AZs
RDS
Network access
RDS
Launches into a VPC
RDS
horizontal scalability
RDS
Read replicas, where supported by platform
RDS
Available Platforms (4/7)
RDS
MySQL
PostgreSQL
MariaDB
Oracle DB
SQL Server
IBM DB2
Aurora
RDS
Aurora
RDS
Cloud DB built by AWS
RDS
Compatibility
RDS Aurora
MySQL
PostgreSQL
RDS Aurora
DMS
RDS
DB Migration Service
Migrate from onprem DB to AWS
RDS
Migration options (2)
RDS DMS
Onetime
Continual
RDS DMS
Cost basis
RDS DMS
Pay per compute
RDS DMS
vertical scaling
RDS Scalability
add resources
RDS Scalability
storage autoscaling
RDS Scalability
RDS detects if storage is low automatically expands it
RDS Scalability
maximum storage threshold
RDS storage autoscaling
customizable limit for DB storage
RDS storage autoscaling
conditions that prompt automatic scaling (3)
RDS storage autoscaling
- free storage <10%
- low storage for 5 minutes
- 6 hours since last change
RDS storage autoscaling
which DB engines support
RDS storage autoscaling
all of them
RDS storage autoscaling
read replica
RDS
DB copy that services read requests
RDS
replica limit
RDS read replica
15
RDS read replica
replica placement options (3)
RDS read replica
- in AZ
- cross AZ
- cross region
RDS read replica
syncronization type (2)
RDS read replica
- asynchronous
- reads are eventually consistent
RDS read replica
how to set application to use replicas
RDS read replica
write connection string to include replicas
RDS read replica
use case
RDS read replica
reporting application uses replica instead of taxing main DB
RDS read replica
AZ cost benefit
RDS read replica
cross AZ traffic does not incur fees
RDS read replica
multi AZ option
RDS read replica
may set up replicas as multi AZ for DR
RDS read replica
RDS multi AZ
RDS
hot standby DB instance
RDS
synchronization type (2)
RDS multi AZ
- synchronous
- changes replicate immediately
RDS multi AZ
how application connections are handled (2)
RDS multi AZ
- one DNS name
- auto failover in case of master DB outage
RDS multi AZ
difference compared to replica
RDS multi AZ
not used for scaling
RDS multi AZ
RDS Custom
RDS
Managed DB with access to DB and OS customizations
RDS
Used for DB engines (2)
RDS Custom
- Oracle
- Microsoft SQL Server
RDS Custom
provides
RDS Custom
full admin access
RDS Custom
Use (3)
RDS Custom
- configure settings
- install patches
- enable native DB features
RDS Custom
steps to use (3)
RDS Custom
- de-activate authentication mode
- take DB snapshot
- connect using SSH or SSM
RDS Custom
automated BU (2)
RDS BU
- Daily full
- transaction logs every 5 minutes
RDS BU
what point in times can automated BU restore
RDS BU
may restore any point from oldest BU to 5 minutes
RDS BU
automated BU retention options (2)
RDS BU
- 1 to 35 days
- disabled
RDS BU
manual db snapshot
RDS BU
triggered by user
RDS BU
manual snapshot benefit
RDS BU
no retention time limit
RDS BU
cost benefit of manual snaphot
RDS BU
cheaper than storing a database offline
RDS BU
Restore MySQL to new database
RDS BU
- Create BU for onprem or cloud MySQL DB
- save to S3
- Restore to RDS
RDS BU
RDS restore option
RDS BU
Restore RDS / Aurora backup to new database
RDS BU
at-rest encryption
RDS Aurora security
DB master and replicas encrypted using AWS KMS
RDS Aurora security
how to encrypt unencrypted DB (2)
RDS Aurora security
- create DB snapshot
- restore snapshot as encrypted
RDS Aurora security