Anatomy of a sandbox
A sandbox group is a regional Azure Resource Manager (ARM) resource that can contain thousands of sandboxes. Each sandbox starts from a disk image, can mount data volumes, and has one of two lifecycle states: Running or Stopped. Stopped sandboxes don't incur compute charges. Snapshots capture memory and disk so you can clone a sandbox or restore its state. Public ingress routes each port-specific hostname through an ingress proxy to one sandbox and can wake a stopped sandbox on request. Sandboxes use Microsoft Entra managed identities and reach external services through an egress proxy with host allowlists, deny policies, and credential injection. Both directions can be private: a sandbox group can join an Azure virtual network (VNet) so sandboxes reach private resources over your subnet, and it can accept inbound traffic through a private endpoint in your VNet instead of the public internet.
What you can build
Building blocks
Dynamic sessions route HTTP requests through a managed pool - best for stateless code execution at request scope. Sandboxes give you direct CLI / SDK control over individual microVMs, with suspend, snapshots, persistent volumes, and egress policy. Reach for sandboxes anytime state, lifecycle, or networking control matters.
Get started
Quickstart: Portal
Use the portal to provision a group and launch your first sandbox.
Learn more →Quickstart: CLI
Sign in, create a group, and start your first sandbox in under five minutes.
Learn more →Quickstart: Python
Boot, exec, snapshot, and tear down from a script.
Learn more →Quickstart: Agent Skills
Connect sandboxes to Copilot, Claude Code, or any agent.
Learn more →