All services

Database

Amazon RDS

Managed relational databases (PostgreSQL, MySQL, SQL Server, Oracle, MariaDB).

Official docs

Overview

Relational Database Service handles patching, backups, replication and failover for popular engines, so you focus on schema and queries.

When to use it

  • Transactional apps needing SQL
  • Reporting databases with read replicas
  • Quick provisioning of QA databases per branch / PR

Setup

  1. Console → RDS → Create database. Pick engine and version.
  2. Choose Multi-AZ for prod; Single-AZ db.t3.micro for QA.
  3. Set master username/password (or use Secrets Manager).
  4. Place in private subnets; restrict SG to app SG only.
  5. Enable automated backups and Performance Insights.

How to use

Connect with psql
psql -h mydb.abc.us-east-1.rds.amazonaws.com -U admin -d appdb
Restore from snapshot
aws rds restore-db-instance-from-db-snapshot --db-instance-identifier qa-restore --db-snapshot-identifier prod-snap-2025

QA use cases

  • Restore last night's prod snapshot into a QA RDS instance for realistic regression data.
  • Use a read replica as the data source for performance and reporting tests without impacting prod.