RDS engines and operations

Intermediate · 35 min

What Amazon RDS manages and what stays yours: engines, instance classes, storage, parameter groups, maintenance, upgrades and access.

Before thisVPCs, subnets and address planningSecurity groups and network ACLsEBS volumes and snapshotsEncryption with KMS

DheerajTechInsight · 35 min

RDS engines and operations

The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.

Taught by DheerajTechInsightReport a problem with this video
Not started
Set this lesson's status

What you'll learn

  • RDS runs the server, patching, backups and failover machinery. Schema, queries, indexes, access and capacity choices remain yours.
  • Engines are Db2, MariaDB, MySQL, SQL Server, Oracle and PostgreSQL. You get a database endpoint, not a shell on the host.
  • Put the instance in private subnets, admit only the application's security group and turn on encryption at creation.
  • Settings live in parameter groups. Dynamic parameters apply live and static ones wait for a reboot.
  • Maintenance runs in a weekly window, and an engine version past standard support is billed for Extended Support.
  • Use a connection pooler or RDS Proxy when many short-lived clients would exhaust connections.

What running a database involves

Installing PostgreSQL on an instance takes ten minutes. Running it takes the rest of your life: patching the OS and engine, taking backups and proving they restore, replicating to another zone, failing over at 3 a.m., growing disks before they fill.

Amazon RDS takes over that operational layer. Think of renting a serviced office instead of a building. Someone else maintains the plumbing, and you can’t knock down walls.

The dividing line

AWS does You still do
provisioning, OS and engine patching schema, queries, indexes
automated backups, restore machinery deciding retention and testing restores
replication and failover when enabled turning it on, and handling reconnects
hardware and storage durability instance size, storage, access control

RDS won’t fix a missing index. Most “the database is slow” problems are still yours.

The engines are IBM Db2, MariaDB, Microsoft SQL Server, MySQL, Oracle and PostgreSQL. Aurora is a separate design with MySQL and PostgreSQL compatibility. You connect with the normal client to an endpoint, a DNS name. There’s no SSH, and the master user isn’t a true superuser.

Size and storage

You choose an instance class. Burstable t classes suit development and spiky light load, since they slow down or bill extra once CPU credits run out. m and r classes give steady compute and more memory. A database wants its working set in memory, so memory is often what you’re buying.

Storage is SSD: General Purpose (gp3) for most workloads, or Provisioned IOPS (io2) for demanding, latency-sensitive ones. Storage autoscaling grows the volume up to a maximum you set. Plan for growth in one direction, since shrinking allocated storage isn’t a simple modification.

Network and secrets

Place the database in private subnets, via a DB subnet group spanning at least two zones. Leave public access off. Allow the database port only from the application’s security group. Turn on KMS encryption when you create it, and require TLS.

For credentials, let RDS keep the master password in Secrets Manager and rotate it, and give applications their own limited database users. MariaDB, MySQL and PostgreSQL also support IAM database authentication, where a 15-minute signed token replaces the password.

Parameter groups

Since you can’t edit config files, engine settings live in DB parameter groups. The default group is read-only, so create your own from the start. Dynamic parameters apply without a restart. Static ones wait for a reboot, and until then the instance shows pending-reboot. Some engines also use option groups for add-on features.

Maintenance and upgrades

Pending patches and deferred changes run in a weekly maintenance window you choose. Some require the instance to go offline. A Multi-AZ setup shortens the interruption, though a major version upgrade still needs planning. A modification you mark “apply immediately” doesn’t wait, which can surprise you with a restart at midday.

Minor versions can upgrade automatically. Major versions are your call: test on a restored copy first. Blue/green deployments (MariaDB, MySQL, PostgreSQL) build a synchronized copy, let you upgrade it, then switch over.

Ignoring upgrades now has a price. After a major version’s end of standard support, RDS can keep running it under Extended Support for up to three more years, at extra cost, then upgrades you anyway. New instances can be enrolled automatically, so check the setting and the calendar.

Defaults that bite

I created an instance with only the required options on a local emulator:

Retention: 1      Encrypted: false
Protect:   false  Secret:    creating

A one-day backup retention is also the documented API and CLI default; the console defaults to seven, and turns deletion protection on. The same database can come out differently depending on how you made it. Write settings explicitly in infrastructure code.

Connections

Each connection costs the database memory. Hundreds of Lambda environments each opening one will exhaust it. RDS Proxy pools and reuses connections and smooths failovers. Pooling explains the idea.

Watch CPU, free memory, free storage, connections and I/O latency, and use the database performance tooling to find which queries cost most.

About the video

The embed is DheerajTechInsight’s 35-minute RDS tutorial from November 2025. Its chapters cover what RDS is, managed against self-managed, supported engines, key concepts and benefits, a long hands-on lab from about 9 to 29 minutes, then security and good practice. I judged it from chapters and description; its audio is flagged as original US English.

What was run: the create call ran on moto 5.1.22. moto reported PostgreSQL 9.3.3, long out of support, which shows how little to read into emulator defaults. The rest comes from the RDS user guide, checked in November 2026.

Check yourself

  1. 01A teammate wants to SSH into the RDS instance to edit postgresql.conf. What do you tell them?

    There is no host access on standard RDS. Change settings in a custom DB parameter group attached to the instance.

  2. 02You changed a parameter and nothing happened. What is the likely reason?

    It is a static parameter, which applies only after a reboot, or the instance still uses the default parameter group, which can't be edited.

  3. 03You stop a development database to save money and find it running two weeks later. Why?

    RDS starts a stopped instance automatically after seven days so it doesn't fall behind on maintenance. Storage is billed even while stopped.

  4. 04A Lambda-based API opens a new database connection per request and the database refuses connections under load. What helps?

    RDS Proxy, which pools and reuses connections, along with reusing connections across invocations and limiting the function's concurrency.

Go deeper

Notes

Private to you

Esc
↑↓ navigate↵ open? shortcuts

Keyboard shortcuts

Press Esc to close

Anywhere

⌘K
Search and commands
/
Search
?
This sheet
Esc
Close

Reading a lesson

J
Next lesson
K
Previous lesson
B
Bookmark