Menu

Vercel Sandbox now supports 1 vCPU + 2 GB RAM configurations - Vercel
📰
0

Vercel Sandbox now supports 1 vCPU + 2 GB RAM configurations - Vercel

Vercel News·Rob Herley·4 days ago
#DoPTKRB5
Reading 0:00
15s threshold

Vercel Sandbox now supports creating Sandboxes with only 1 vCPU and 2 GB of RAM. This is ideal for single-threaded or light workloads which don't benefit from additional system resources. When unspecified, the default is still 2 vCPUs and 4 GB of RAM.

Get started by setting the resources.vcpus option in the SDK:

import { Sandbox } from "@vercel/sandbox";

const sandbox = await Sandbox.create({

resources: { vcpus: 1 },

});

Or using the --vcpus option in the CLI:

sandbox create --connect --vcpus 1

Learn more about Sandbox in the docs.

Read More