Skip to content
AZ

Azure Container Instances Sandboxes

Beta

Preview serverless sandboxes in Azure Container Instances: Hyper-V micro VMs with full-state snapshots, a gRPC sandbox gateway and policy-controlled egress.

Visit website
CategoriesAI Agent SandboxMicroVMTypeCommercial SaaSContainmentHardware VMRating3.7 / 5

Overview

Azure Container Instances Sandboxes is the ACI team's purpose-built compute for agents, shown as an emerging-technology preview at Build in June 2026 and documented on Microsoft Learn in November 2026. The architecture is unusual for Azure in how it separates control from data. An AI agents group is an ARM resource that holds sandboxes, snapshots, identity and networking; sandbox management is a separate REST API reached through a short-lived token from the group's connect action; and the actual work goes through a gRPC sandbox gateway that runs commands, opens shells, moves files, forwards ports and runs containers or pods. Each sandbox is a Hyper-V micro VM, so the isolation boundary is hardware rather than a shared kernel, and snapshots capture memory, filesystem and runtime state so one sandbox can be restored into many. The extras are the Azure-specific ones: Agent Grid egress policy, delegated-subnet networking, Entra agent identities, networkless enclaves over vsock, in-place stretchable sizing and AMD SEV-SNP confidential sandboxes. Two caveats matter for a catalog entry. It is preview software, opt-in and excluded from SLAs, with quota approval required and no published rate, and it is a different product from Azure Container Apps Sandboxes even though both are Azure microVM sandboxes for agents.

Key capabilities

  • Hyper-V isolated micro VM per sandbox with its own kernel
  • Full-state snapshots of memory, filesystem and runtime state
  • Restore one or many sandboxes from a snapshot
  • gRPC sandbox gateway for exec, shells, files, ports and logs
  • Containers and pods inside a sandbox through the Kubernetes CRI
  • Agent Grid egress policy, denied by default when attached
  • Virtual network integration and Microsoft Entra agent identity
  • Networkless enclave micro VMs reachable only over vsock
  • Stretchable sandboxes resized in place
  • AMD SEV-SNP confidential sandboxes

aci-sandbox.sh

# Create an AI agents group, then a sandbox inside it
az rest --method put --url "$GROUP_URL?api-version=2026-08-01-preview" \
  --body '{ "location": "centralus", "properties": {} }'

{ read -r endpoint; read -r accessToken; } < <(
  az rest --method post --url "$GROUP_URL/connect?api-version=2026-08-01-preview" \
    --query "[endpoint, accessToken]" --output tsv
)

curl -X PUT "$endpoint/sandboxes/sandbox1?api-version=2026-08-01-preview" \
  -H "Authorization: Bearer $accessToken" -H "Content-Type: application/json" \
  -d '{ "location": "centralus", "properties": {
        "image": "mcr.microsoft.com/azurelinux/base/core:3.0",
        "resources": { "cpu": 1, "memory": 2 } } }'

# Then drive the sandbox over the gRPC gateway from properties.connectionString

Similar alternatives

Technical specifications

Runtime architecture
Each sandbox is a Hyper-V isolated micro VM with its own kernel, not a shared kernel
Runtime notes
  • Containers and pods also run inside a sandbox through the Kubernetes CRI, inside its micro VM boundary
  • Enclave micro VMs can be started from a parent sandbox with no network and are reachable only over vsock
Cold-start boot time
Seconds, or a restore from a prewarmed snapshot; no latency figure is published
Max vCPU
Stretchable sandboxes take an initial, minimum and maximum CPU, with fractional cores and in-place resizing inside that range; the quickstart uses 1 core
Max memory
Stretchable initial, minimum and maximum memory in GiB, resized in place; the quickstart uses 2 GiB
Storage model
Per-sandbox disk allocation, with snapshots kept in a storage account the service provisions in your subscription
Network isolation
Egress is denied by default when a sandbox is attached to an Agent Grid, where destination policies allow traffic. A group can join a delegated subnet to reach private resources, a sandbox can hold a Microsoft Entra agent identity, and a parent sandbox can start networkless enclave micro VMs reachable only over vsock. Confidential sandboxes run under an AMD SEV-SNP enforcement policy.

Lifecycle & capabilities

Filesystem persistence
Supported
Memory / disk snapshot
Supported
Instant forking
Supported
GPU acceleration
Not supported
GUI desktop / VNC
Not supported
Mobile / cloud phone
Not supported
Browser automation
Not supported
Network egress control
Supported
Pause / auto-sleep
Supported
MCP protocol server
Not supported
REST API & SDKs
Not supported
Idle billing
Not published
State kept on pause
Memory + processes retained
Resume latency
Restore from a snapshot or restart a stopped sandbox; no latency figure is published
Session limit
No published maximum. Preview capacity is requested per subscription as an AI agents group limit and a standard-cores quota.

Pricing model

Pending Audit
Pricing tiers
Unpublished
Summary

No rate card is published for the preview's AI agents group resource: the ACI pricing page and the Azure retail price API list container groups by vCPU-second and GB-second but returned no sandbox SKU when checked on 2026-11-23. The preview is opt-in, provided as is, excluded from SLAs and not recommended for production, and a subscription must request an AIAgentsGroups quota. Pricing is Pending audit.

Billing unitNot published for the preview
View official pricing page

Related architecture guides