Database as a service (DBaaS): the complete guide for 2026
Database as a service (DBaaS) means a provider runs the database software, backups, failover and patching, and you run the data and the queries. This guide shows the service models, the split of work in a provider's own documentation, and the terms providers publish.
45 minutes with an engineer: we review your workload and sketch the design.
- ✓Docs read 19 Nov 2026
- ✓Five service models
Database as a service (DBaaS) is a model where a provider installs, patches, backs up and fails over your database, while you keep the schema, queries, access grants and the bill. The models differ in who controls the cluster and where it runs. Backup retention, restore behaviour and maintenance windows are set by each provider's documentation, read here on 19 Nov 2026.
Customers
Partners
What is database as a service?
Database as a service, also written DBaaS, is a way of buying a database as an operated service instead of software and servers. The provider owns installation, patching, backups, failure detection and recovery, and you connect to an endpoint and use the database.
Amazon's own documentation states the idea in one sentence: Amazon RDS "manages backups, software patching, automatic failure detection, and recovery" (Amazon RDS User Guide, checked 19 Nov 2026). The same wording applies to most DBaaS products. Searches for "dbaas", "database as a service dbaas", "database management as a service" and "postgres database as a service" describe this same offer.
DBaaS covers a range of products, from a shared serverless endpoint to a dedicated cluster that engineers design for one workload. The managed-service version of the idea, with engines and contract terms, is on managed database services. This guide stays at the level of the model: what it is, what the documentation promises and where it stops.
What are the DBaaS service models?
There are five common models: serverless or shared, a provisioned plan, dedicated, inside your own cloud account, and co-managed on your own hosts. They differ in how much of the design you control and where the data sits.
| Model | How it is sold | Who controls the design | Where the data runs | Usually fits |
|---|---|---|---|---|
| Serverless or shared | Pay per use on shared capacity | The provider | The provider's cloud | Small, spiky or early workloads |
| Provisioned plan | A size from a menu (instance class, storage, replicas) | You choose from the menu | The provider's cloud | Steady workloads that fit a standard size |
| Dedicated | A cluster reserved for one customer | Shared between you and the provider | The provider's cloud | Workloads that need isolation or custom settings |
| In your own cloud account | The provider operates inside your AWS, Azure or Google Cloud account | Shared; the account and network stay yours | Your cloud account | Data that must stay in your tenancy or use your commitments |
| Co-managed on your hosts | The provider operates engines on infrastructure you own | Shared; you keep infrastructure and network | Your data center, Kubernetes or OpenShift | Regulated, on-prem or air-gapped estates |
Model names vary by vendor. This table groups products by who controls the design and where the data runs. OSStend sells the last three: dedicated in its cloud on Google Cloud or AWS, inside your own cloud account, and co-managed. See deployment options and service levels.
The first two models are the ones people usually mean by a cloud provider's DBaaS. For where a database is hosted, see database hosting. For several clouds at once, see multi-cloud and BYOC.
Who does what in a DBaaS: the shared-responsibility split
The provider runs the platform and the database software, and you own the application side: schema, queries, indexes, access and cost. Amazon's documentation draws the line in a table, and you can read any provider's split the same way.
| Task | On-premises | Amazon EC2 | Amazon RDS |
|---|---|---|---|
| Application optimization | Customer | Customer | Customer |
| Scaling | Customer | Customer | AWS |
| High availability | Customer | Customer | AWS |
| Database backups | Customer | Customer | AWS |
| Database software patching | Customer | Customer | AWS |
| Operating system patching | Customer | Customer | AWS |
| Hardware lifecycle, power, network, cooling | Customer | AWS | AWS |
Source: Amazon RDS User Guide, comparison of responsibilities, checked 19 Nov 2026. The guide adds that "you are responsible for query tuning" and that monitoring and tuning are "individualized processes that you own".
Read your provider's version of this table before you sign. A row marked as the provider's job still has limits, and the next sections show where those limits are written down.
What do providers document as included in DBaaS?
Backups, point-in-time restore and a maintenance window are documented by every large provider, but the ranges and rules differ. The table sets three providers' published terms side by side, from documentation read on 19 Nov 2026.
| Term | Amazon RDS | Google Cloud SQL | Azure Database for PostgreSQL |
|---|---|---|---|
| Automated backup retention | 0 to 35 days for an instance (1 to 35 for a Multi-AZ DB cluster). Default 1 day by CLI or API, 7 days in the console. 0 disables automated backups (source) | "1 day to 10 years, depending on your instance's backup option" (source) | 7 days by default, up to 35 days (source) |
| Restore behaviour | Restore to any point in the retention period. Backups are stored in Amazon S3 (source) | Point-in-time recovery "always creates a new instance" (source) | A restore "always creates a new database server"; recovery point objective can be up to five minutes (source) |
| Maintenance window | A 30-minute window picked at random from an 8-hour block per Region if you set none (source) | One hour long; deny periods of up to 90 days; notice emails at least one week ahead, off by default (source) | Maintenance terms are on a separate Azure page that we did not read for this guide |
| Take the backup files out | Snapshots can be copied and shared inside AWS; the guide does not describe a raw file download | Backups and exports are separate; exports go to Cloud Storage and you manage them | "You can't export these backup files"; use pg_dump and pg_restore (source) |
| After the instance is deleted | Automated backups go with the instance unless you choose Retain automated backups; manual snapshots stay | Automated backups are deleted one per day on a rolling basis; final backups kept 30 days by default | All backups of the server are deleted and cannot be recovered |
All rows checked 19 Nov 2026. Ranges change; confirm on the linked pages before you decide. This guide does not quote prices.
Two details matter more than the ranges. Backups that you cannot export are only useful inside that provider, so an exit plan needs a logical dump as well. And a restore that creates a new server means your connection strings, firewall rules and parameters change on recovery day. Azure's documentation lists these post-restore tasks, including that parameter values and firewall rules are not copied.
What stays with you in DBaaS?
Five things stay with the customer in every DBaaS: the schema, the queries, the indexes, the access grants and the cost. A provider can keep the database up and still run a slow, expensive or over-permissive one.
- ✓Schema and queries: AWS states that query tuning is the customer's job, and that performance depends on design, data size, distribution and query patterns.
- ✓Indexes: the provider keeps the server running; it does not decide which index your workload needs.
- ✓Access grants: on RDS for PostgreSQL the first user is created with NOSUPERUSER and holds the rds_superuser role instead, so some superuser-only tasks are unavailable by design (RDS roles documentation, checked 19 Nov 2026).
- ✓Cost: the bill follows the choices you make about size, storage and retention. Mechanisms are in why database bills grow, and the team-time side is in managed vs self-managed database cost.
- ✓Recovery tests: a backup you never restored is a hope. Azure's documentation says the best way to check backups is to perform periodic point-in-time recovery.
When is DBaaS the wrong choice?
DBaaS is the wrong choice when a restricted service blocks something the workload needs, when the data cannot leave your own infrastructure, or when a standard plan no longer fits. The rest of the time a standard plan is simpler and cheaper.
Contact us if
- ✓A standard size in one cloud holds the workload, and the provider's restrictions do not touch it.
- ✓You want to start in minutes and do not need a named engineer.
- ✓The database is not the part of the system you want to own.
Not a fit if
- ✕The workload needs a superuser-level task, an extension or a setting the service does not allow.
- ✕Data must stay in a data center, an air-gapped site or a tenancy you control.
- ✕You need upgrades on your own change calendar, not the provider's.
- ✕You need the same database in more than one cloud.
OSStend covers the second list: a dedicated cluster, a cluster inside your cloud account or a co-managed one in your data center, with full engine configuration access. It is not the right fit for a workload that a standard plan already holds. Documented plan limits for named services are in managed service limits, and a provider-by-provider list is on best managed open source database providers.
From our on-call engineers: the DBaaS checks in our runbook
These come from the AWS, Google Cloud and Microsoft documentation, read on 19 Nov 2026, and are the questions we turn into runbook checks when a team adopts any DBaaS. They are documentation, not a record of incidents, and we quote no customer figure.
- ✓Retention is set on purpose: the RDS default is 1 day from the CLI or API and 7 from the console, so the same template can give two different answers.
- ✓Changing RDS retention between 0 and a non-zero value causes an outage, so it is decided at creation, not during an incident.
- ✓A restore into a new server is rehearsed with the new endpoint, parameters and firewall rules, because none of them follow the data automatically.
- ✓Required maintenance is read as a deadline: AWS says required patching cannot be deferred indefinitely and can run outside a chosen window after the apply date.
- ✓A logical dump runs on a schedule next to the provider's backups, since some providers do not let you export the physical files.
Questions about database as a service
These are the questions teams ask when they first compare DBaaS options.
What is DBaaS?
DBaaS is database as a service: a provider installs, patches, backs up and fails over the database, and you use it through an endpoint. You keep the schema, queries, access and cost.
What is the difference between DBaaS and database management as a service?
In practice none. Both describe a provider operating the database for you. The differences that matter are who designs the cluster, where it runs and what the contract commits to.
Is a postgres database as a service the same as managed PostgreSQL?
Yes, it is the same offer described from the engine side. Postgres-specific questions such as extensions, connection limits and failover are covered in choosing managed PostgreSQL.
How long are DBaaS backups kept?
It depends on the provider and the setting. Amazon RDS allows 0 to 35 days for an instance, and Azure Database for PostgreSQL allows 7 to 35 days. Google Cloud SQL documents 1 day to 10 years depending on the backup option. Read the page for your plan.
Can I take the backups with me when I leave?
Not always. Azure's documentation says backup files cannot be exported and points to pg_dump and pg_restore. Plan a logical dump for any exit. See how to choose a managed database provider.
What should the contract say?
How downtime is measured, what the credits are, the recovery terms and how you leave. The list is in what a database service contract should spell out.
Amazon RDS and AWS are trademarks of Amazon.com, Inc. Google Cloud and Cloud SQL are trademarks of Google LLC. Microsoft and Azure are trademarks of the Microsoft group of companies. PostgreSQL is a registered trademark of the PostgreSQL Community Association of Canada. OSStend is not affiliated with or endorsed by these companies or projects, and the pages named here are cited as public documentation.
Related pages
- EnginesManaged database service for enterprise workloadsA managed database service for enterprise workloads: PostgreSQL, MySQL, Redis or Valkey, OpenSearch and Kafka, designed, run and tuned by engineers.
- DeploymentManaged databases: our cloud, yours or on-premManaged databases in OSStend's cloud, your AWS, Azure or Google Cloud account, or your data center. PostgreSQL, Kafka and RabbitMQ, run 24/7 by engineers.
- Service levelsService levels: two tiers, a written SLAOSStend service levels: fully managed and co-managed tiers, what each one covers, who is on call and how incidents are handled, with a written SLA for each.
- Database hostingDatabase hosting services for production workloadsDatabase hosting services for production: dedicated PostgreSQL, MySQL, Redis or Valkey and OpenSearch in your cloud account, our cloud or your data center.
- Deployment · Your cloud accountBring your own cloud (BYOC) managed databasesBring your own cloud with OSStend: engineers run PostgreSQL, Kafka and more inside your AWS, Azure or Google Cloud account, so data and billing stay yours.
- GuideWhy database bills grow faster than usageWhy database bills grow faster than usage: storage that never shrinks, snapshots, standby copies, replicas, I/O, transfer and logs, with each AWS rule.
Test your DBaaS assumptions with an engineer
45 minutes: your engine, size and where the data must live are reviewed, and an engineer says whether a standard plan holds or a designed cluster is needed. See [how it works](/how-it-works) and [pricing](/pricing).
- ✓A design sketch for your workload, not a plan menu
- ✓A zero-downtime cutover path for what you run today
- ✓A price for that design, after the review





