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