INTEGRITY Cloudflare Docs

Dynamic Workers

Spin up Workers at runtime to execute code on-demand in a secure, sandboxed environment.

Dynamic Workers let you spin up an unlimited number of Workers to execute arbitrary code specified at runtime. Dynamic Workers can be used as a lightweight alternative to containers for securely sandboxing code you don't trust.

Dynamic Workers are the lowest-level primitive for spinning up a Worker, giving you full control over defining how the Worker is composed, which bindings it receives, whether it can reach the network, and more.

Get started

Deploy the Dynamic Workers Playground to create and run Workers dynamically from code you write or import from GitHub, with real-time logs and observability.

Deploy to Cloudflare

Use Dynamic Workers for

Use this pattern when code needs to run quickly in a secure, isolated environment.

Features

Because you compose the Worker that runs the code at runtime, you control how that Worker is configured and what it can access.