Managed PostgreSQL on AWS

Managed PostgreSQL, fully run for you.

Dedicated managed PostgreSQL instances on AWS, with point-in-time recovery, PgBouncer pooling, Multi-AZ standby, forking, and full postgresql.conf control. Bring your own AWS account, or run it in ours. Pay only for what you run, and manage all of it from your AI editor.

PostgreSQL 16-18 / AWS, worldwide / From $5/mo / Pay-as-you-go
Powered by AWS

The reliable home for your data.

Amazon Web Services (AWS)
Dedicated instances, run for you

Dedicated PostgreSQL, MySQL, Redis and ClickHouse on AWS, with BYOC into your own account. Multi-AZ on all four, PITR on Postgres and MySQL.

In our AWS account or your own with BYOC. You get AWS uptime and performance; we handle the ops.

What you get

Everything managed PostgreSQL needs.
Nothing you have to babysit.

Instant provisioning

A 5-step wizard: basic info, cloud and region, instance size and storage, backup policy, review and deploy. Live in minutes.

Point-in-time recovery

WAL archived to S3, restore to any second into a fresh instance. No tier fee, you pay only WAL storage at $0.03/GB.

Connection pooling

PgBouncer on port 6432 with transaction, session, and statement pool modes. Included, no separate proxy to bolt on.

Multi-AZ high availability

A standby in a second availability zone with automatic failover, for production resilience without manual setup.

Backups and policies

Manual snapshots plus automated backup policies with the retention you choose. Restore on demand.

Forking

Spin up a fully independent copy of a database for testing, staging, or analytics without touching production.

Scaling, scheduled or reactive

Resize on demand, or set start/stop and reactive schedules so you pay for capacity only when you use it.

Full config control

Tune shared_buffers, work_mem, max_connections, and every other parameter. No locked-down parameter groups.

Users, roles, monitoring

Database users with read-only, read-write, or admin roles and password rotation, plus live metrics and email and Slack alerts.

Vector search with pgvector

Enable the pgvector extension for embeddings and similarity search, the foundation for semantic search and RAG. Learn about vector databases.

Time-series with TimescaleDB

Enable the TimescaleDB extension for hypertables, compression, and continuous aggregates, a time-series database inside Postgres. Learn about time-series on Postgres.

Encrypted in transit and at rest

Connections use TLS, and your data is encrypted at rest on EBS with AWS KMS keys, so snapshots and backups are encrypted too.

Security and trust

Your data: encrypted, isolated,
and always under your control.

Security is not a separate tier here. Every managed instance ships locked down by default, encrypted end to end, and yours to export or run in your own cloud.

Encrypted in transit and at rest

TLS on the wire, AWS KMS on disk. Snapshots and backups are encrypted too.

Single-tenant, isolated hardware

Your instance runs on hardware that is yours alone, not a shared multi-tenant pool.

Private by default

IP whitelisting and delete protection are on. Public access only if you turn it on.

Multi-AZ, PITR, and backups

Automatic failover on every engine, point-in-time restore on PostgreSQL and MySQL, automated backups on all.

Your data stays yours (BYOC)

Run it in your own AWS account. Standard engines, nothing proprietary, yours to keep.

Benchmarked, not hand-wavy

Fast, and proven in the open.
Full durability on, no special tuning.

Real pgbench numbers on AWS, with production durability settings and zero errors across every run. Not a cherry-picked demo. 250+ developers already run production databases on Selfhost.dev.

~30k
read TPS at ~1 ms
~2,100
mixed OLTP TPS
~2.8x
cheaper than RDS*
100%
durability on, 0 errors
See the full benchmarks and methodology ->

*Compared with an equivalent AWS RDS instance; RDS price estimated.

Bring your own cloud

Our management.
Your AWS account.

Run managed PostgreSQL inside your own AWS account with BYOC. You keep full ownership of the infrastructure, the VPC, and the data residency, while Selfhost.dev handles provisioning, backups, failover, and upgrades. BYOC bills at a lower management fee than platform-managed. New to the model? Here's what BYOC is and when it makes sense.

  • Connect via access keys or an IAM role
  • Your VPC, your security groups, your region
  • No enterprise contract required
Transparent pricing
Platform-managed (our AWS)AWS cost + margin
BYOC (your AWS)Reduced BYOC fee
Entry instancefrom $5/mo

Pay-as-you-go. You see the AWS rate and our fee, math you can verify. Build your exact bill.

AI-native management

Manage Postgres with AI.
Right from your editor.

Create instances, run backups, tune parameters, configure alerts, and inspect performance from Claude, Cursor, Windsurf, or any MCP client. 150+ MCP tools across 23 modules, every one mapped to a real API call, with destructive operations gated behind explicit confirmation.

Explore the MCP server

How it compares

Cheaper than RDS.
More control than a PaaS.

Same Graviton hardware as RDS at a ~35% margin over raw compute, not RDS's ~93% markup, with PITR, pooling, and BYOC included. See the real numbers, side by side. And read why RDS gets expensive as you grow.

See all comparisons ->

Pick by the job

Two ways to run PostgreSQL
on Selfhost.dev.

Managed instance ยท this page

When the database is the thing

A dedicated instance on AWS that has to stay up, scale, and recover, and that any app can point at, wherever it runs. This is the full control surface: PITR to any second, PgBouncer pooling, Multi-AZ, forking, pgvector and TimescaleDB, users and roles, alerts, and postgresql.conf control.

Deploy a managed PostgreSQL
One-click ยท in a Project

When it ships beside your app

A Project is Selfhost.dev's managed application hosting: a server we run where you deploy apps from GitHub. Add PostgreSQL to it in one click (pgvector optional) and it lives on the same server as your code, billed with the server by the hour. Right for dev stacks and apps that want their database next door.

See how Projects work

Both are provisioned and run for you. The managed instance carries the production machinery (point-in-time recovery, pooling, failover, per-database users and alerts); the Project database trades that depth for one-click simplicity next to your code. Many teams run both, on one bill.

Frequently Asked Questions

What is Selfhost.dev managed PostgreSQL?
Selfhost.dev managed PostgreSQL is dedicated, production-grade PostgreSQL hosting on AWS. Selfhost.dev provisions and operates the instance, including backups, encryption at rest, point-in-time recovery, connection pooling, Multi-AZ failover, and version upgrades, while you keep full control over configuration and can manage everything from your AI editor.
Which cloud does managed PostgreSQL run on?
Managed PostgreSQL runs on AWS, worldwide, on Graviton (ARM) instances for the best price/performance. You can run it in Selfhost.dev's AWS account (platform-managed) or in your own account with BYOC.
Which PostgreSQL versions are supported?
Selfhost.dev supports PostgreSQL 16, 17, and 18, with managed version upgrades. You choose the version when you create an instance.
How much does managed PostgreSQL cost?
It is pay-as-you-go, not tiered, billed by the hour against prepaid credits. Managed PostgreSQL starts around $5/mo all in for the smallest instance and scales with the instance size, storage, and region you pick. BYOC runs in your own AWS account for a lower management fee. Use the pricing calculator for an exact estimate.
Does it support point-in-time recovery (PITR)?
Yes. WAL segments are archived to S3 so you can restore to any second into a new instance. There is no tier fee for PITR, you pay only for WAL storage at $0.03/GB, typically a few dollars a month.
Is connection pooling included?
Yes. PgBouncer connection pooling is included on port 6432 with transaction, session, and statement pool modes, no separate proxy service to provision or pay for.
What is BYOC and what does it cost?
BYOC (Bring Your Own Cloud) runs managed PostgreSQL inside your own AWS account, connected via access keys or an IAM role, while Selfhost.dev handles operations. It bills at a lower management fee than platform-managed, and needs no enterprise contract.
How does high availability work?
Enable Multi-AZ and Selfhost.dev runs a standby in a second availability zone with automatic failover. You can also fork a database for an independent copy, and set scheduled or reactive scaling.
Can I tune postgresql.conf parameters?
Yes. You get full access to tune parameters like shared_buffers, work_mem, and max_connections, not a restricted parameter group. You also manage database users and roles (read-only, read-write, admin) with password rotation.
Can I manage the database with AI?
Yes. Selfhost.dev ships 150+ MCP tools across 23 modules so you can manage PostgreSQL from Claude, Cursor, Windsurf, or any MCP client in natural language. See the MCP server.
Can I run Redis, MySQL, or MongoDB too?
Managed instances come in PostgreSQL, MySQL, Redis, and ClickHouse. For a database or cache that lives beside your app, run PostgreSQL, Redis, MySQL, or MongoDB one-click inside a Project, a managed server where you also deploy apps from GitHub and templates like Supabase. This page covers the managed PostgreSQL instance, the flagship with the deepest feature set. See all databases on Selfhost.dev.
Does it support pgvector for vector search?
Yes. Choose Vector Database when you create a Postgres instance, or enable pgvector on an existing one, and you can store embeddings and run similarity search for semantic search and RAG. Learn more about vector databases on Postgres.
Does it support TimescaleDB for time-series?
Yes. Enable TimescaleDB when you create a Postgres instance, or turn it on for an existing one, and you get hypertables, native compression, and continuous aggregates for metrics, events, and IoT, all in standard SQL. Learn more about time-series on Postgres.
How does Selfhost.dev managed PostgreSQL compare to AWS RDS?
Selfhost.dev runs the same AWS Graviton hardware as RDS but at roughly 2.8x lower cost (RDS price estimated), and PITR, PgBouncer connection pooling, and BYOC are included instead of billed separately. See the full breakdown in our Selfhost.dev vs AWS RDS comparison.
Is there a free trial or free tier?
There is no always-free managed PostgreSQL tier, but signing up gets you a $1 welcome credit, no card needed, which runs the smallest managed instance for about 5 days. From there managed PostgreSQL starts at about $5/mo, pay-as-you-go, with no subscription.
Can I migrate my existing PostgreSQL to Selfhost.dev?
Yes. Because it is standard PostgreSQL (versions 16 to 18), you migrate with pg_dump/pg_restore or logical replication, no proprietary format to convert. Your schema, extensions like pgvector, and queries move over as-is.

Managed PostgreSQL.
Deployed in under 2 minutes.

Pay-as-you-go from $5/mo
PITR, pooling, BYOC, 150+ MCP tools
Start with a welcome credit