Skip to content

Commit 677ab4f

Browse files
blog(app-hosting-platforms): Next.js app and its database from one provider; Console setup pull request (#8924)
* blog(app-hosting-platforms): Next.js app and its database from one provider; Console setup pull request The situation table starts with a row for a Next.js app and its Postgres database from one provider: the Next.js template ships the Composer declaration, and the first `npx prisma deploy` creates the app and its database in one project. The deploy-from-GitHub row says that connecting the repository in the Prisma Console opens a pull request that adds the deploy workflow (and the declaration for an existing Node.js app on Prisma 8 and PostgreSQL). The lede, the Prisma cell, "Where Prisma is the wrong choice" and the Compute FAQ's Next.js answer say the same; the update history lists it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(compute), blog: scope 'the deploy provisions the database' to a database the Composer module declares Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * blog(app-hosting): deploy on push starts once the setup pull request is merged Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 7d8284c commit 677ab4f

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

  • apps
    • blog/content/blog/app-hosting-platforms-with-managed-postgres-2026
    • docs/content/docs/compute

‎apps/blog/content/blog/app-hosting-platforms-with-managed-postgres-2026/index.mdx‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "App hosting platforms with managed Postgres compared (2026): Prisma Compute, Railway, Render, Fly.io, Supabase, Neon and Vercel"
33
slug: "app-hosting-platforms-with-managed-postgres-2026"
44
date: "2026-09-30"
5-
updatedAt: "2026-11-12"
5+
updatedAt: "2026-11-24"
66
authors:
77
- "Gregory Boch"
88
metaTitle: "App hosting platforms with managed Postgres compared (2026): Node.js on Prisma Compute, Railway, Render, Fly.io, Vercel"
@@ -16,7 +16,7 @@ tags:
1616
- "prisma-postgres"
1717
---
1818

19-
Five platforms host a Node.js app next to managed Postgres in 2026: [Prisma Compute](https://www.prisma.io/compute) with [Prisma Postgres](https://www.prisma.io/postgres), Railway, Render, Fly.io, and Vercel with a Marketplace database (Prisma Postgres, Neon or Supabase); Supabase and Neon run the database with functions beside it. They differ on who runs the database, what an idle app costs, previews per pushed branch or per pull request, and runtime limits. Prisma Compute runs TypeScript apps built for Node.js, Bun or Next.js on Bun, next to Prisma Postgres in one project and region. Prisma makes Prisma ORM, Prisma Postgres and Prisma Compute.
19+
Five platforms host a Node.js app next to managed Postgres in 2026: [Prisma Compute](https://www.prisma.io/compute) with [Prisma Postgres](https://www.prisma.io/postgres), Railway, Render, Fly.io, and Vercel with a Marketplace database (Prisma Postgres, Neon or Supabase); Supabase and Neon run the database with functions beside it. They differ on who runs the database, what an idle app costs, previews per pushed branch or per pull request, and runtime limits. Prisma Compute runs TypeScript apps built for Node.js, Bun or Next.js on Bun, next to Prisma Postgres in one project and region; for a Next.js app whose Composer module declares its database, such as one scaffolded from the Next.js template, `npx prisma deploy` provisions the app and its database together and hands the app its database, so there is no second provider to wire in. Prisma makes Prisma ORM, Prisma Postgres and Prisma Compute.
2020

2121
:::note[How we compared]
2222
We make Prisma Compute and Prisma Postgres. The comparison table and the platform sections are in alphabetical order, and the criteria are the columns of the Quick comparison table. The Prisma cells come from Prisma's docs and pricing page; every other cell was checked against the vendor's own pricing page or docs on 29 September 2026, the Railway, Neon, point-in-time recovery and Postgres extension cells again on 8 October 2026, the Fly.io and Neon price cells and the Fly.io project cell on 12 October 2026, and the Railway price and backups cells and the Neon Functions Free allowance on 14 October 2026, listed under [Sources and check dates](#sources-and-check-dates). Where a vendor page states no number, the cell says so.
@@ -28,7 +28,8 @@ A TypeScript service and its database from one GitHub repository in one project,
2828

2929
| Your situation | Pick | Why |
3030
| --- | --- | --- |
31-
| I just want it deployed from GitHub, everything in one project | Prisma Compute + Prisma Postgres | App and database in one project. Add a Prisma Composer declaration and make two changes to each Node.js or Bun server, three if it talks to Postgres, run your build, deploy with `npx prisma deploy` (it does not build for you), then connect the repo and add the `prisma/cloud-deploy-action` workflow for deploy on push |
31+
| A Next.js app and its Postgres database from one provider, with no connection string to copy between two dashboards | Prisma Compute + Prisma Postgres | The [Next.js guide](https://www.prisma.io/docs/guides/frameworks/nextjs) scaffolds the app with `npm create prisma@latest -- my-app --template next --provider postgres`, with its Prisma Composer declaration and `output: "standalone"` already set. Run `npm run build`, then `npx prisma deploy`: the first deploy creates one project with the Next.js app on Prisma Compute and its own Prisma Postgres database, and the deployed app does not read a `DATABASE_URL` you copy in. One provider, one project, one region, one bill; the Free plan has no usage billing and needs no credit card. An existing Next.js app adds the declaration first ([porting a Next.js app](https://www.prisma.io/docs/composer/porting-an-app)) |
32+
| I just want it deployed from GitHub, everything in one project | Prisma Compute + Prisma Postgres | App and database in one project. Add a Prisma Composer declaration and make two changes to each Node.js or Bun server, three if it talks to Postgres, run your build and deploy with `npx prisma deploy` (it does not build for you). For deploy on push, connect the repository in the Prisma Console, which opens a pull request that adds the deploy workflow; the setup branch can deploy a preview before you merge it, and once it is merged every push deploys, the default branch to production and every other branch to a preview with its own new database for each one the Composer module declares. For an existing Node.js app on Prisma 8 and PostgreSQL, that pull request also adds the Composer declaration ([deploy an existing app](https://www.prisma.io/docs/guides/compute/deploy-existing-app)) |
3233
| First paying users on a TypeScript app | Prisma Compute + Prisma Postgres | Starter is a $10 base with 5M requests and 1M database operations included and Compute usage metered on top, plus daily snapshots on days with database activity, kept 7 days, and a spend limit you set in the Console. The database has no instance to size or upgrade as users grow; on Render, Fly Managed Postgres and Supabase you pick a plan or size. [Hosting and Postgres for your first 100 paying users](/choosing-hosting-and-postgres-after-your-first-100-users) has the database cost at 100, 1,000 and 10,000 users |
3334
| First paying users, any language | Prisma Postgres, Neon or Supabase for the database (any Postgres client); Render or Railway for the app | Prisma Postgres has no instance to size or upgrade and includes PgBouncer pooling on every plan, and its Starter plan is a $10 base with 1M operations included; like Neon and Supabase, it accepts any Postgres client. Prisma Compute runs TypeScript apps built for Node.js, Bun or Next.js; Render (paid web service from $7 a month) and Railway (Hobby $5 a month with $5 of usage) build Python, Go and other languages. Both hosts also offer their own Postgres: on Render the compute plan you pick sets the database's CPU and RAM, with PgBouncer pooling you turn on, on paid databases; on Railway, PgBouncer pooling is opt-in. Two providers, so two bills once both are on paid plans |
3435
| Small production app with a preview for each pushed branch other than the default | Prisma Compute + Prisma Postgres | Starter $10 base, 5M requests and 1M operations included. Once deploy on push is set up, every pushed branch other than the default one gets a preview with its own services and, for databases declared in the Composer module, its own new database; production data is not copied, and a push to the default branch deploys production |
@@ -50,7 +51,7 @@ Rows in alphabetical order; we make Prisma Compute and Prisma Postgres.
5051
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
5152
| **Fly.io** | In one organization: Managed Postgres runs in the organization's private network and is attached to an app | Per pull request via GitHub Actions; no database in the guide | Autostop; no CPU or RAM charge while stopped | Per organization | Included | Automated backups; point-in-time restore with `fly mpg restore --pitr-time` | pgvector; PostGIS if enabled at provisioning | $2.19 Machine + $38 Managed Postgres a month, plus $0.28 per GB of database storage ([Fly.io pricing](https://fly.io/pricing), as of October 2026) | `pg_dump` |
5253
| **Neon** | Backend functions next to the database (Neon Functions, four AWS regions); UI on another host | Copy-on-write branch with the parent's data, for example one per Vercel preview deployment through the Neon-Managed Vercel integration | Scales to zero after 5 minutes; no base fee | Functions in the database's region; UI depends on its host | PgBouncer, `-pooler` string | Instant restore on every plan; history window up to 7 days on Launch and up to 30 days on Scale | pgvector, PostGIS, TimescaleDB (Apache-2 features) and more | Free $0; Launch $0.106 per CU-hour for the database; Functions billed separately on paid plans (on Launch: $0.10 active and $0.025 waiting per Capacity-Hour, $0.60 per million invocations); plus your UI host ([Neon pricing](https://neon.com/pricing) and [plans](https://neon.com/docs/introduction/plans), as of October 2026) | `pg_dump` |
53-
| **Prisma Compute + Prisma Postgres** | Yes; TypeScript on Bun, no WebSocket servers today (planned for early 2027) | Per pushed branch other than the default one, once deploy on push is set up: its own services and a new database for each one the module declares; production data not copied | App scales to zero; database per operation | One of six regions per service | PgBouncer included | Daily snapshots on paid plans, 7 or 30 days; PITR coming in November 2026 | pgvector, pg_search, pg_trgm and other standard extensions; no PostGIS or TimescaleDB | Free: app and database, no usage billing. Starter $10 base, 5M requests and 1M operations included, memory, active vCPU and bandwidth metered ([Prisma pricing](https://www.prisma.io/pricing), as of September 2026) | `pg_dump`; the Composer module is a TypeScript file in your repo, not a runtime |
54+
| **Prisma Compute + Prisma Postgres** | Yes; for a database the Composer module declares, the deploy provisions it and hands the app its connection. TypeScript (Node.js, Bun or Next.js) on Bun, no WebSocket servers today (planned for early 2027) | Per pushed branch other than the default one, once deploy on push is set up: its own services and a new database for each one the module declares; production data not copied | App scales to zero; database per operation | One of six regions per service | PgBouncer included | Daily snapshots on paid plans, 7 or 30 days; PITR coming in November 2026 | pgvector, pg_search, pg_trgm and other standard extensions; no PostGIS or TimescaleDB | Free: app and database, no usage billing. Starter $10 base, 5M requests and 1M operations included, memory, active vCPU and bandwidth metered ([Prisma pricing](https://www.prisma.io/pricing), as of September 2026) | `pg_dump`; the Composer module is a TypeScript file in your repo, not a runtime |
5455
| **Railway** | Yes, a Postgres template Railway maintains; backups, PITR, HA and pooling opt-in | Per pull request, once turned on in project settings | Sleeps 5 to 10 minutes after last outbound traffic with Serverless enabled; otherwise runs all month | Per environment | PgBouncer add-on you enable on the Postgres service | Volume backups by hand or on a schedule you turn on; opt-in PITR for Postgres, about 4 weeks | None added to the default template; pgvector, PostGIS and TimescaleDB as separate templates | Free $0 with $1 of credit a month after a 30-day trial; Hobby $5 with $5 of usage, then $10 per GB RAM and $20 per vCPU a month ([Railway pricing](https://railway.com/pricing) and [plan reference](https://docs.railway.com/pricing/plans), as of October 2026) | `pg_dump` |
5556
| **Render** | Yes, managed | Per pull request on a Pro workspace ($25 a month) or higher, once turned on in the Blueprint: for every pull request against the Blueprint's linked branch in automatic mode, or only when the pull request title includes `[render preview]` in manual mode; no data copied | Free spins down after 15 minutes; paid runs all month | Per region | PgBouncer on paid databases | PITR on paid databases, 3 or 7 days | pgvector, PostGIS, TimescaleDB (no Community features) and more | $7 web service + $6 Postgres a month ([Render pricing](https://render.com/pricing), as of September 2026) | `pg_dump` |
5657
| **Supabase** | Backend only (Edge Functions) | Per pull request; no production data by default | Free pauses after a week idle; paid runs all month | Depends on your app host | Shared pooler; dedicated on paid plans | Daily, 7 days on Pro; PITR add-on $100 a month | Over 50 preconfigured, including pgvector and PostGIS | Free $0; Pro from $25 a month, plus your app host ([Supabase pricing](https://supabase.com/pricing), as of September 2026) | `pg_dump` |
@@ -200,7 +201,7 @@ Six things decide whether the database keeps up when traffic grows.
200201
- **Your API holds WebSocket connections open.** Fly.io, Railway, Render and Neon Functions run those; Prisma Compute does not today (support is planned for early 2027).
201202
- **You are not writing TypeScript.** Prisma Compute runs TypeScript apps built for Node.js, Bun or Next.js; a Python or Go API belongs on Railway, Render, Fly.io or a VPS.
202203
- **You need more than one region, or point-in-time recovery today.** Each Prisma Compute service runs in one of six regions, and Prisma Postgres has no PITR yet (it is coming in November 2026).
203-
- **You want the repository deployed with no declaration.** Railway and Render build the code as it is, and on Fly.io `fly launch` writes a `fly.toml` and, for most languages and frameworks including Node.js, a Dockerfile into the repository for you to keep; Prisma needs a Composer declaration today and two changes to each Node.js or Bun server, three if it talks to Postgres. Deploying an existing repository without a Composer file is planned for early 2027.
204+
- **You want the repository deployed with no declaration.** Railway and Render build the code as it is, and on Fly.io `fly launch` writes a `fly.toml` and, for most languages and frameworks including Node.js, a Dockerfile into the repository for you to keep; Prisma needs a Composer declaration today and two changes to each Node.js or Bun server, three if it talks to Postgres. Deploying an existing repository without a Composer file is planned for early 2027. A new app scaffolded with `npm create prisma@latest`, such as `--template next`, starts with the declaration already written, and for an existing Node.js app on Prisma 8 and PostgreSQL, connecting the repository in the Prisma Console opens a pull request that adds the declaration and the deploy workflow ([deploy an existing app](https://www.prisma.io/docs/guides/compute/deploy-existing-app) lists the changes you then make on that branch).
204205
- **Your frontend's main requirement is a global CDN.** Put it on Vercel with Prisma Postgres or another Marketplace database.
205206

206207
The full list of limits lives in one place, [Where it has trade-offs](https://www.prisma.io/docs/compute/faq#where-it-has-trade-offs) in the Prisma Compute FAQ.
@@ -258,3 +259,4 @@ Neon (every plan), Railway (opt-in), Render (paid databases), Fly Managed Postgr
258259
- 2026-11-09: "Platforms with app hosting and Postgres in one place" adds short entries for DigitalOcean App Platform and Northflank, which also host an app and Postgres with one vendor; neither is in the comparison table, and the seven compared platforms keep their rows and order. The backups line under "Managed Postgres hosting options that scale" and the FAQ on restoring to a point in time now also list DigitalOcean Managed PostgreSQL, which restores to any point in the previous 7 days on every plan. DigitalOcean's and Northflank's pricing pages and docs were checked on 2026-11-09 and are listed under Sources and check dates.
259260
- 2026-11-09: the "First paying users, any language" row now starts with the database (Prisma Postgres has no instance to size or upgrade, includes PgBouncer pooling on every plan, and its Starter plan is a $10 base), then covers the app hosts and their own Postgres, and ends with two bills once both providers are on paid plans; the Fly.io entry says every Managed Postgres plan includes high availability, and that the cluster's replica is a standby in the same region, with no read replicas; the situation table, the Prisma entry and the FAQ on existing repositories now show `npx prisma deploy` (and, in the Prisma entry, `npx prisma dev`) with no `module.ts` argument, since the Prisma CLI reads the entry from the `composer` section of `prisma.config.ts`; the Northflank note says how paid usage is billed on Northflank Cloud and in your own cloud account, that Northflank's pricing docs ask every user to add a payment method before creating resources, whatever the plan, to verify their identity, and advise against using the free tier for production; that line replaces the earlier wording on whether the Sandbox needs a card. Prisma's pricing, Postgres, CLI deploy and Composer getting started pages, Fly.io's pricing, Managed Postgres and Fly.io vs Railway pages and a Fly.io support answer, and Northflank's pricing page and pricing docs were checked on 2026-11-09. No other facts changed.
260261
- 2026-11-12: the "First paying users, any language" row now names the database first, Prisma Postgres, Neon or Supabase from any Postgres client, then Render or Railway for the app; the Prisma entry's "Best for" line says neither product needs Prisma ORM, and the one-vendor paragraph describes the plain connection URL a `rawPostgres()` database gives any Postgres client before the optional Prisma ORM path; the Neon backups cell gives the restore history window (up to 7 days on Launch, up to 30 on Scale); the Supabase pricing line says the Free plan's database size figure is a billing quota, not the disk size, and the Free disk is 2 GB; the Railway "Best for" line says PR environments are turned on in project settings, and the Railway pricing line separates the 30-day trial from the Free plan's $1 of monthly credit and says usage beyond Hobby's included $5 is billed per second, and the plan reference links point at Railway's current docs address; the Render entry says single-service previews are turned on per service and a full preview environment needs a `previews.generation` setting in the Blueprint. Neon's pricing page, Supabase's pricing and database size pages, Railway's pricing, plan reference and environments pages, Render's pricing, preview environments and service previews pages, and Prisma's Postgres, Compute FAQ and Composer databases pages were checked on 2026-11-12.
262+
- 2026-11-24: the situation table starts with a row for a Next.js app and its Postgres database from one provider, and the deploy-from-GitHub row says that connecting the repository in the Prisma Console opens a pull request that adds the deploy workflow; the lede, the Prisma cell of the comparison table and "Where Prisma is the wrong choice" say that the deploy provisions the database and hands the app its connection, that a scaffolded app starts with the Composer declaration written, and that the Console setup pull request adds it for an existing Node.js app on Prisma 8 and PostgreSQL. Sources: [Next.js guide](https://www.prisma.io/docs/guides/frameworks/nextjs), [GitHub](https://www.prisma.io/docs/compute/github) and [Deploy an existing app](https://www.prisma.io/docs/guides/compute/deploy-existing-app), checked 2026-11-24.

0 commit comments

Comments
 (0)