import CTABanner from '~/components/CTABanner'
import DefaultLayout from '~/components/Layouts/Default'
import SectionContainer from '~/components/Layouts/SectionContainer'
import SectionHeading from '~/components/Layouts/SectionHeading'
import { DOCUMENTS, REGION_COUNT, RESIDENCY_ROWS } from '~/components/Regions/Regions.constants'
import { RegionsExplorer } from '~/components/Regions/RegionsExplorer'
import ProductHeaderCentered from '~/components/Sections/ProductHeaderCentered'
import { ArrowUpRight, FileText } from 'lucide-react'
import { NextSeo } from 'next-seo'
import Link from 'next/link'
import { useRouter } from 'next/router'
import { Badge } from 'ui'
import { Admonition } from 'ui-patterns/Admonition'
const RESIDENCY_BADGE_VARIANTS = {
'In region': 'success',
'Your choice': 'default',
Global: 'warning',
} as const
const RegionsPage = () => {
const router = useRouter()
const meta_title = 'Regions | Supabase'
const meta_description = `Host your project in any of ${REGION_COUNT} AWS regions. Postgres, Auth, and Storage objects stay in the region you choose.`
return (
<>
{REGION_COUNT} regions.
Pick the one you need.
>
}
subheader="Your Postgres database, Auth service, and Storage objects stay in the region you choose."
cta={{ label: 'Start your project', link: 'https://supabase.com/dashboard/sign-up' }}
secondaryCta={{ label: 'Read the DPA', link: '/legal/dpa' }}
/>
{RESIDENCY_ROWS.map((row) => (
{row.component}
{row.status}
{row.detail}
))}
Choose a specific region: Frankfurt, Ireland, or Paris.
London or Zurich both have GDPR-adequacy regimes, but neither is an EU member state.