Skip to content

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

studio: increase gp3 max size to new aws limit (#45611)

Charis2ee010892880
diff --git a/apps/docs/content/guides/platform/compute-and-disk.mdx b/apps/docs/content/guides/platform/compute-and-disk.mdx
index a8d8762d666..64e8f1791b5 100644
--- a/apps/docs/content/guides/platform/compute-and-disk.mdx
+++ b/apps/docs/content/guides/platform/compute-and-disk.mdx
@@ -117,9 +117,9 @@ When selecting your disk, it's essential to focus on the performance needs of yo
| | General Purpose SSD (gp3) | High Performance SSD (io2) |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| **Use Case** | General workloads, development environments, small to medium databases | High-performance needs, large-scale databases, mission-critical applications |
-| **Max Disk Size** | 16 TB | 60 TB |
-| **Max IOPS** | 16,000 IOPS (at 32 GB disk size) | 80,000 IOPS (at 80 GB disk size) |
-| **Throughput** | 125 MB/s (default) to 1,000 MB/s (maximum) | Automatically scales with IOPS |
+| **Max Disk Size** | 64 TB | 60 TB |
+| **Max IOPS** | 80,000 IOPS (at 160 GB disk size) | 80,000 IOPS (at 80 GB disk size) |
+| **Throughput** | 125 MB/s (default) to 2,000 MB/s (maximum) | Automatically scales with IOPS |
| **Best For** | Great value for most use cases | Low latency and very high IOPS requirements |
| **Pricing** | Disk: 8 GB included, then <Price price="0.125" /> per GB<br/>IOPS: 3,000 included, then <Price price="0.024" /> per IOPS<br/>Throughput: 125 MB/s included, then <Price price="0.95" /> per MB/s | Disk: <Price price="0.195" /> per GB<br/>IOPS: <Price price="0.119" /> per IOPS<br/>Throughput: Scales with IOPS at no additional cost |
diff --git a/apps/studio/components/interfaces/DiskManagement/DiskManagement.schema.ts b/apps/studio/components/interfaces/DiskManagement/DiskManagement.schema.ts
index 1eaca89eb59..148685c4eef 100644
--- a/apps/studio/components/interfaces/DiskManagement/DiskManagement.schema.ts
+++ b/apps/studio/components/interfaces/DiskManagement/DiskManagement.schema.ts
@@ -160,7 +160,7 @@ export const CreateDiskStorageSchema = ({
if (totalSize > DISK_LIMITS[DiskType.IO2].maxStorage) {
ctx.addIssue({
code: z.ZodIssueCode.custom,
- message: `Allocated disksize must not exceed ${formatNumber(DISK_LIMITS[DiskType.IO2].maxStorage)} GB `,
+ message: `Allocated disk size must not exceed ${formatNumber(DISK_LIMITS[DiskType.IO2].maxStorage)} GB `,
path: ['totalSize'],
})
}
@@ -235,7 +235,7 @@ export const CreateDiskStorageSchema = ({
if (totalSize > DISK_LIMITS[DiskType.GP3].maxStorage) {
ctx.addIssue({
code: z.ZodIssueCode.custom,
- message: `Allocated disksize must not exceed ${formatNumber(DISK_LIMITS[DiskType.GP3].maxStorage)} GB`,
+ message: `Allocated disk size must not exceed ${formatNumber(DISK_LIMITS[DiskType.GP3].maxStorage)} GB`,
path: ['totalSize'],
})
}
diff --git a/apps/studio/components/interfaces/DiskManagement/ui/DiskManagement.constants.tsx b/apps/studio/components/interfaces/DiskManagement/ui/DiskManagement.constants.tsx
index 782ae78a150..b2a9b8d3ac8 100644
--- a/apps/studio/components/interfaces/DiskManagement/ui/DiskManagement.constants.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/ui/DiskManagement.constants.tsx
@@ -30,11 +30,11 @@ export const DISK_PRICING = {
export const DISK_LIMITS = {
[DiskType.GP3]: {
minStorage: 1,
- maxStorage: 16384,
+ maxStorage: 65536,
minIops: 3000,
- maxIops: 16000,
+ maxIops: 80000,
minThroughput: 125,
- maxThroughput: 1000,
+ maxThroughput: 2000,
includedIops: 3000,
includedThroughput: 125,
},
diff --git a/apps/studio/components/interfaces/DiskManagement/ui/DiskTypeRecommendationSection.tsx b/apps/studio/components/interfaces/DiskManagement/ui/DiskTypeRecommendationSection.tsx
index d78185919f3..ab237f10b8e 100644
--- a/apps/studio/components/interfaces/DiskManagement/ui/DiskTypeRecommendationSection.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/ui/DiskTypeRecommendationSection.tsx
@@ -31,7 +31,7 @@ export function DiskTypeRecommendationSection({
>
<Admonition
type="default"
- title={`You will need to use ${io2Option?.name} to use a larger Disk size`}
+ title={`You will need to use ${io2Option?.name} to use a larger disk size`}
>
<div className="flex flex-col gap-2">{actions && <div>{actions}</div>}</div>
</Admonition>