Oct 26, 20267 min read

The Best PostgreSQL Hosting in 2026

Comparing managed Postgres on Amazon RDS and Aurora, Google Cloud SQL and AlloyDB, Neon, Supabase, Crunchy Bridge, Aiven and DigitalOcean, and how Encore provisions Postgres in your own AWS or GCP account.

Managed PostgreSQL hosting runs the database for you, handling backups, patching, failover and upgrades. Choosing one is harder in 2026, since clouds, serverless providers and Postgres specialists all sell it and two well-known independents now belong to data platforms.

This guide compares seven managed Postgres hosts by where the data lives, how they scale and how they fit local development. It also covers Encore as a way to provision Postgres in your own AWS or GCP account.

What you need to decide:

  • Whether the database should live in your own cloud account, next to your services.
  • Provisioned instances or serverless compute that scales down.
  • Whether you need branching for previews and tests.
  • How the same database runs on a laptop and in CI.

PostgreSQL hosting at a glance

HostWhere it runsScaling modelBranchingBest for
EncoreRDS in your AWS account or Cloud SQL in GCPSame as the underlying cloud databaseDatabase per preview environmentTeams that want Postgres declared in code, locally and in their own cloud
Amazon RDS and AuroraYour AWS accountProvisioned, or Aurora Serverless v2Aurora clonesProduction on AWS
Google Cloud SQL and AlloyDBYour GCP projectProvisionedClonesProduction on GCP
NeonNeon's cloudServerless, scales to zeroCopy-on-write branchesPreviews, tests and spiky workloads
SupabaseSupabase's cloudProvisioned compute sizesBranches tied to GitApps that want auth and storage with the database
Crunchy BridgeCrunchy's cloud on AWS, GCP or AzureProvisionedForksPostgres-specialist support
AivenAiven's cloud on major cloudsProvisioned plansForksMulti-cloud data platforms
DigitalOceanDigitalOceanFixed node sizesNoneSmall apps on DigitalOcean

Encore: Postgres provisioned in your own AWS or GCP account

Encore

Encore combines the database declaration in your backend code with the hosting behind it, starting PostgreSQL locally under encore run and provisioning Amazon RDS in your AWS account or Cloud SQL in your GCP project on deploy. It is not a separate host, so the database is the cloud provider's managed Postgres, on your bill and in your VPC.

Encore declares infrastructure in code, runs it locally and provisions it in your AWS or GCP account
Infrastructure declared in code, running locally under encore run and provisioned in your own AWS or GCP account on deploy.

A database is declared next to the service that uses it, with migrations in a folder:

// orders/db.ts import { SQLDatabase } from "encore.dev/storage/sqldb"; // Local Postgres with encore run, RDS on AWS or Cloud SQL on GCP on deploy. export const db = new SQLDatabase("orders", { migrations: "./migrations" });

An endpoint in the same service queries it with a tagged template, which turns the interpolated values into query parameters:

// orders/orders.ts import { api } from "encore.dev/api"; import { db } from "./db"; interface Order { id: number; email: string; } export const get = api( { expose: true, method: "GET", path: "/orders/:id" }, async ({ id }: { id: number }): Promise<Order> => { const row = await db.queryRow<Order>`SELECT id, email FROM orders WHERE id = ${id}`; if (!row) throw new Error("order not found"); return row; }, );

encore run starts Postgres locally and applies the migrations, so the same code runs on a laptop, in CI and in production. Each preview environment gets its own database in Encore's hosting, similar to the per-branch databases that serverless hosts offer through branching.

On deploy, Encore provisions the instance, credentials and network access in AWS or GCP, and an existing database can be imported from RDS instead of created. Backups, instance sizes and maintenance windows are the cloud provider's, so the tradeoffs in the RDS and Cloud SQL sections below apply unchanged.

When an AI agent needs a new table or a new database, it edits the migration or adds a declaration, and the change runs against a real local Postgres before anything reaches the cloud.

Get started
brew install encoredev/tap/encore &&
encore app create
Copy

Run in your terminal to get started locally.

Amazon RDS and Aurora

Amazon RDS

Amazon RDS for PostgreSQL is the managed Postgres most AWS teams start with. You pick an instance class and storage, and RDS handles automated backups, point-in-time restore, minor version patching and Multi-AZ failover. Aurora PostgreSQL replaces the storage layer with a distributed volume shared by up to 15 read replicas, and Aurora Serverless v2 scales capacity in fine steps, down to zero for idle databases.

The cost is setup work. A production database needs a subnet group, security groups, a parameter group, credentials in Secrets Manager and usually Terraform or CDK to hold it together, and RDS has no local equivalent, so development runs against a separate Postgres. RDS supports a documented range of PostgreSQL versions, and new major versions arrive some months after the community release.

Google Cloud SQL and AlloyDB

Google Cloud SQL

Cloud SQL for PostgreSQL is GCP's managed Postgres, with a standard edition for most workloads and a higher tier for stricter availability targets and faster maintenance. It connects to Cloud Run and GKE through the Cloud SQL connectors or private IP, and IAM database authentication avoids static passwords.

AlloyDB is Google's Postgres-compatible engine for heavier workloads, with a columnar engine for analytical queries alongside transactional traffic. Both share RDS's gap in local development and need networking, users and connectors set up per environment.

Neon

Neon

Neon is serverless Postgres with storage separated from compute. Compute scales to zero when idle, and branches are copy-on-write copies of a database, created in seconds, which makes Neon popular for preview environments, tests and agent-created databases. Databricks agreed to buy Neon for about $1 billion in May 2025 and said that over 80 percent of databases on Neon were created by AI agents.

The tradeoffs are cold starts after scale-to-zero, a database outside your own cloud account and a second vendor on the bill. Connection pooling through its proxy is the norm, which matters for drivers that rely on session state.

Supabase

Supabase

Supabase puts a dedicated Postgres instance behind an auto-generated REST and GraphQL API, with auth, file storage, realtime subscriptions and edge functions around it. Row Level Security policies are the authorization model, so frontends can query the database directly.

It suits apps that want a backend platform more than a database. Teams that only need Postgres pay for features they do not use, and the database lives in Supabase's cloud rather than your own account.

Crunchy Bridge

Crunchy Bridge

Crunchy Bridge is managed Postgres from Crunchy Data, a long-time contributor to PostgreSQL, running on AWS, GCP or Azure with full superuser access and a broad extension set. Snowflake agreed to buy Crunchy Data for about $250 million in June 2025 to build Snowflake Postgres, so check the roadmap before committing a new project.

Aiven

Aiven

Aiven runs managed Postgres alongside Kafka, ClickHouse, OpenSearch and other open source data services on AWS, GCP, Azure and other clouds, with one console and billing account for all of them. It fits teams that already run several data systems and want one operator for them, and less so teams that only need one Postgres.

DigitalOcean Managed Databases

DigitalOcean

DigitalOcean's managed Postgres comes in fixed node sizes with standby nodes, daily backups and connection pooling through PgBouncer. Pricing is flat and easy to predict, and setup takes a few clicks. It fits small apps that already run on DigitalOcean, with fewer instance types, regions and compliance options than the large clouds.

Postgres versions and upgrades

PostgreSQL 18 was released in September 2025 with asynchronous I/O and faster major upgrades. Managed hosts adopt new majors on their own schedules, and an in-place major upgrade still means a maintenance window on most of them, so check which versions a host supports and how it upgrades before choosing.

How to choose

  • Amazon RDS or Aurora for production on AWS, and Cloud SQL or AlloyDB for production on GCP.
  • Encore if you want that same RDS or Cloud SQL database declared in your backend code, running locally under encore run and provisioned in your own account.
  • Neon for serverless Postgres with fast branching.
  • Supabase if you want auth, storage and APIs around the database.
  • Crunchy Bridge or Aiven for a Postgres specialist across clouds.
  • DigitalOcean for small apps already on DigitalOcean.

Frequently asked questions

What is the best PostgreSQL hosting in 2026?

For production workloads on AWS or GCP, Amazon RDS, Aurora and Google Cloud SQL are the default choices because they sit next to the rest of your infrastructure. Neon suits serverless and branch-heavy workflows, Supabase suits teams that want auth and storage around the database, and Crunchy Bridge and Aiven suit teams that want a Postgres specialist across clouds.

How do I get a Postgres database on AWS without writing Terraform?

With Encore, declare the database in your TypeScript code with new SQLDatabase("orders", { migrations: "./migrations" }) and query it with db.queryRow. encore run starts Postgres locally with the migrations applied, and a deploy provisions Amazon RDS in your AWS account or Cloud SQL in GCP.

Is serverless Postgres cheaper than RDS?

For databases that sit idle most of the day, such as development and preview databases, serverless options like Neon or Aurora Serverless v2 usually cost less because compute scales down when there is no traffic. For a database with steady load, a provisioned instance on RDS or Cloud SQL is often cheaper and more predictable.

Should I host Postgres in my own cloud account or with a third party?

Running in your own AWS or GCP account keeps data next to your services, under your IAM and VPC rules, and on your existing cloud bill and commitments. A third-party host is quicker to start with and often adds features such as branching, at the cost of a second vendor and traffic leaving your network.

Deploy to your cloud on AWS and Google Cloud
without managing infrastructure

Encore lets developers and agents define application infrastructure directly in code, then automatically provisions it from local development to production in your AWS or GCP account.

~/orders — claude
Claude Code
Claude Code v2.1.180Opus 5.5~/orders