Menu

Filesystem snapshots supported on Vercel Sandboxes - Vercel
📰
0

Filesystem snapshots supported on Vercel Sandboxes - Vercel

Vercel News·Guðmundur Bjarni Ólafsson·4 days ago
#onLuPQ3m
Reading 0:00
15s threshold

Vercel Sandbox now supports filesystem snapshots to capture your state. You can capture a Sandbox's complete filesystem state as a snapshot and launch new Sandboxes from that snapshot using the Sandbox API. This eliminates repeated setup when working with expensive operations like dependency installation, builds, or fixture creation. Create the environment once, snapshot it, then reuse that exact filesystem state across multiple isolated runs. Link to heading How snapshots work Snapshots capture the entire filesystem of a running Sandbox. New Sandboxes can launch from that snapshot, providing immediate access to pre-installed dependencies and configured environments. Link to heading Key capabilities Create a snapshot from any running Sandbox with sandbox.snapshot() Launch new Sandboxes from snapshots via source: { type: 'snapshot', snapshotId } Reuse the same snapshot with multiple Sandboxes for parallel testing and experimentation import { Sandbox } from '@vercel/sandbox' ; const sandbox = await Sandbox .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More