Skip to content

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

feat: add new regions for staging/local (#35275)

jose-ledesma9c50c0ab9715
diff --git a/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx b/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx
index 815081d4923..5c72734c5b4 100644
--- a/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx
+++ b/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx
@@ -52,7 +52,9 @@ export const RegionSelector = ({
<>
<p>Select the region closest to your users for the best performance.</p>
{showNonProdFields && (
- <p className="text-warning">Note: Only SG is supported for local/staging projects</p>
+ <p className="text-warning">
+ Note: Only US (NV), Frankfurt and SG are supported for local/staging projects
+ </p>
)}
</>
}
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/DeployNewReplicaPanel.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/DeployNewReplicaPanel.tsx
index cdb19a8e7d7..48f2d896168 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/DeployNewReplicaPanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/DeployNewReplicaPanel.tsx
@@ -191,7 +191,9 @@ const DeployNewReplicaPanel = ({
const availableRegions =
process.env.NEXT_PUBLIC_ENVIRONMENT === 'staging'
- ? AVAILABLE_REPLICA_REGIONS.filter((x) => x.key === 'SOUTHEAST_ASIA')
+ ? AVAILABLE_REPLICA_REGIONS.filter((x) =>
+ ['SOUTHEAST_ASIA', 'CENTRAL_EU', 'EAST_US'].includes(x.key)
+ )
: AVAILABLE_REPLICA_REGIONS
const onSubmit = async () => {