AWS in 1 Min · Episode 111

Amazon RDS explained: managed relational databases on AWS

Your database, minus the chores. Watch the one-minute video, then read the details.

David Gomez1:10 video · 2 min read

"A cloud database means renting a server and running the database yourself." You can do exactly that on EC2, and some teams must. But then installing, patching, backups and failover are all yours, usually at the worst possible hour. Amazon Relational Database Service (RDS) exists so you do not have to.

What RDS is

RDS is a managed relational database. You choose an engine, an instance size and storage, and AWS runs the database for you. The basic unit is a DB instance: an isolated database environment you connect to with the same drivers and tools you already use.

RDS supports six engines:

  • MySQL
  • PostgreSQL
  • MariaDB
  • Oracle Database
  • Microsoft SQL Server
  • IBM Db2

Amazon Aurora, the Amazon-built MySQL- and PostgreSQL-compatible engine, is also managed through RDS, but it works differently enough to deserve its own article.

What AWS does, and what you still own

Compared with running a database on EC2, AWS takes over:

  • Installing the database software
  • Patching the operating system and the database engine
  • Automated backups and restores
  • Failure detection and recovery, and high availability if you enable Multi-AZ
  • Scaling the instance and storage when you ask for it

You still own the schema, the queries and the tuning. AWS documentation puts query tuning on the customer side of the shared responsibility model. A missing index is still your problem; tools like Performance Insights help you find it.

Backups and point-in-time restore

With automated backups turned on, RDS takes a snapshot during your backup window and lets you restore to any point in time within the retention period. The retention period can be set from 1 to 35 days (0 turns automated backups off; the console defaults to 7). A restore creates a new DB instance, so plan for an endpoint change in your app.

For longer retention, take manual snapshots or use AWS Backup.

Keep it private

A common mistake is making the database publicly accessible "just for testing". Put RDS in private subnets and allow inbound traffic only from your application's security group. Admins can reach it through a bastion or Session Manager instead of an open port.

Where AI fits

RDS for PostgreSQL supports the pgvector extension, available in current major versions. With it, a table can have a vector column that holds embeddings next to your normal rows, and you search them by similarity with plain SQL. For many teams that is the simplest way to add semantic search or retrieval for a chatbot: no new database to run, the same backups and access controls, and joins between embeddings and business data.

Check the pgvector version for your engine version in the RDS for PostgreSQL release notes before relying on newer index features.

Quick recap

  • RDS runs MySQL, PostgreSQL, MariaDB, Oracle, SQL Server or Db2 for you.
  • AWS does the chores (installs, patches, backups, failure detection); you own the queries.
  • Point-in-time restore covers up to 35 days; keep the database in private subnets.
AWS in 1 Min #111 · 1:10

Need an AWS expert on your team?

I'm David, an AWS expert and fractional cloud consultant. I work alongside your team to run your cloud and infrastructure: architecture, security, cost and day-to-day operations. You get senior AWS experience when you need it, without the cost of a full-time hire.

  • Architecture reviews and a clear plan for what to fix first
  • Security hardening: IAM, networking, audits
  • Lower AWS bills without slowing your team down
  • Hands-on help with AI workloads on AWS