Menu

Full Sandbox egress firewall now available on Hobby plan - Vercel
📰

Full Sandbox egress firewall now available on Hobby plan - Vercel

Vercel News·Brandon Tuttle·25 days ago
#P7DJeFmA
#vercel#sandbox#network#gateway#policies
Reading 0:00
15s threshold

All Vercel Sandbox firewall features are now available on the Hobby plan.

This brings the same network isolation that protects production workloads to the free tier, giving Hobby builders control over exactly what leaves the sandbox while keeping secrets out of the code entirely. Because the firewall attaches secrets to outbound requests itself, sandboxed code can call authenticated services like AI Gateway without ever seeing the token.

Define allow-all , deny-all , or custom network policies with domain and IP-based rules, using matchers to scope each rule by path, method, query string, or headers. Custom policies can safely broker credentials or proxy requests through infrastructure you control.

To get started, pass a networkPolicy when you create a sandbox.

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

const sandbox = await Sandbox . create ( {

networkPolicy : {

allow : {

"ai-gateway.vercel.sh" : [ {

transform : [ {

headers : {

"Authorization" : ` Bearer ${ process . env .…

Continue reading — create a free account

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