In short
Running PostgreSQL on your own VM means you handle patches, backups, disk space and 2 a.m. failures. Managed databases take most of that off your plate, so you can focus on tables and queries.
Amazon RDS runs managed relational databases such as MySQL, PostgreSQL, MariaDB, SQL Server and Oracle. AWS handles setup, patching, backups and failover, while you handle schema, queries, security groups and sizing.

Think of it like this
Car with a service plan
You still drive the car and choose where to go. But oil changes, tyre checks and repairs happen on schedule at the service centre without you crawling under the bonnet. RDS is your database with a full service plan.
Watch it happen
You run queries, RDS runs the server
connect :5432 (TLS)
1/5Your app connects to an endpoint name, just like any PostgreSQL server.
The big ideas
What you need to know
Familiar engines
RDS runs PostgreSQL, MySQL, MariaDB, SQL Server, Oracle and Db2. Aurora is AWS's own compatible engine.
What's managed
Hardware, OS, engine patches, automated backups, monitoring and optional failover. No SSH into the server.
What's still yours
Schema design, indexes, slow queries, users and permissions, and choosing the right instance size.
Same idea elsewhere
Google Cloud SQL and Azure Database for PostgreSQL or MySQL offer the same deal on other clouds.
See it in code
Walk through the code
1aws rds create-db-instance \2 --db-instance-identifier notes-db \3 --engine postgres \4 --db-instance-class db.t4g.micro \5 --allocated-storage 20 \6 --master-username appadmin \7 --manage-master-user-password \8 --backup-retention-period 7 \9 --no-publicly-accessible10 11# Then connect from a server inside the VPC12psql "host=<endpoint> port=5432 dbname=postgres user=appadmin sslmode=require"1/4A small PostgreSQL instance with 20 GB of storage.
--manage-master-user-password stores the admin password in Secrets Manager, so it never appears in your shell history.
Save yourself the pain
Common mistakes
Oops
Making the database publicly accessible so you can connect from your laptop.
Do this instead
Keep it private. Use a bastion host, Session Manager port forwarding or a VPN to reach it.
Oops
Thinking 'managed' means queries will be fast automatically.
Do this instead
RDS won't add your missing index. Use Performance Insights or EXPLAIN to find and fix slow queries.
Your mission
Spin up, connect, delete
Quick check
Which task is still your responsibility on RDS?
Go deeper
- 1Launch a small PostgreSQL RDS instance in a private subnet and connect to it from an EC2 instance.
- 2List what AWS manages for you and what you still own.
- 3Delete the instance after the lab, choosing whether to keep a final snapshot.
More topics at this stop
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.