Bring Your Own Database To DBOS Cloud

We’re happy to announce that DBOS Cloud now supports a much-requested feature from our users: bringing your own database!

DBOS Cloud accounts include a free Amazon RDS Postgres instance for storing application data. Many DBOS Cloud users requested the ability to use a different new instance size or access data from an existing database. This new feature allows you to link your own Postgres-compatible database instance to DBOS Cloud and run durable, auto-scaling database applications and workflows against it.

Here are some of the benefits of integrating external databases into your DBOS Cloud account:

Resilient database application performance made easy. Serverless database applications running on DBOS Cloud benefit from reliable code execution with transactional correctness guarantees--without having to write your own state machine or use a separate workflow orchestration engine. With BYODB, you can easily build new features with DBOS accessing your existing database.

Database time travel for easier debugging and auditing. If you deploy a DBOS Transact application to a linked database, you can query that application’s database as of any time in the past. All historical information retained for time travel is stored in your own database instance and you have full control over it.

Data custody and control. If you link your own database to DBOS Cloud, you have complete freedom to set your own backup, replication, and security policies.

BYODB Prerequisites

External databases linked to a DBOS Cloud account must meet a few requirements:

PostgreSQL Compatible. You can link any PostgreSQL-compatible database to DBOS Cloud. However, if you plan to use DBOS database time travel, we strongly recommend you use standard PostgreSQL or Amazon RDS PostgreSQL because time travel requires PostgreSQL logical replication.

Minimal Permissions Required. To link a database to DBOS Cloud, you only need to grant DBOS Cloud permissions to read and write your application’s data and, if using time travel, to replicate it.

How It Works

When you deploy a DBOS Transact application to a linked database, DBOS Cloud manages it serverlessly, but connects it to that linked database instead of to a DBOS Cloud-managed database. Because DBOS Transact is built for standard PostgreSQL and time travel leverages PostgreSQL logical replication, linking doesn’t require extensive database configuration or customization.

The following tutorial video demonstrates how to connect an AWS RDS Postgres database to a DBOS Cloud account, and access it from an application running on DBOS Cloud.

To learn more about how to use database linking, check out the DBOS Cloud documentation.  You can get started with DBOS Cloud today for free.

Insights

Recent articles

The latest in durable execution, AI workflows & more.

DBOS Architecture
May 5, 2026

Spring into DBOS for Java

DBOS Transact for Java 0.8 is released. This article describes the new Spring Boot integration via a new Transact Spring Boot Starter package.
Harry Pierson
How To
May 4, 2026

Build Reliable Notifications with Postgres

How to use Postgres to implement high-performance, fault-tolerant, atomic notifications and messaging.
Henri Maxime Demoulin
How To
Apr 29, 2026

GOTO Considered Harmful: Why Event-Driven is a Poor Architecture

Postgres creator and DBOS co-founder Dr. Mike Stonebraker explains why workflow architectures are preferred over event-driven and why AI frameworks are converging on a workflow-style model and supporting durable execution.
Mike Stonebraker