---
title: "The Anatomy of an Isolate Cloud"
description: "Deno Deploy runs untrusted user JavaScript in V8 isolates rather than VMs or containers, trading heavier isolation for much lower overhead and faster deploys."
url: "https://swe.quest/articles/the-anatomy-of-an-isolate-cloud-63ec66f5321e5ffc"
canonical: "https://deno.com/blog/anatomy-isolate-cloud"
source: "Deno"
published: "2022-09-27"
difficulty: "easy"
kind: "Deep dive"
reading_minutes: 6
tags: ["sandboxing","multi-tenancy","serverless","cdn-edge","runtimes"]
---

# The Anatomy of an Isolate Cloud

A post on [Deno](https://swe.quest/sources/deno.md), published 2022-09-27, 6 min read, Deep dive. Original: [https://deno.com/blog/anatomy-isolate-cloud](https://deno.com/blog/anatomy-isolate-cloud)

## Summary

Deno Deploy runs untrusted user JavaScript in V8 isolates rather than VMs or containers, trading heavier isolation for much lower overhead and faster deploys. Traffic reaches 30+ edge locations via anycast, where a Rust runner process acts as an isolate hypervisor: it maps the Host/:authority header to a deployment, picks a TLS certificate via SNI, starts deployment processes on demand and terminates idle ones. Security is layered across a restricted custom Deno build, V8 sandboxing, one process per deployment, resource quotas enforced by the runner, separated control- and data-plane networks, seccomp syscall filtering, and Rust's memory safety.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Sandboxing & isolation](https://swe.quest/tags/sandboxing.md) (Security)
- [Multi-tenancy](https://swe.quest/tags/multi-tenancy.md) (Architecture & design)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [CDN & edge](https://swe.quest/tags/cdn-edge.md) (Infrastructure)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)

## Prerequisites

- JavaScript runtimes ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- HTTP and TLS basics ([easy posts on Cryptography](https://swe.quest/tags/cryptography.md?difficulty=easy))

## Keywords

Deno Deploy, V8 isolates, anycast, seccomp, SNI, Rust

## Related posts

- [How we built a secure, performant, multi-tenant cloud platform to run untrusted code](https://swe.quest/articles/how-we-built-a-secure-performant-multi-tenant-cloud-platform-to-run-untrusted-2ee4fd4f231472d5.md): Deno · 2024-05-17 · Medium · 10 min read · Multi-tenancy, Serverless, Sandboxing & isolation, CDN & edge, System design
  Deno Deploy runs untrusted JavaScript and TypeScript in pools of V8 isolates inside VMs called runners, split into a control plane for deployments and a data plane of edge regions.
- [How security and tenant isolation allows Deno Subhosting to run untrusted code securely](https://swe.quest/articles/how-security-and-tenant-isolation-allows-deno-subhosting-to-run-untrusted-code-bc85ef9b28cccb45.md): Deno · 2023-11-27 · Easy · 6 min read · Multi-tenancy, Sandboxing & isolation, Serverless, Linux
  Deno Deploy and Deno Subhosting isolate untrusted tenant code using layered defenses mapped to a five-point threat model: per-deployment V8 isolates, a virtualized filesystem, and separate VPCs for ingress and outbound traffic.
- [Introducing Deno Sandbox](https://swe.quest/articles/introducing-deno-sandbox-ffb8d1f44b3562f3.md): Deno · 2026-02-03 · Medium · 3 min read · Sandboxing & isolation, AI agents, Serverless, Virtualization, Security
  Deno Sandbox runs untrusted, often LLM-generated code in lightweight Linux microVMs on Deno Deploy that boot in under a second and are created via JavaScript or Python SDKs.
- [How immutable scripts in Deno allow Windmill.dev (YC S22) to build production-grade ops](https://swe.quest/articles/how-immutable-scripts-in-deno-allow-windmill-dev-yc-s22-to-build-production-db6cb3961bcb6bf5.md): Deno · 2023-05-18 · Easy · 3 min read · TypeScript, Sandboxing & isolation, Multi-tenancy, Performance engineering
  Windmill.dev, an open-source platform for building internal workflows and UIs from scripts, runs TypeScript on Deno because inline, version-pinned imports make each script a self-contained, reproducible file that is hashed immutably and stored in Postgres.
- [Deno 1.20 Release Notes](https://swe.quest/articles/deno-1-20-release-notes-bca0b4c539f63df8.md): Deno · 2022-03-17 · Medium · 12 min read · JavaScript, Runtimes & VMs, Performance engineering, Developer tools, Rust
  Deno 1.20 cuts JavaScript-to-Rust op call overhead by up to ~60% by using Rust proc macros to generate a dedicated V8 binding per op, eliminating op routing and skipping deserialization of unused arguments; a 1 MB base64 roundtrip drops from ~125 ms to ~3.3 ms. The release also adds automatic gzip/brotli compression of non-streamed HTTP responses, an unstable \`deno bench\` subcommand (1000 warmup plus 1000 measured iterations by default), and a cross-platform \`deno task\` runner using a POSIX-like shell subset.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
