Name | DB Type | Features |
---|---|---|
RDS | SQL | Transactional |
Aurora | SQL | Transactional |
Redshift | SQL | Data Warehouse |
DynamoDB | Key/Value | Small Values |
KeySpaces | Key/Value | Large Values |
Neptune | Graph | |
DocumentDB | Documents | XML, JSON, compatible with MongoDB |
Timestream | Time Series | |
Elasticache | In-memory |
AZ scoped platform-as-a-service that can be simplified as running on top of EC2 with EBS volumes
If your DB becomes unavailable in RDS, AWS will replace it automatically with another resources that has a current copy of the data.
This is very useful for production cases because this entire process will happen within less than 60 seconds of total outage time.
Automated Backup
Up to 35 day retention and contains db as long as transaction logs and it will create a new db
Manual Snapshot
Kept until deleted and can be shared with remote accounts unlike automated backup. Snapshots can be encrypted.
Export to S3
It does not require a new db instance
RDS Read Replicas
Asynchronous replicas in the same region or remote region
RDS is launched into a VPC, so it will inherit the VPC security features such as, network ACLs, route tables, and security groups.
Scenario: Deploying a test RDS
Scenario: Modify Role to enable enhanced monitoring for multiple RDS
rds_enable_enhanced_monitoring.sh
#!/bin/bash
REGION=$1
DBNAME=$2
ROLEARN=$3
aws rds moify-db-instancen --region $REGION \
--db-instance-identified $DBNAME \
--monitoring-inverval 60 \
--monitoring-role-arn $ROLEARN
Run the script file
$ bash ./rds_enable_enhanced_monitoring.sh YOUR_REGION YOUR_RDS YOUR_ARN
Reload console to see if the configurations are changing
Region Scoped serverless Key/Value Database
When you write data, it is spread across multiple AZs so if one AZ completely fails, it is still possible to fully function.
username
This summary is made possible by Oreilly's AWS, 3rd Edition - Chad Smith.
If the above post violates any copyright permissions, please let me know!