Database as a Service (DBaaS)

DBaaS is a cloud service in which a provider runs a database for you, handling the servers, setup, patching and backups while you manage the data and its use.

Also called: Managed database service

Database as a service (DBaaS) is a cloud service in which a provider runs a database for you. Instead of buying servers, installing database software and handling patches and backups yourself, you create a database through a web console or API and pay for the capacity you use. The provider operates the infrastructure and software; you remain responsible for the data, how it is structured and who can reach it. DBaaS is a category of platform as a service (PaaS) and is offered by all major public cloud providers and many private cloud providers.

At a glance

  • The provider runs the servers, storage and database software, including patching and automated backups.
  • You manage the database design, users and access, performance tuning, retention and configuration choices.
  • Relational databases such as PostgreSQL, MySQL and SQL Server are widely available, along with many non-relational types.
  • Availability architecture and billing vary by service: replicated storage, compute failover and zone or region coverage are often separate choices with separate prices.
  • Pricing is usage-based, so costs depend on size, activity, storage and data transfer.

What problem it solves

Databases are among the most demanding systems to run. They need fast, reliable storage, regular patching, careful upgrades, tested backups and someone who knows what to do when one slows down or fails. In many mid-sized organizations that knowledge sits with one or two people, and routine maintenance slips behind more urgent work. Hardware needs replacing every few years, and setting up a new database for a project can take weeks.

DBaaS hands the routine work to a provider. New databases can be created in minutes, patches and backups happen on a schedule, and capacity can usually be increased without buying hardware. Internal staff spend less time on maintenance and more on the data itself, such as performance, security and how applications use it.

How it works

Provisioning. You choose a database engine, version, size and region, and the provider creates the database on its infrastructure. Settings such as network access, encryption and backup schedules are configured at creation and adjusted later.

Operations. The provider applies patches and minor upgrades, often in maintenance windows you choose, monitors the underlying hardware and replaces failed components. Major version upgrades usually need your testing and approval.

Backups and recovery. Automated backups and, on many services, point-in-time recovery let you restore to a recent moment within the retention period you set. Your recovery point objective (RPO) depends on those settings.

Availability and scaling. For high availability, designs vary: some services replicate storage across zones by default, while fast failover of the database itself may need a standby copy or extra compute in another zone or region, often billed separately. Read replicas can spread reporting load, and capacity can be scaled up, sometimes automatically. Performance depends on the storage tier and IOPS you choose.

Security. Encryption at rest and in transit, private network access, identity-based logins and audit logs are commonly available. Under the shared responsibility model, configuring them correctly is your job.

When it matters for buyers

  • When database servers or licenses come up for renewal. It is a natural point to compare DBaaS against replacing hardware.
  • When moving applications to the cloud. Replatforming a database onto DBaaS is one of the most common changes made during migration.
  • When database skills are thin. DBaaS reduces routine work but doesn’t remove the need for someone who understands the data and performance.
  • When modelling cost. Compute, storage, IOPS, backups, standby copies and data egress fees all affect the bill.
  • When data has location rules. Confirm regions and where backups and replicas are stored.

Questions to ask vendors

  • Which database engines and versions do you offer, and how long is each version supported?
  • What exactly do you manage, and what remains our responsibility?
  • What availability do you commit to, and exactly which topology (replicas, zones, regions) does that commitment require?
  • How are backups taken, how long are they kept and how fast is a restore?
  • How are major version upgrades handled, and how much notice do we get?
  • How is the service priced, and what are the charges for storage, input/output, backups and data transfer?
  • How do we export our data and move to another provider or back on premises?

How it differs from Infrastructure as a Service (IaaS)

You can also run a database yourself on a cloud server rented through infrastructure as a service (IaaS). The provider then supplies the virtual machine and storage, but you install, patch, back up and tune the database. That gives more control, for example over versions, settings and licensing, and supports databases no provider offers as a service, at the cost of more work. DBaaS takes over the database operations as well. A related service, data warehouse as a service, applies the same model to analytics databases built for large reporting queries. Our public cloud page covers how to compare providers’ database services.

Problems this helps with

  • Our database administrator is a single point of failure
  • Patching, backups and upgrades for our databases keep slipping
  • Database servers are aging and need replacing
  • Need a database for a new application without buying hardware

Frequently Asked Questions

What does the provider manage, and what do we still manage?
The provider typically runs the hardware, installs and patches the database software, takes automated backups and offers options for standby copies and scaling. You still design the database, manage users and access, tune queries, choose backup retention and high availability settings, and protect the data. The split varies by service, so read the provider's shared responsibility documentation.
Is DBaaS cheaper than running our own databases?
It can be, especially once staff time, hardware and licensing are counted. But usage-based charges for compute, storage, input/output, backups, standby copies and data transfer add up, and large or always-busy databases can cost more than self-managed ones. Model costs on your real workload.
Which databases are available as a service?
Most common relational databases, such as PostgreSQL, MySQL, Microsoft SQL Server and Oracle, are available from at least one major cloud provider, along with document, key-value, graph and time-series databases. Some services are proprietary databases available only from one provider, which makes moving away harder.
Is our data safe in a DBaaS?
Providers typically offer encryption, network isolation, access controls and audit logs, but many are settings you must turn on and configure correctly. Misconfigured access, such as a database left reachable from the internet, remains a common cause of exposure. Check where data is stored if you have residency requirements.
Is high availability included?
It varies by service. Some services replicate storage across zones as part of the base price but still need a standby or extra compute for fast failover; others charge for each replica. Distinguish built-in replicated storage from compute failover, check whether protection covers zones or regions, and price the exact topology the advertised availability commitment requires.

You Don’t Need Another Sales Call. You Need an Answer.

30 minutes. No pitch. Just an honest conversation about where you are, what you need, and whether working together makes sense.

We use your details to set up and prepare for the call, and send the newsletter only if you ask for it. Privacy policy.