- DBaaS is a platform-as-a-service model for databases: the provider runs hosts, operating system and database software; you keep your data, configuration, identities and access.
- Managed databases and serverless databases are both forms of DBaaS; they differ in how capacity is sized and billed, not in the service model.
- Providers fall into three groups: the hyperscale clouds (AWS, Azure, Google Cloud, Oracle), database-focused platforms (Neon, Supabase, PlanetScale, MongoDB Atlas) and multi-cloud operators (Aiven).
- Buy on engine compatibility, pricing model, availability and backup guarantees, regions and compliance, support, and how easy it is to leave.
What is DBaaS (database as a service)?
DBaaS (database as a service) is a way of buying a database as a service instead of as software. You request a database through a console, CLI or API, receive a connection string, and pay for what you provision or use. The provider runs the hardware, the operating system and the database software, and usually automates backups, upgrades and failover.
In cloud computing terms, DBaaS is a form of platform as a service (PaaS). Microsoft's shared responsibility documentation uses Azure SQL Database as one of its PaaS examples, describing PaaS as deploying applications without managing virtual machines or operating systems. That is the core of the DBaaS idea: the database is a platform you use, not a server you run.
The term is used in two ways. Broadly, every hosted database service (Amazon RDS, Azure SQL Database, Google Cloud SQL, MongoDB Atlas) is DBaaS. More narrowly, people say "DBaaS platform" for providers whose whole business is databases, such as Neon or Aiven. This page uses the broad meaning and then separates the provider types.
The DBaaS shared-responsibility model
Every cloud service splits responsibility between provider and customer. AWS summarises it as the provider being responsible for security "of" the cloud and the customer for security "in" the cloud. Microsoft publishes a matrix by service model; the database-relevant rows are below, with the PaaS column describing a DBaaS such as Azure SQL Database.
| Layer | On-premises | IaaS (database on a VM) | PaaS (DBaaS) |
|---|---|---|---|
| Your data | Customer | Customer | Customer |
| Configurations and settings | Customer | Customer | Customer |
| Identities and users | Customer | Customer | Customer |
| Applications (here: the database service) | Customer | Customer | Shared |
| Network controls | Customer | Customer | Shared |
| Operating system | Customer | Customer | Provider |
| Physical hosts, network and datacentre | Customer | Provider | Provider |
What the split means in practice
With DBaaS you never patch an operating system or install a database binary, but three things never move to the provider: the data itself, how the service is configured (public access, encryption options, backup retention), and who can log in. Most incidents with hosted databases come from that customer side, for example a database left reachable from the internet with a weak password. The managed-database view of the same split, task by task, is in our managed databases guide.
DBaaS vs managed database vs serverless database
These three terms overlap, which causes confusion. A useful way to separate them:
- DBaaS is the service model: you consume a database as a service.
- Managed database describes who operates it: the provider. In everyday use it usually means a provisioned instance you size and pay for by the hour, such as an Amazon RDS instance.
- Serverless database describes how capacity and billing work: compute scales with demand and can pause, and you pay for use. Aurora Serverless, Azure SQL Database serverless and Neon are examples.
So a serverless database is a DBaaS and is managed, but not every managed DBaaS is serverless. When you evaluate a provider, ask both questions: who runs it (the service model) and how is it sized and billed (provisioned or serverless). See serverless databases explained for the second question.
DBaaS providers by category
The DBaaS market splits into three groups. The table lists representative providers and what distinguishes each group; for a criteria-based shortlist with limitations, see best database hosting providers.
| Category | Examples | Strengths | Watch for |
|---|---|---|---|
| Hyperscale clouds | Amazon RDS and Aurora, Azure SQL Database and Azure Database for PostgreSQL or MySQL, Google Cloud SQL, Oracle Autonomous AI Database | Most engines and regions, integration with the rest of the cloud, commercial engines | Many separately billed items; console complexity |
| Database-focused platforms | Neon and Supabase (PostgreSQL), PlanetScale (Vitess for MySQL, and Postgres), MongoDB Atlas | Developer features such as branching, scale to zero, backend services, simpler plans | Fewer regions and engines; product direction tied to one company |
| Multi-cloud operators | Aiven, MongoDB Atlas | Same service on several clouds; all-inclusive hourly plans | You still choose and pay for one cloud region per service |
Postgres DBaaS
PostgreSQL has the widest DBaaS choice. All three hyperscalers offer it; Neon separates Postgres compute from storage so compute can scale and go idle; Supabase gives each project its own dedicated Postgres instance with a backend platform around it; Aiven runs it on several clouds. For a direct comparison of two of these, read Supabase vs Neon or Neon vs AWS RDS.
Oracle Cloud DBaaS
Oracle's own DBaaS is the Oracle Autonomous AI Database, which Oracle describes as fully automated and cloud-based; its Free Tier lists up to two Autonomous Databases as Always Free. Oracle Database is also available as Amazon RDS for Oracle if your application runs on AWS. For an engine comparison, see PostgreSQL vs Oracle.
How to evaluate a DBaaS platform
Use these criteria in roughly this order. The first two remove most options.
- Engine and version compatibility. Does the service run your engine, the major version you need and the extensions you rely on?
- Location. Is there a region near your application and users, and does it satisfy any data residency rule you have?
- Pricing model. Provisioned (instance hours) suits steady load; usage-based (compute hours, requests) suits idle or spiky load. Aiven, for example, sells all-inclusive hourly plans that it says cover VM, network and backup costs; the hyperscalers bill those items separately.
- Availability and recovery. What does the plan include for standby replicas, backup retention and point-in-time restore, and is there an SLA on the plan you would buy?
- Security and compliance. Private networking, encryption key options, audit logging and the certifications your organisation requires.
- Support. Which support level is included and what the paid tiers add.
- Exit route. Standard engines can be exported with
pg_dumpormysqldump; proprietary features (auth, functions, custom APIs) need rewriting.
Advantages and limitations of DBaaS
Advantages. No servers or operating systems to maintain; backups, patching and failover are automated; capacity can be changed from a console; and you can start small and pay as you grow.
Limitations. Less low-level control (no operating-system access, restricted superuser rights, a fixed list of versions and extensions); costs that rise with every add-on; dependence on the provider's maintenance schedule; and some lock-in when you use platform-specific features. For workloads that need full control, a database on your own virtual machine is still an option; the database hosting guide compares the approaches.
Frequently asked questions
What is database as a service in cloud computing?
It is a platform-as-a-service model in which a provider runs the database software and infrastructure, and you use the database through a connection string, console and API. The provider handles hosts, operating system and software maintenance; you handle data, configuration and access.
What is the difference between DBaaS and a managed database?
They describe the same arrangement from different angles. DBaaS names the service model; managed database emphasises that the provider operates it. In practice, Amazon RDS, Azure SQL Database and Google Cloud SQL are called both.
Is DBaaS the same as serverless?
No. Serverless is one way a DBaaS can size and bill capacity (scaling with demand and pausing when idle). Many DBaaS products are provisioned instead: you choose an instance size and pay for it while it runs.
What is a database as a service platform?
It is a provider whose product is hosted databases, often with tooling around them: for example Neon and Supabase for PostgreSQL, PlanetScale for MySQL-compatible and Postgres databases, MongoDB Atlas, and Aiven for several open source engines on several clouds.
Does Oracle offer DBaaS?
Yes. Oracle offers Autonomous AI Database on Oracle Cloud Infrastructure, with up to two Always Free databases on its Free Tier. Oracle Database is also available on AWS as Amazon RDS for Oracle.
Sources
- Microsoft Learn: Shared responsibility in the cloud
- AWS Shared Responsibility Model
- Microsoft Learn: What is Azure SQL Database?
- AWS docs: What is Amazon RDS?
- Oracle Autonomous AI Database
- Oracle Cloud Free Tier
- Neon docs: Architecture overview
- Supabase pricing
- PlanetScale pricing
- MongoDB Atlas pricing
- Aiven docs: Service pricing and free tier
Checked 8 October 2026.
How we research cloud database guides: our editorial method. CodeWithSQL earns nothing from the providers mentioned.