SynfraCore
Synfracore
Start Learning
Navigation

Academies

Platform

RoadmapsLabsCertificationsInterviewPYQsAI AssistantCareer
Start Learning Free Learning Roadmaps

Cloud Databases β€” Overview

What it is, why it matters, architecture and key concepts

πŸ“„
Last updated Aug 2026
Expert Content

Cloud Databases

Before you start: basic familiarity with relational vs NoSQL databases (see this academy's SQL Mastery and MongoDB courses if those are new) is assumed. No prior cloud experience is required.

What Are Cloud Databases?

Cloud databases are managed database services run by a cloud provider β€” they handle provisioning, patching, backups, and failover for you. This page deliberately covers the landscape across providers, not one vendor in isolation, because the decision engineers actually face is "which managed database fits this workload," not "how does one specific service work."

Why This Exists (The Hook)

Running your own database means being the one who wakes up at 3am when a disk fills up, applies security patches before a vulnerability gets exploited, and manually promotes a replica when the primary dies. A cloud database exists to make that someone else's job β€” you still design the schema and write the queries, but the provider handles the operational load of actually keeping the database alive, patched, and backed up, in exchange for a real ongoing cost.

Analogy β€” Think of a self-managed database like owning a car, and a cloud database like a car with a full maintenance plan. Both get you where you're going (both are real databases you connect to and query), but with the maintenance plan, someone else handles the oil changes, recalls, and the emergency tow if it breaks down β€” you just drive it and pay a bit more for that peace of mind.

Try it (2 minutes) β€” Reason through the on-demand vs provisioned pricing tradeoff without doing any math: a startup with wildly unpredictable traffic (maybe 10 requests a minute, maybe 10,000 during a viral moment) is choosing between DynamoDB's on-demand pricing (pay per request, no capacity planning) and provisioned capacity (cheaper per-request, but you pre-commit to a throughput ceiling). Which one avoids the risk of the app falling over during an unexpected traffic spike β€” and which one would actually be cheaper for a large, established company with steady, predictable daily traffic?

The Landscape, Compared

ProviderRelational (managed)NoSQL (managed)Best known for

|---|---|---|---|

AWSRDS (Postgres/MySQL), AuroraDynamoDBBroadest ecosystem, Aurora's storage-compute separation
AzureAzure SQL Database, Azure Database for PostgreSQLCosmos DBCosmos DB's multi-model, multi-region writes
GCPCloud SQL, AlloyDB, SpannerFirestore, BigtableSpanner's globally-consistent relational scale
Vendor-neutralSelf-managed Postgres/MySQL on any VMMongoDB Atlas, Redis CloudFull control, portability across clouds
AWS
RDS (Postgres/MySQL), Aurora, DynamoDB -- broadest ecosystem
Azure
Azure SQL, Azure Database for PostgreSQL, Cosmos DB (multi-model, multi-region)
GCP
Cloud SQL, AlloyDB, Spanner (globally-consistent relational scale)
Vendor-Neutral
Self-managed Postgres/MySQL, MongoDB Atlas, Redis Cloud -- full portability

Why "Managed" Matters

β€’No patching/upgrades β€” the provider handles OS and database engine patches.
β€’Automated backups & point-in-time restore β€” built in, not something you script yourself.
β€’Multi-AZ failover β€” a standby replica takes over automatically during an outage, usually in under a minute.
β€’Read replicas β€” scale read-heavy workloads without re-architecting the app.

Choosing Relational vs NoSQL (Managed)

β€’Need ACID transactions, joins, well-understood schema β†’ managed relational (RDS/Aurora, Cloud SQL, Azure SQL).
β€’Need massive horizontal scale, flexible schema, single-digit-millisecond latency at huge scale β†’ managed NoSQL (DynamoDB, Cosmos DB, Firestore).
β€’Need global write scale with strong consistency β†’ Spanner or Cosmos DB (multi-region writes) β€” a genuinely distinct category from single-region relational.

Cost Model Basics

Cloud databases are billed on a mix of: compute (instance size or "capacity units"), storage (per GB-month), I/O/requests, and data transfer. NoSQL services like DynamoDB additionally offer on-demand (pay-per-request) vs provisioned (reserved throughput) pricing β€” on-demand is simpler for unpredictable traffic, provisioned is cheaper for steady, predictable load.

Migration Considerations

Moving from a self-managed database to a cloud-managed one usually means: schema compatibility checks (especially Oracle/SQL Server β†’ Postgres/MySQL), a data migration tool (AWS DMS, Azure Database Migration Service), and a cutover strategy (big-bang vs. dual-write during transition).

:::tip When to specialise

Once you've picked a primary cloud provider for a project, it's completely reasonable to go deep on that provider's specific service (e.g. DynamoDB) β€” this page is the "compare before you commit" step, not a replacement for vendor-specific deep dives.

:::

Share:
Join our Community
Daily tips, job alerts, interview help β€” join engineers learning together
β†’
Up Next
πŸ”€
Cloud Databases β€” Fundamentals
Core concepts and commands β€” hands-on from the start
Also Worth Exploring
← Back to all Cloud Databases modules
Prerequisites β†’