← Back to Blog
Header image for blog post: Which platforms support AI-agent sandboxes in a customer’s own cloud?
Deborah Emeni
Published 11th November 2026

Which platforms support AI-agent sandboxes in a customer’s own cloud?

This guide compares two platforms that run AI-agent sandboxes in your own cloud: Northflank and E2B. If your agents handle private data or connect to internal services, where their code runs can affect whether the deployment meets your network, residency, or infrastructure requirements.

“Private,” “dedicated,” and “in your VPC” can describe different architectures. Here’s where sandbox compute and data stay with each provider, and what your team needs to configure.

TL;DR: Which platforms support AI-agent sandboxes in a customer’s own cloud?

Northflank and E2B both run AI-agent sandboxes in your own cloud. Northflank supports self-serve BYOC and eligible existing Kubernetes clusters; E2B offers managed BYOC through its Enterprise plan.

  • Northflank Sandboxes lets you run AI-agent sandboxes in your own cloud with microVM or gVisor isolation configured on a compatible cluster through self-serve BYOC, with Northflank provisioning and managing Kubernetes, or on eligible existing private, on-premises, and bare-metal Kubernetes clusters through BYOK. BYOC supports Google Cloud Platform, AWS, Microsoft Azure, Civo, Oracle Cloud, CoreWeave, and Nebius, while Northflank Cloud provides the fully managed option.
  • E2B runs API-driven Firecracker microVM sandboxes in your AWS, Google Cloud, or Azure environment through Enterprise BYOC. Sandbox traffic, template build sources, snapshots, and runtime logs stay in your VPC.

If your enterprise needs to run AI-agent sandboxes inside its own security, network, residency, or cloud-spend boundary, Northflank Sandboxes run on Northflank Cloud, through self-serve BYOC, or on eligible existing Kubernetes through BYOK. Isolation is automatic on Northflank Cloud. In your own cloud, enable sandbox security and select an isolation runtime supported by your nodes. Northflank manages the platform and can provision and manage the Kubernetes layer in your cloud account, so your platform team retains infrastructure control without building the sandbox orchestration layer itself.

Sandboxes run alongside APIs, workers, databases, storage, jobs, and GPU workloads with shared deployment, networking, secrets, observability, RBAC, and audit controls. Northflank is SOC 2 Type 2 compliant and HIPAA compliant, with BAAs supported under Enterprise contracts. Northflank Skills also gives compatible coding agents Northflank-specific guidance for deploying and operating the platform. Developers can get started with sandboxes through Northflank’s self-serve platform.

Get started with Northflank self-serve, or book a demo to discuss AI-agent sandbox architecture, BYOC, Kubernetes, networking, security, compliance, or scale.

What counts as an AI-agent sandbox in your own cloud?

An own-cloud AI-agent sandbox runs its execution plane in a cloud account, VPC, Kubernetes cluster, or machine fleet your organization owns or manages. The vendor may still provide a hosted control plane, API, orchestration, or support.

That excludes several useful but different designs. A service can attach to your VPC while executing elsewhere. Peering connects networks, a dedicated region isolates vendor capacity, and a custom image changes the environment rather than its location.

Start by asking where agent-written code actually executes, then trace templates, snapshots, files, logs, credentials, and network traffic separately. If the main requirement is reaching internal services rather than owning the execution plane, the available patterns for connecting AI-built applications to private APIs may solve the problem without BYOC.

How should you compare customer-cloud AI-agent sandbox platforms?

Compare the boundary and the work your team must own, not just SDK syntax or startup time.

  1. What runs in your infrastructure? Separate compute, storage, logs, and networking from the vendor control plane.
  2. What isolates each run? Shared-kernel containers, user-space kernels, microVMs, and dedicated VMs provide different boundaries. This guide to isolating AI agents with company data covers the surrounding controls.
  3. What state survives? Disposable tasks and long-running coding agents have different needs. Compare the trade-off between persistent and ephemeral AI sandboxes.
  4. How does it reach other systems? Check private DNS, egress policy, workload identity, secrets, and traffic paths.
  5. Who operates the fleet? Self-hosting can leave upgrades, capacity, patches, storage, observability, and incident response with your team.

How do customer-cloud AI-agent sandbox platforms compare?

The best fit depends on which platform components must run in your account and whether you need a sandbox API or the complete infrastructure around your agents.

PlatformBest forCustomer-cloud boundaryIsolationOperating model
Northflank SandboxesRunning sandboxes alongside APIs, jobs, and databasesSandbox workloads in your cloud account via BYOC or on eligible Kubernetes via BYOKMicroVM or gVisor; install sandbox security and select a supported runtimeNorthflank hosts the control plane and manages BYOC clusters
E2BRunning agent code in API-driven microVM sandboxes in a customer VPCSandbox workloads in your AWS, Google Cloud, or Azure environmentFirecracker microVME2B hosts the control plane and runs the cluster; Enterprise onboarding through E2B

Which AI-agent sandbox platforms run in your own cloud?

The following profiles explain how each platform fits a different customer-cloud operating model.

1. Northflank Sandboxes

Northflank Sandboxes run coding agents, APIs, and parallel agent workloads in isolated environments. They support command execution, exposed ports, persistent volumes, and GPU workloads. You can manage sandboxes through the dashboard or API.

On Northflank Cloud, CPU sandboxes use microVMs and GPU sandboxes use gVisor by default. In your own cloud, install sandbox security and select a runtime as the cluster default or with a tag on the workload. MicroVM support depends on the cloud provider, region, and node type. If the runtime is set to none, the workload runs as a standard container without microVM or gVisor isolation.

Your team can run sandboxes on Northflank Cloud or deploy them into infrastructure you control. Self-serve BYOC places workloads in your cloud account with Northflank provisioning and managing Kubernetes, while BYOK lets you import a suitable existing Kubernetes cluster.

Northflank also runs the infrastructure around the sandbox. APIs, workers, jobs, databases, object storage, persistent volumes, and GPU workloads use the same deployment and operations layer. An agent can create an environment, access a private service, store an artifact, trigger a job, and promote an output without your team combining separate sandbox and application platforms.

The deployment and operations capabilities include:

  • Self-serve BYOC: Deploy into Google Cloud Platform, AWS, Microsoft Azure, Civo, Oracle Cloud, CoreWeave, or Nebius, with Northflank managing Kubernetes in your account.
  • BYOK: Import suitable existing Kubernetes, including eligible private, on-premises, or bare-metal infrastructure.
  • Full-stack infrastructure: Run APIs, workers, jobs, databases, storage, and GPU workloads with your sandboxes instead of operating separate platforms.
  • Security and governance: Use network policies, RBAC, scoped API roles, SAML or OIDC SSO, secret injection, and audit logs.
  • Compliance: Northflank is SOC 2 Type 2 compliant and HIPAA compliant, with BAAs supported under Enterprise contracts.
  • Agent-native operations: Northflank Skills guides Codex, Claude Code, Cursor, and other compatible agents through Northflank workflows.

With BYOC, workload execution and workload data stay in your environment. Northflank hosts the control plane. The Northflank security details explain where control-plane metadata, logs, builds, images, DNS, and backups are handled.

Get started with Northflank self-serve, or book a demo to discuss AI-agent sandbox architecture, BYOC, Kubernetes, networking, security, compliance, or scale.

2. E2B

E2B fits applications that already have most of their production infrastructure and need a sandbox API for agent code execution.

  • Infrastructure targets: E2B BYOC supports dedicated AWS accounts, Google Cloud projects, and Azure subscriptions.
  • Isolation: Each E2B sandbox runs in a Firecracker microVM.
  • Data boundary: Sandbox traffic, template build sources, snapshots, and runtime logs stay in the customer VPC. The client connects directly to the sandbox environment for data traffic.
  • Control plane: E2B Cloud hosts the control plane and receives cluster-level metrics such as CPU and memory usage. For private connectivity, E2B documents internal load balancing with VPC peering, and Azure Private Link for access from an Azure virtual network.
  • Access model: BYOC is available through E2B’s Enterprise plan. E2B provisions and operates the cluster in your dedicated cloud environment.

Sandbox compute runs in the customer environment while E2B operates the hosted control plane.

Which customer-cloud AI-agent sandbox platform fits your requirements?

Choose based on what must run in your cloud and how much infrastructure you want the provider to operate.

  • Use Northflank Sandboxes if you want self-serve BYOC or need to use an eligible existing Kubernetes cluster. You can run APIs, workers, databases, and GPU workloads alongside your sandboxes.
  • Use E2B if you already have the rest of your application infrastructure and want a managed Firecracker sandbox API in AWS, Google Cloud, or Azure through an Enterprise plan.

The standard BYOC setups compared here use a vendor-hosted control plane. If your policy also requires the control plane to run in your environment, ask about a separate deployment option before choosing a provider.

Test the platform with a representative workflow. Create environments under burst load, terminate a compromised run, revoke its credentials, deny an unapproved destination, restore required state, and trace an action end to end. At high concurrency, model the scheduler, warm capacity, quotas, and failure domains described in this guide to running millions of concurrent AI sandboxes.

If an agent creates a service that must stay online, move the artifact through a controlled build and release path. See how to deploy an AI agent from sandbox to production for that lifecycle.

Frequently asked questions about AI-agent sandboxes in a customer’s own cloud

These answers clarify common deployment boundaries.

Is VPC peering the same as running sandboxes in my cloud?

No. Peering creates a private network path between environments, but it does not change who owns the sandbox compute. With Northflank BYOC, the sandbox workload runs on Kubernetes provisioned in your cloud account; peering or an overlay is a separate connectivity decision.

Does BYOC keep every sandbox-related data type in my account?

Not automatically. Trace sandbox files, templates, snapshots, logs, metrics, source code, images, backups, credentials, and control-plane metadata. For Northflank BYOC, workload runtime and workload data sit in your environment, while the Northflank security details explain the boundaries and options for other data categories.

Do agent sandboxes need microVM isolation?

It depends on the workload and threat model. A microVM gives the workload a separate guest kernel. gVisor uses a user-space kernel to limit direct interaction with the host kernel. When you run untrusted or agent-generated code, choose the isolation boundary alongside limits on privileges, network access, and credentials. On a Northflank BYOC cluster, make sure sandbox security is installed and the workload selects a supported microVM or gVisor runtime.

Is self-hosting cheaper than a managed sandbox platform?

It depends on utilization and operational cost. Include idle capacity, engineering, upgrades, security response, observability, and availability instead of comparing one vCPU rate. A managed BYOC model such as Northflank can keep execution in your account while reducing the Kubernetes and platform work your team operates directly.

Can an own-cloud sandbox access private company APIs safely?

Not on placement alone. Give each workload a narrow route, scoped identity, short-lived credentials, and API-level authorization. On Northflank BYOC, network policies can restrict sandbox traffic to approved workloads, projects, IP addresses or CIDRs, FQDNs, or hostnames, while the target API still authorizes each action.