- Amazon RDS is a database management service for relational databases (structured data engines like MySQL, PostgresSQL, SQL Server etc.).
Feature | Remarks |
---|---|
⭐ Amazon RDS Aurora vs Other RDS DB engines | |
High Availability using Amazon RDS Multi-AZ deployments | When you provision a Multi-AZ DB instance, Amazon RDS automatically creates a primary DB instance and synchronously replicates the data to an invisible standby instance in a different Availability Zone. |
Scalability using Read Replicas | Amazon RDS can be scaled either through Horizontal Scaling (read replicas) or Vertical Scaling. |
Security - Security Group | RDS is protected by the VPC security group. It doesn't have its own security group. |
Security - Encryption at rest | Encryption at rest using AWS KMS with AES-256 encryption algorithm. - If master database is encrypted, automated backups, snapshots & replicas would also be encrypted. - If the master database is not encrypted, the read replicas cannot be encrypted. Encryption can only be enabled during creation. |
Security - Encryption at transmit/flight | Encryption in flight/transmit using SSL. |
💰 Billing, Capacity Modes | Serverless (if Aurora) - OnDemand - Per hour basis billing. - Reserved - Reserve instance for 1 to 3 years, on discounted pricing. |
DB instance classes | Applicable for Provisioned capacity type. The DB instance class determines the computation and memory capacity of an Amazon RDS DB instance. - Memory, Burstable & Servless v2 are different instance types. |
Maintenance window | RDS maintenance window lets you decide when DB instance modifications, database engine version upgrades, and software patching have to occur. - The automatic scheduling is done only for patches that are related to security and durability. - By default, there is a 30-minute value assigned as the maintenance window and the DB instance will still be available during these events though you might observe a minimal effect on performance. |
Backup & Restore | Using Point-In-Time snapshots, we can restore a DB. - It also automatically backs up data & snapshots in Amazon S3. |
AWS Database Migration Service | It helps to migrate other databases to Amazon RDS. |
Amazon RDS Proxy | Amazon RDS Proxy is a fully managed, highly available database proxy for Amazon Relational Database Service (RDS) that makes applications more scalable, more resilient to database failures, and more secure. |
Minor upgrades using ZDP | The zero-downtime patching (ZDP) feature attempts, on a best-effort basis, to preserve client connections through an Aurora upgrade. - If ZDP completes successfully, application sessions are preserved and the database engine restarts while the upgrade is in progress. |
RDS Custom for Oracle | With RDS Custom for Oracle, you can now access and customize your database server host and operating system, for example by applying special patches and changing the database software settings to support third-party applications that require privileged access. - Many applications, including those built on modern serverless architectures, can have a large number of open connections to the database server and may open and close database connections at a high rate, exhausting database memory and compute resources. |
Role | Capacity Type | RDS Engine | Writer vs Reader? | Remarks |
---|---|---|---|---|
Regional Cluster | Provisioned | Aurora | Aurora DB Cluster | |
Writer Instance | Provisioned | Aurora | Writer | |
Reader Instance | Provisioned | Aurora | Reader | |
Primary | Provisioned | Non-Aurora | Writer | |
Replica | Provisioned | Non-Aurora | Reader | |
~~Serverless (v1) | Serverless | Aurora | Both writer and reader | Deprecating, in favor of Serverless v2 instance class.~~ |