Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Added a Hosted Postgres page (#46674)

Prashant Sridharan99f0518137da
diff --git a/apps/www/components/Solutions/CtaSection.tsx b/apps/www/components/Solutions/CtaSection.tsx
index 9ea1715eac5..f3e40dde692 100644
--- a/apps/www/components/Solutions/CtaSection.tsx
+++ b/apps/www/components/Solutions/CtaSection.tsx
@@ -4,7 +4,7 @@ import { Button, cn } from 'ui'
import SectionContainer from '@/components/Layouts/SectionContainer'
-interface Props {
+export interface CtaSectionProps {
id: string
title: string | React.ReactNode
subtitle?: string
@@ -25,7 +25,14 @@ interface Props {
className?: string
}
-const CtaSection = ({ id, title, subtitle, primaryCta, secondaryCta, className }: Props) => {
+const CtaSection = ({
+ id,
+ title,
+ subtitle,
+ primaryCta,
+ secondaryCta,
+ className,
+}: CtaSectionProps) => {
return (
<SectionContainer
id={id}
diff --git a/apps/www/components/Solutions/FeatureGrid.tsx b/apps/www/components/Solutions/FeatureGrid.tsx
index b50ff898f2c..a1ba1885625 100644
--- a/apps/www/components/Solutions/FeatureGrid.tsx
+++ b/apps/www/components/Solutions/FeatureGrid.tsx
@@ -1,12 +1,13 @@
+import SectionContainer from '~/components/Layouts/SectionContainer'
+import type { IconType } from '~/data/solutions/solutions.utils'
import React from 'react'
import { cn } from 'ui'
-import SectionContainer from '~/components/Layouts/SectionContainer'
interface Feature {
id: string
title: string
description: string | React.ReactNode
- icon: string
+ icon: string | IconType
iconNoStroke?: boolean
className?: string
}
@@ -14,12 +15,20 @@ interface Feature {
export interface FeatureGridProps {
id: string
features: Feature[]
+ heading?: React.ReactNode
+ subheading?: React.ReactNode
className?: string
}
-const FeatureGrid = ({ id, features, className }: FeatureGridProps) => {
+const FeatureGrid = ({ id, features, heading, subheading, className }: FeatureGridProps) => {
return (
<SectionContainer id={id} className={cn('flex flex-col gap-12 py-16 md:py-24', className)}>
+ {(heading || subheading) && (
+ <div className="flex flex-col gap-2 max-w-xl">
+ {heading && <h2 className="h2 text-foreground-lighter m-0!">{heading}</h2>}
+ {subheading && <p className="text-foreground-lighter">{subheading}</p>}
+ </div>
+ )}
<div
className="
grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3
@@ -41,26 +50,29 @@ const FeatureGrid = ({ id, features, className }: FeatureGridProps) => {
)}
>
<div className="flex items-center gap-2">
- {feature.icon && (
- <svg
- width="18"
- height="18"
- viewBox="0 0 25 25"
- fill={feature.iconNoStroke ? 'currentColor' : 'none'}
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d={feature.icon}
- stroke={feature.iconNoStroke ? 'none' : 'currentColor'}
- strokeMiterlimit="10"
- strokeLinejoin="round"
- strokeLinecap="round"
- strokeWidth="1.5"
- />
- </svg>
- )}
+ {feature.icon &&
+ (typeof feature.icon === 'string' ? (
+ <svg
+ width="18"
+ height="18"
+ viewBox="0 0 25 25"
+ fill={feature.iconNoStroke ? 'currentColor' : 'none'}
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d={feature.icon}
+ stroke={feature.iconNoStroke ? 'none' : 'currentColor'}
+ strokeMiterlimit="10"
+ strokeLinejoin="round"
+ strokeLinecap="round"
+ strokeWidth="1.5"
+ />
+ </svg>
+ ) : (
+ <feature.icon className="w-[18px] h-[18px]" strokeWidth={1.5} />
+ ))}
<h3 className="">{feature.title}</h3>
</div>
<p className="text-base">{feature.description}</p>
diff --git a/apps/www/components/Solutions/PricingComparisonSection.tsx b/apps/www/components/Solutions/PricingComparisonSection.tsx
new file mode 100644
index 00000000000..6af38024405
--- /dev/null
+++ b/apps/www/components/Solutions/PricingComparisonSection.tsx
@@ -0,0 +1,121 @@
+import { Check, Minus } from 'lucide-react'
+import React, { type FC, type ReactNode } from 'react'
+import { cn } from 'ui'
+import { TextLink } from 'ui-patterns/TextLink'
+
+import SectionContainer from '@/components/Layouts/SectionContainer'
+
+export interface PricingComparisonPlan {
+ name: string
+ /** Highlights the column visually (eg. the recommended plan). */
+ highlight?: boolean
+}
+
+export interface PricingComparisonRow {
+ feature: ReactNode
+ /** One value per plan, in the same order as `plans`. Booleans render as a check or dash. */
+ values: (ReactNode | boolean)[]
+}
+
+export interface PricingComparisonSectionProps {
+ id?: string
+ heading: ReactNode
+ subheading?: ReactNode
+ plans: PricingComparisonPlan[]
+ rows: PricingComparisonRow[]
+ cta?: {
+ label: string
+ url: string
+ }
+ className?: string
+}
+
+const PlanValue = ({ value }: { value: ReactNode | boolean }) => {
+ if (value === true) {
+ return <Check className="w-4 h-4 text-brand" strokeWidth={2} aria-label="Included" />
+ }
+ if (value === false) {
+ return (
+ <Minus className="w-4 h-4 text-foreground-muted" strokeWidth={2} aria-label="Not included" />
+ )
+ }
+ return <span className="text-sm text-foreground">{value}</span>
+}
+
+const PricingComparisonSection: FC<PricingComparisonSectionProps> = ({
+ id,
+ heading,
+ subheading,
+ plans,
+ rows,
+ cta,
+ className,
+}) => {
+ return (
+ <SectionContainer id={id} className={cn('flex flex-col gap-8 py-16 md:py-24', className)}>
+ <div className="flex flex-col gap-2 max-w-xl">
+ <h2 className="h2 text-foreground-lighter m-0!">{heading}</h2>
+ {subheading && <p className="text-foreground-lighter">{subheading}</p>}
+ </div>
+
+ <div className="w-full overflow-x-auto border border-default rounded-lg bg-surface-75">
+ <table className="w-full min-w-[480px] border-collapse text-left">
+ <thead>
+ <tr className="border-b border-default">
+ <th
+ scope="col"
+ className="py-4 px-4 md:px-6 text-sm font-normal text-foreground-light"
+ >
+ What you get
+ </th>
+ {plans.map((plan) => (
+ <th
+ key={plan.name}
+ scope="col"
+ className={cn(
+ 'py-4 px-4 md:px-6 text-sm font-medium text-center',
+ plan.highlight ? 'text-foreground bg-surface-100' : 'text-foreground'
+ )}
+ >
+ {plan.name}
+ </th>
+ ))}
+ </tr>
+ </thead>
+ <tbody>
+ {rows.map((row, rowIndex) => (
+ <tr
+ key={rowIndex}
+ className="border-b border-default last:border-b-0 hover:bg-surface-100/50 transition-colors"
+ >
+ <th
+ scope="row"
+ className="py-3 px-4 md:px-6 text-sm font-normal text-foreground-light"
+ >
+ {row.feature}
+ </th>
+ {row.values.map((value, valueIndex) => (
+ <td
+ key={valueIndex}
+ className={cn(
+ 'py-3 px-4 md:px-6 text-center',
+ plans[valueIndex]?.highlight && 'bg-surface-100'
+ )}
+ >
+ <span className="flex items-center justify-center">
+ <PlanValue value={value} />
+ </span>
+ </td>
+ ))}
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ </div>
+
+ {cta && <TextLink hasChevron label={cta.label} url={cta.url} className="mt-2" />}
+ </SectionContainer>
+ )
+}
+
+export default PricingComparisonSection
diff --git a/apps/www/data/Footer.ts b/apps/www/data/Footer.ts
index 5fa08c94530..19f6e136634 100644
--- a/apps/www/data/Footer.ts
+++ b/apps/www/data/Footer.ts
@@ -50,6 +50,10 @@ const footerData = [
{
title: 'Solutions',
links: [
+ {
+ text: 'Hosted Postgres',
+ url: '/solutions/hosted-postgres',
+ },
...skillBasedSolutions.solutions.map((solution) => ({
text: solution.text,
url: solution.url,
diff --git a/apps/www/data/Solutions.tsx b/apps/www/data/Solutions.tsx
index 281ea1c3363..37f0ca6d486 100644
--- a/apps/www/data/Solutions.tsx
+++ b/apps/www/data/Solutions.tsx
@@ -2,6 +2,7 @@ import {
BotIcon,
Building2Icon,
Code2Icon,
+ Database,
HammerIcon,
Heart,
LightbulbIcon,
@@ -33,6 +34,7 @@ export enum Solutions {
finserv = 'finserv',
healthcare = 'healthcare',
agents = 'agents',
+ hostedPostgres = 'hosted-postgres',
}
export const skillBasedSolutions = {
@@ -154,6 +156,13 @@ export const useCaseSolutions = {
export const appTypeSolutions = {
label: 'Solutions',
solutions: [
+ {
+ id: Solutions.hostedPostgres,
+ text: 'Hosted Postgres',
+ description: '',
+ url: '/solutions/hosted-postgres',
+ icon: Database,
+ },
{
id: Solutions.b2bSaaS,
text: 'B2B SaaS',
diff --git a/apps/www/data/company-stats.ts b/apps/www/data/company-stats.ts
index 65a4c924b06..a84ae813c93 100644
--- a/apps/www/data/company-stats.ts
+++ b/apps/www/data/company-stats.ts
@@ -3,18 +3,18 @@
// Number is used for animated components (eg. AnimatedCounter)
export const companyStats = {
databasesManaged: {
- number: 16_000_000,
- text: '16,000,000+',
+ number: 44_000_000,
+ text: '44,000,000+',
label: 'Databases Created',
},
databasesLaunchedDaily: {
- number: 90_000,
- text: '90,000+',
+ number: 200_000,
+ text: '200,000+',
label: 'Databases launched daily',
},
developersRegistered: {
- number: 7_000_000,
- text: '7,000,000+',
+ number: 9_000_000,
+ text: '9,000,000+',
label: 'Users',
},
developersRegisteredChange: {
diff --git a/apps/www/data/solutions/hosted-postgres.tsx b/apps/www/data/solutions/hosted-postgres.tsx
new file mode 100644
index 00000000000..1c2d1d338df
--- /dev/null
+++ b/apps/www/data/solutions/hosted-postgres.tsx
@@ -0,0 +1,682 @@
+import { useBreakpoint } from 'common'
+import {
+ Activity,
+ Blocks,
+ Bot,
+ Cable,
+ CalendarClock,
+ Code2,
+ Database,
+ DatabaseBackup,
+ GitBranch,
+ GitFork,
+ Globe,
+ HardDrive,
+ HeartPulse,
+ History,
+ KeyRound,
+ LayoutDashboard,
+ Lightbulb,
+ List,
+ ListOrdered,
+ Lock,
+ LockKeyhole,
+ Network,
+ Scaling,
+ ShieldAlert,
+ ShieldCheck,
+ Sparkles,
+ SquareTerminal,
+ Table2,
+ Users,
+ UserX,
+ Wallet,
+ Webhook,
+ Workflow,
+} from 'lucide-react'
+
+import { FrameworkLink, getEditors, type HeroSection, type Metadata } from './solutions.utils'
+import type { SecuritySectionProps } from '@/components/Enterprise/Security'
+import { frameworks } from '@/components/Hero/HeroFrameworks'
+import Logos from '@/components/logos'
+import type { CtaSectionProps } from '@/components/Solutions/CtaSection'
+import type { FeatureGridProps } from '@/components/Solutions/FeatureGrid'
+import type { MPCSectionProps } from '@/components/Solutions/MPCSection'
+import type { PricingComparisonSectionProps } from '@/components/Solutions/PricingComparisonSection'
+import type { ResultsSectionProps } from '@/components/Solutions/ResultsSection'
+import { TwoColumnsSectionProps } from '@/components/Solutions/TwoColumnsSection'
+import { companyStats } from '@/data/company-stats'
+import type { FeaturesSection } from '@/data/solutions/solutions.utils'
+import { useSendTelemetryEvent } from '@/lib/telemetry'
+
+const TELEMETRY_LOCATION = 'Solutions: Hosted Postgres page'
+
+const data: () => {
+ metadata: Metadata
+ heroSection: HeroSection
+ why: FeaturesSection
+ pricing: PricingComparisonSectionProps
+ included: FeatureGridProps
+ bundled: FeatureGridProps
+ resultsSection: ResultsSectionProps
+ performanceGrid: FeatureGridProps
+ securitySection: SecuritySectionProps
+ platformUpsell: CtaSectionProps
+ platformStarterSection: TwoColumnsSectionProps
+ mcp: MPCSectionProps
+} = () => {
+ const isXs = useBreakpoint(640)
+ const editors = getEditors(isXs)
+ const sendTelemetryEvent = useSendTelemetryEvent()
+
+ return {
+ metadata: {
+ metaTitle: 'Hosted Postgres | Supabase',
+ metaDescription:
+ 'A managed Postgres database in seconds, free to start and just $25 a month in production. Plus a dashboard, backups, Point-in-Time Recovery, connection pooling, read replicas, and the full Postgres extension ecosystem.',
+ },
+ heroSection: {
+ id: 'hero',
+ title: 'Hosted Postgres',
+ h1: <>Managed Postgres in seconds.</>,
+ subheader: [
+ <>
+ Free to start, just $25 a month in production. More than a database: backups, logs,
+ advisors, connection pooling, APIs, and everything you need to run Postgres in production.
+ The rest of the platform is ready when you need it.
+ </>,
+ ],
+ image: undefined,
+ ctas: [
+ {
+ label: 'Start your project',
+ href: 'https://supabase.com/dashboard',
+ type: 'primary' as any,
+ onClick: () =>
+ sendTelemetryEvent({
+ action: 'start_project_button_clicked',
+ properties: { buttonLocation: `${TELEMETRY_LOCATION} hero` },
+ }),
+ },
+ {
+ label: 'Request a demo',
+ href: 'https://supabase.com/contact/sales',
+ type: 'default' as any,
+ onClick: () =>
+ sendTelemetryEvent({
+ action: 'request_demo_button_clicked',
+ properties: { buttonLocation: `${TELEMETRY_LOCATION} hero` },
+ }),
+ },
+ ],
+ footer: (
+ <div className="flex flex-col items-center gap-6 mt-8">
+ <p className="text-center text-foreground-light">
+ Postgres is trusted in production by teams of every size
+ </p>
+ <Logos showHeading={false} className="pb-0!" />
+ <p className="text-center text-sm text-foreground-lighter">
+ {companyStats.databasesManaged.text} databases created and{' '}
+ {companyStats.developersRegistered.text} developers on Supabase
+ </p>
+ </div>
+ ),
+ },
+ why: {
+ id: 'why-supabase',
+ label: '',
+ heading: (
+ <>
+ Why developers choose Supabase for{' '}
+ <span className="text-foreground">hosted Postgres</span>
+ </>
+ ),
+ subheading:
+ 'You came for a Postgres database. You get a fully managed one, plus the tools you would otherwise build or buy. Pure Postgres, no lock-in.',
+ features: [
+ {
+ id: 'real-postgres',
+ icon: Database,
+ heading: 'Real Postgres, fully managed',
+ subheading:
+ 'Connect with psql, pgAdmin, or any standard client. Use native extensions and Row Level Security. We handle provisioning, patching, backups, and uptime.',
+ },
+ {
+ id: 'free-to-start',
+ icon: Wallet,
+ heading: 'Free to start, $25 when you need more',
+ subheading:
+ 'Launch a database for free in seconds. Upgrade to Pro for daily backups, email support, and additional production features.',
+ },
+ {
+ id: 'more-than-a-database',
+ icon: LayoutDashboard,
+ heading: 'More than a database, from day one',
+ subheading:
+ 'Every project ships with a Dashboard, a SQL Editor, a Table Editor, logs, performance and security advisors, and auto-generated APIs.',
+ },
+ {
+ id: 'built-to-scale',
+ icon: Scaling,
+ heading: 'Built to scale, dependable under pressure',
+ subheading:
+ 'Read replicas, point-in-time recovery, and high availability when you need them.',
+ },
+ ],
+ },
+ pricing: {
+ id: 'pricing',
+ heading: (
+ <>
+ Pay for Postgres, <span className="text-foreground">not for surprises</span>
+ </>
+ ),
+ subheading:
+ 'Most hosted Postgres plans start cheap and stay just okay. Supabase is free to start and $25 a month for a production database, with no charges for reads or writes and no per-connection fees. Here is what is included at each tier.',
+ plans: [{ name: 'Free' }, { name: 'Pro', highlight: true }],
+ rows: [
+ { feature: 'Monthly price', values: ['$0', '$25'] },
+ { feature: 'Dedicated Postgres database', values: [true, true] },
+ { feature: 'Dashboard, SQL editor, table editor', values: [true, true] },
+ { feature: 'Auto-generated REST and GraphQL APIs', values: [true, true] },
+ {
+ feature: 'Full extension ecosystem (pgvector, PostGIS, and more)',
+ values: [true, true],
+ },
+ { feature: 'Connection pooling', values: [true, true] },
+ { feature: 'Charges per read or write', values: ['Never', 'Never'] },
+ { feature: 'Automatic daily backups', values: [false, '7-day retention'] },
+ { feature: 'Point-in-Time Recovery', values: [false, 'Add-on'] },
+ { feature: 'Read replicas', values: [false, 'Add-on'] },
+ { feature: 'Database branching', values: [false, 'Usage-based'] },
+ { feature: 'Projects never pause', values: [false, true] },
+ { feature: 'Email support', values: ['Community', true] },
+ ],
+ cta: {
+ label: 'See full pricing',
+ url: '/pricing',
+ },
+ },
+ included: {
+ id: 'included',
+ heading: 'More than a database',
+ subheading:
+ 'Backups, connection pooling, branching, observability, point-in-time recovery, and developer tools included from day one.',
+ features: [
+ {
+ id: 'managed-postgres',
+ title: 'Fully managed Postgres',
+ description:
+ 'A dedicated Postgres instance, provisioned in seconds and kept patched and online.',
+ icon: Database,
+ },
+ {
+ id: 'studio-dashboard',
+ title: 'Studio dashboard',
+ description:
+ 'Manage your database from a clean UI: browse data, inspect schema, and run queries from anywhere.',
+ icon: LayoutDashboard,
+ },
+ {
+ id: 'table-editor',
+ title: 'Table editor',
+ description:
+ 'A spreadsheet-style view to create, edit, and explore tables without writing SQL.',
+ icon: Table2,
+ },
+ {
+ id: 'sql-editor',
+ title: 'SQL editor',
+ description:
+ 'Write and run SQL in the browser, save snippets, and share queries with your team.',
+ icon: SquareTerminal,
+ },
+ {
+ id: 'automatic-backups',
+ title: 'Automatic backups',
+ description:
+ 'Daily backups with retention, so a bad migration is never the end of the world.',
+ icon: DatabaseBackup,
+ },
+ {
+ id: 'pitr',
+ title: 'Point-in-Time Recovery',
+ description: 'Restore to any moment, down to the second, for true disaster recovery.',
+ icon: History,
+ },
+ {
+ id: 'connection-pooling',
+ title: 'Connection pooling',
+ description:
+ 'Supavisor pools and shares connections so your app scales past Postgres connection limits.',
+ icon: Network,
+ },
+ {
+ id: 'read-replicas',
+ title: 'Read replicas',
+ description:
+ 'Add read-only databases in other regions to spread load and cut latency for global users.',
+ icon: GitFork,
+ },
+ {
+ id: 'branching',
+ title: 'Branching',
+ description:
+ 'Spin up isolated database branches for development and preview, then merge with confidence.',
+ icon: GitBranch,
+ },
+ {
+ id: 'migrations-cli',
+ title: 'Migrations and CLI',
+ description: (
+ <>
+ Version-control your schema and run the full stack locally with{' '}
+ <code className="text-xs">supabase start</code>.
+ </>
+ ),
+ icon: SquareTerminal,
+ },
+ {
+ id: 'full-sql-access',
+ title: 'Full SQL access',
+ description:
+ 'CTEs, triggers, foreign keys, JSONB, full-text search, stored procedures, and PL/pgSQL.',
+ icon: Code2,
+ },
+ {
+ id: 'extension-ecosystem',
+ title: 'The Postgres extension ecosystem',
+ description:
+ 'pgvector, PostGIS, pg_cron, pg_stat_statements, and dozens more, one click away.',
+ icon: Blocks,
+ },
+ ],
+ },
+ bundled: {
+ id: 'bundled',
+ heading: 'Your database is an application platform',
+ subheading:
+ 'Generate APIs, schedule work, trigger workflows, manage secrets, and connect external systems without leaving Postgres.',
+ features: [
+ {
+ id: 'rest-apis',
+ title: 'Auto-generated REST APIs',
+ description:
+ 'PostgREST turns your schema into a REST API instantly, ready for any framework.',
+ icon: Webhook,
+ },
+ {
+ id: 'graphql',
+ title: 'GraphQL',
+ description: 'pg_graphql reflects a GraphQL API straight from your database schema.',
+ icon: Workflow,
+ },
+ {
+ id: 'observability',
+ title: 'Observability and logs',
+ description: 'Built-in logs, reports, and query performance tools for fast debugging.',
+ icon: Activity,
+ },
+ {
+ id: 'advisors',
+ title: 'Performance and Security Advisors',
+ description:
+ 'Automatic checks that flag missing indexes, slow queries, and risky access policies before they bite.',
+ icon: Lightbulb,
+ },
+ {
+ id: 'cron',
+ title: 'Cron',
+ description:
+ 'Schedule recurring jobs with cron syntax, managed inside Postgres with pg_cron.',
+ icon: CalendarClock,
+ },
+ {
+ id: 'queues',
+ title: 'Queues',
+ description:
+ 'A Postgres-native durable message queue with guaranteed delivery, powered by pgmq.',
+ icon: ListOrdered,
+ },
+ {
+ id: 'vault',
+ title: 'Vault',
+ description: 'Store secrets and encryption keys securely, right in your database.',
+ icon: KeyRound,
+ },
+ {
+ id: 'fdw',
+ title: 'Foreign Data Wrappers',
+ description:
+ 'Query BigQuery, Redshift, MySQL, and external APIs as if they were local tables.',
+ icon: Cable,
+ },
+ {
+ id: 'database-webhooks',
+ title: 'Database webhooks',
+ description:
+ 'Trigger functions and external services automatically when your data changes.',
+ icon: Webhook,
+ },
+ {
+ id: 'mcp-server',
+ title: 'MCP Server and AI Assistant',
+ description: 'Connect Cursor, Claude, and other AI tools directly to your database.',
+ icon: Bot,
+ },
+ ],
+ },
+ resultsSection: {
+ id: 'performance',
+ heading: (
+ <>
+ Top performance,
+ <br />
+ at any scale
+ </>
+ ),
+ subheading:
+ 'Supabase is Postgres, so the ceiling is Postgres. Scale compute and storage independently, add replicas, and keep query times low whether you are handling a launch spike or steady growth. You will not outgrow it and need to start over somewhere else.',
+ highlights: [
+ {
+ heading: companyStats.databasesManaged.label,
+ subheading: companyStats.databasesManaged.text,
+ },
+ {
+ heading: 'Postgres performance gains',
+ subheading: '20-30x',
+ },
+ ],
+ },
+ performanceGrid: {
+ id: 'performance-features',
+ features: [
+ {
+ id: 'postgres-core',
+ title: 'Postgres at its core',
+ description:
+ 'ACID-compliant and battle-tested, trusted by startups and enterprises alike.',
+ icon: Database,
+ },
+ {
+ id: 'scaling',
+ title: 'Vertical and horizontal scaling',
+ description: 'Scale compute and storage independently, with support for read replicas.',
+ icon: Scaling,
+ },
+ {
+ id: 'high-performance-disk',
+ title: 'High-performance disk',
+ description: 'Fast, configurable storage tuned for demanding workloads.',
+ icon: HardDrive,
+ },
+ {
+ id: 'multi-region',
+ title: 'Multi-region deployments',
+ description:
+ 'Place read replicas close to your users for global availability and low latency.',
+ icon: Globe,
+ },
+ {
+ id: 'high-availability',
+ title: 'High availability',
+ description: 'Automatic failover and redundancy for mission-critical applications.',
+ icon: ShieldCheck,
+ },
+ {
+ id: 'pitr-backups',
+ title: 'Point-in-Time Recovery and automatic backups',
+ description: 'Recover quickly from any failure or mistake.',
+ icon: DatabaseBackup,
+ },
+ {
+ id: 'multigres',
+ title: 'Multigres is coming',
+ description: (
+ <>Learn more about Multigres and the performance benefits you'll get when it ships.</>
+ ),
+ icon: Sparkles,
+ },
+ ],
+ },
+ securitySection: {
+ id: 'security',
+ label: 'Security',
+ heading:
+ 'Postgres is trusted for medical records, missions to the moon, and everything in between',
+ subheading:
+ 'Keep your data secure with SOC 2, HIPAA, and GDPR compliance. Your data is encrypted at rest and in transit, with built-in tools for monitoring and managing security threats.',
+ features: [
+ {
+ icon: ShieldCheck,
+ heading: 'SOC 2 Type II certified',
+ },
+ {
+ icon: HeartPulse,
+ heading: 'HIPAA compliant',
+ },
+ {
+ icon: Lock,
+ heading: 'Encryption at rest and in transit',
+ },
+ {
+ icon: LockKeyhole,
+ heading: 'SSL enforcement',
+ },
+ {
+ icon: UserX,
+ heading: 'Network restrictions',
+ },
+ {
+ icon: Users,
+ heading: 'Row Level Security and Role-Based Access Control',
+ },
+ {
+ icon: List,
+ heading: 'Database audit logs',
+ },
+ {
+ icon: Lightbulb,
+ heading: 'Security Advisors',
+ },
+ {
+ icon: KeyRound,
+ heading: 'Multi-factor authentication',
+ },
+ {
+ icon: ShieldAlert,
+ heading: 'DDoS protection and vulnerability management',
+ },
+ ],
+ cta: {
+ label: 'Learn about security',
+ url: '/security',
+ },
+ },
+ platformUpsell: {
+ id: 'platform-upsell',
+ title: <>Postgres now. The rest of the backend when you want it.</>,
+ subtitle:
+ 'Your hosted Postgres comes from the same platform that gives you Auth, Storage, Edge Functions, Realtime, and Vector search. Start with the database. Add the rest later without migrating, re-architecting, or changing vendors.',
+ primaryCta: {
+ label: 'Explore the full platform',
+ url: '/',
+ },
+ },
+ platformStarterSection: {
+ id: 'platform-starter',
+ heading: (
+ <>
+ <span className="text-foreground block">Choose your platform</span> to get started in
+ seconds
+ </>
+ ),
+ headingRight: (
+ <>
+ Or, start with <span className="text-foreground">Supabase AI Prompts</span>{' '}
+ <Sparkles size={24} className="inline text-foreground" />
+ </>
+ ),
+ docsUrl: 'https://supabase.com/docs/guides/getting-started/ai-prompts',
+ leftFooter: (
+ <div className="grid grid-cols-5 divide-x divide-y rounded-lg overflow-hidden border">
+ {frameworks.map((framework) => (
+ <FrameworkLink key={framework.name} framework={framework} />
+ ))}
+ </div>
+ ),
+ aiPrompts: [
+ {
+ id: 'auth-setup',
+ title: 'Bootstrap Next.js app with Supabase Auth',
+ description:
+ '## Overview of implementing Supabase Auth SSR\n1. Install @supabase/supabase-js and...',
+ code: `1. Install @supabase/supabase-js and @supabase/ssr packages.
+2. Set up environment variables.
+3. Write two utility functions with \u0060createClient\u0060 functions to create a browser client and a server client.
+4. Hook up middleware to refresh auth tokens
+`,
+ language: 'markdown',
+ docsUrl:
+ 'https://supabase.com/docs/guides/getting-started/ai-prompts/nextjs-supabase-auth',
+ },
+ {
+ id: 'edge-functions',
+ title: 'Writing Supabase Edge Functions',
+ description:
+ "You're a Supabase Postgres expert in writing row level security policies. Your purpose is to generate...",
+ code: `1. Try to use Web APIs and Deno's core APIs instead of external dependencies (eg: use fetch instead of Axios, use WebSockets API instead of node-ws)
+2. If you are reusing utility methods between Edge Functions, add them to 'supabase/functions/_shared' and import using a relative path. Do NOT have cross dependencies between Edge Functions.
+3. Do NOT use bare specifiers when importing dependecnies. If you need to use an external dependency, make sure it's prefixed with either 'npm:' or 'jsr:'.
+`,
+ language: 'markdown',
+ docsUrl: 'https://supabase.com/docs/guides/getting-started/ai-prompts/edge-functions',
+ },
+ {
+ id: 'declarative-db-schema',
+ title: 'Declarative Database Schema',
+ description:
+ "You're a Supabase Postgres expert in writing row level security policies. Your purpose is to generate...",
+ code: `Mandatory Instructions for Supabase Declarative Schema Management
+## 1. **Exclusive Use of Declarative Schema**
+-**All database schema modifications must be defined within '.sql' files located in the 'supabase/schemas/' directory.`,
+ language: 'markdown',
+ docsUrl:
+ 'https://supabase.com/docs/guides/getting-started/ai-prompts/declarative-database-schema',
+ },
+ {
+ id: 'rls-policies',
+ title: 'Create RLS policies',
+ description:
+ "You're a Supabase Postgres expert in writing row level security policies. Your purpose is to generate...",
+ code: `You're a Supabase Postgres expert in writing row level security policies. Your purpose is to generate a policy with the constraints given by the user. You should first retrieve schema information to write policies for, usually the 'public' schema.
+The output should use the following instructions:
+
+- The generated SQL must be valid SQL.`,
+ language: 'markdown',
+ docsUrl:
+ 'https://supabase.com/docs/guides/getting-started/ai-prompts/database-rls-policies',
+ },
+ ],
+ },
+ mcp: {
+ id: 'mcp',
+ heading: (
+ <div className="text-foreground-lighter">
+ Supabase works seamlessly with{' '}
+ <span className="text-foreground">your favorite AI code editor</span>
+ </div>
+ ),
+ ctaLabel: 'Connect your AI tools',
+ documentationLink: '/docs/guides/getting-started/mcp',
+ frameworks: editors,
+ apiExamples: [
+ {
+ lang: 'json',
+ title: 'macOS',
+ code: `{
+"mcpServers": {
+ "supabase": {
+ "command": "npx",
+ "args": [
+ "-y",
+ "@supabase/mcp-server-supabase@latest",
+ "--read-only",
+ "--project-ref=<project-ref>"
+ ],
+ "env": {
+ "SUPABASE_ACCESS_TOKEN": "<personal-access-token>"
+ }
+ }
+}
+}`,
+ },
+ {
+ lang: 'json',
+ title: 'Windows',
+ code: `{
+"mcpServers": {
+ "supabase": {
+ "command": "cmd",
+ "args": [
+ "/c",
+ "npx",
+ "-y",
+ "@supabase/mcp-server-supabase@latest",
+ "--read-only",
+ "--project-ref=<project-ref>"
+ ],
+ "env": {
+ "SUPABASE_ACCESS_TOKEN": "<personal-access-token>"
+ }
+ }
+}
+}`,
+ },
+ {
+ lang: 'json',
+ title: 'Windows (WSL)',
+ code: `{
+"mcpServers": {
+ "supabase": {
+ "command": "wsl",
+ "args": [
+ "npx",
+ "-y",
+ "@supabase/mcp-server-supabase@latest",
+ "--read-only",
+ "--project-ref=<project-ref>"
+ ],
+ "env": {
+ "SUPABASE_ACCESS_TOKEN": "<personal-access-token>"
+ }
+ }
+}
+}`,
+ },
+ {
+ lang: 'json',
+ title: 'Linux',
+ code: `{
+ "mcpServers": {
+ "supabase": {
+ "command": "npx",
+ "args": [
+ "-y",
+ "@supabase/mcp-server-supabase@latest",
+ "--read-only",
+ "--project-ref=<project-ref>"
+ ],
+ "env": {
+ "SUPABASE_ACCESS_TOKEN": "<personal-access-token>"
+ }
+ }
+ }
+}`,
+ },
+ ],
+ },
+ }
+}
+
+export default data
diff --git a/apps/www/pages/solutions/hosted-postgres.tsx b/apps/www/pages/solutions/hosted-postgres.tsx
new file mode 100644
index 00000000000..258c52b4b04
--- /dev/null
+++ b/apps/www/pages/solutions/hosted-postgres.tsx
@@ -0,0 +1,67 @@
+import Layout from 'components/Layouts/Default'
+import ProductHeader from 'components/Sections/ProductHeader2'
+import SolutionsStickyNav from 'components/SolutionsStickyNav'
+import { Solutions } from 'data/Solutions'
+import getContent from 'data/solutions/hosted-postgres'
+import { NextPage } from 'next'
+import { NextSeo } from 'next-seo'
+import dynamic from 'next/dynamic'
+
+const WhySupabase = dynamic(() => import('components/Solutions/FeaturesSection'))
+const PricingComparison = dynamic(() => import('components/Solutions/PricingComparisonSection'))
+const FeatureGrid = dynamic(() => import('components/Solutions/FeatureGrid'))
+const ResultsSection = dynamic(() => import('components/Solutions/ResultsSection'))
+const Security = dynamic(() => import('components/Enterprise/Security'))
+const CtaSection = dynamic(() => import('components/Solutions/CtaSection'))
+const PlatformStarterSection = dynamic(() => import('components/Solutions/TwoColumnsSection'))
+const MPCSection = dynamic(() => import('components/Solutions/MPCSection'))
+
+const HostedPostgresPage: NextPage = () => {
+ const content = getContent()
+
+ return (
+ <>
+ <NextSeo
+ title={content.metadata.metaTitle}
+ description={content.metadata.metaDescription}
+ openGraph={{
+ title: content.metadata.metaTitle,
+ description: content.metadata.metaDescription,
+ url: `https://supabase.com/solutions/hosted-postgres`,
+ }}
+ />
+ <Layout className="overflow-visible">
+ <SolutionsStickyNav activeItem={Solutions.hostedPostgres} type="app-type" />
+ <ProductHeader
+ {...content.heroSection}
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-24"
+ sectionContainerClassName="lg:gap-4"
+ />
+ <WhySupabase {...content.why} />
+ <PricingComparison {...content.pricing} />
+ <FeatureGrid {...content.included} />
+ <FeatureGrid {...content.bundled} />
+ <ResultsSection
+ id={content.resultsSection.id}
+ heading={content.resultsSection.heading}
+ subheading={content.resultsSection.subheading}
+ highlights={content.resultsSection.highlights}
+ />
+ <FeatureGrid {...content.performanceGrid} />
+ <Security
+ id={content.securitySection.id}
+ label={content.securitySection.label}
+ heading={content.securitySection.heading}
+ subheading={content.securitySection.subheading}
+ features={content.securitySection.features}
+ cta={content.securitySection.cta}
+ />
+ <CtaSection {...content.platformUpsell} />
+ <PlatformStarterSection {...content.platformStarterSection} />
+ <MPCSection {...content.mcp} />
+ </Layout>
+ </>
+ )
+}
+
+export default HostedPostgresPage