From 227d21a4ecbb4eeae39432179d8171d97b82cdf8 Mon Sep 17 00:00:00 2001 From: Nikita Sharma Date: Mon, 14 Jul 2025 16:31:47 -0500 Subject: [PATCH] Add documentation for cutom instance types Add documentation to reflect wrangler change that adds support for custom instance types. --- .../docs/workers/wrangler/configuration.mdx | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/content/docs/workers/wrangler/configuration.mdx b/src/content/docs/workers/wrangler/configuration.mdx index 78b41f5ffe695b..0030c5c78f97bd 100644 --- a/src/content/docs/workers/wrangler/configuration.mdx +++ b/src/content/docs/workers/wrangler/configuration.mdx @@ -1133,6 +1133,37 @@ new_sqlite_classes = ["MyContainer"] +### Custom Instance Types + +For Enterprise customers only. + +In place of the [named instance types](/containers/platform-details#instance-types), you can set a custom instance type by +individually configuring vCPU, memory, and disk. + +The following options are available: + +- `vcpu` + + - The vCPU to be used by your container. Defaults to 1/16 vCPU. + +- `memory_mib` + + - The memory to be used by your container, in MiB. Defaults to 256 MiB. + +- `disk_mb` + + - The disk to be used by your container, in MB. Defaults to 2GB. + + + +```toml title="wrangler.toml" +[[containers]] +image = "./Dockerfile" +instance_type = { vcpu = 1, memory_mib = 1024, disk_mb = 4000 } +``` + + + ## Bundling :::note