Learning resourcesReviewed · E2B

Mount Archil storage in E2B sandboxes

This guide helps developers attach shared Archil storage to E2B sandboxes, but it leaves pricing and rules for simultaneous writes unspecified. It covers accessing S3, R2 or GCS object storage through a regular filesystem directory, with Python and JavaScript/TypeScript examples.

Researched 15 Nov 2026

In short.

This guide shows developers how to share Archil storage between E2B sandboxes, but it does not explain pricing or how conflicting writes are handled. Archil exposes object storage through a POSIX filesystem, allowing ordinary file operations, and is described as using shared SSD caching. The guide covers CLI installation, disk-scoped authorization, mounting, ownership, concurrent mounts and clean unmounting. Its performance comparison with s3fs and gcsfuse has no supporting measurements on the page.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected page at [https://docs.e2b.dev/storage/archil.md], including its documentation-index notice, examples and sharing guidance. The linked index, installer, Archil website, console and concept pages are excluded. No commands or examples were executed. Actual mounting, filesystem behavior, synchronization, concurrent access, performance and billing remain untested.

The overview

Identity

Archil is an elastic filesystem that synchronizes with object storage such as S3, R2 and GCS. This resource is E2B's integration guide for mounting an Archil disk inside a sandbox, rather than a complete reference for either service. Its original address is [https://docs.e2b.dev/storage/archil.md].

Assessment

The guide provides concrete steps for developers who already have, or can provision, an Archil disk and an E2B template. It is useful for understanding the installation and mount lifecycle. It does not provide enough information to establish expected performance, total cost or reliable coordination between agents that modify the same files.

Users

The main audience is developers running tools, scripts or AI agents in E2B sandboxes who need access to shared files backed by object storage. Parallel agents sharing state are an explicitly named use case. Beginners get examples in two languages, but configuring the backing bucket and provisioning an Archil disk are not explained.

Capabilities

The documented integration exposes an Archil disk as a regular POSIX directory that sandbox programs can read and write. The page describes shared SSD caching for both reads and writes, synchronization with S3, R2 and GCS, and storage that expands with usage. Multiple sandboxes can mount the same disk concurrently using the --shared option. Capacity limits and measured performance are not supplied.

Using it

Requirements

The examples require an E2B template with the Archil CLI installed, an Archil disk name or ID, the disk's region and a disk-scoped mount token obtained from the Archil console. They run directory creation, mounting and ownership changes as root. The page identifies libfuse2 as an Archil dependency and says it is already installed in E2B's base image. CLI and SDK versions are unspecified.

Mechanism

Programs access a mounted directory while Archil handles the connection to backing object storage. Shared SSD caching sits in front of the bucket to accelerate access, according to the page. This gives file-oriented programs a filesystem interface instead of requiring direct object-storage operations. Concurrent mounts use a checkout-based model, but its rules are described only in a linked page and are unknown within this scope.

Setup

The documented template build installs the Archil CLI by downloading and running the installer from [https://archil.com/install]. At runtime, the examples create /home/user/archil, then run archil mount with a disk identifier and region while supplying the token through ARCHIL_MOUNT_TOKEN. They then assign the directory to user:user.

For simultaneous mounts, the page directs developers to add --shared to the mount command. Before terminating a sandbox, it recommends running archil unmount on the directory to release filesystem resources cleanly. The guide provides no recovery procedure for a failed mount or unmount.

Example

An illustrative application is a group of E2B agents exchanging intermediate files through the same Archil disk. Each sandbox could mount that disk at /home/user/archil with --shared, allowing its scripts to use ordinary file reads and writes. This follows from the documented shared-directory capability; the page does not demonstrate coordination, conflict resolution or when one agent's writes become visible to another.

Assessment & evidence

Limitations

The guide does not explain when writes reach object storage, how conflicting writes are handled or what happens to pending changes after abrupt sandbox termination. It recommends clean unmounting without establishing failure-recovery or durability guarantees. Its POSIX description does not detail filesystem compatibility edge cases, and it supplies no throughput, latency or scaling measurements.

Reasoning

The practical appeal is that existing file-oriented tools can use a familiar directory while multiple sandboxes access the same backing disk. That makes the approach relevant to agent workflows built around files. This is an inference from the documented interface, not evidence of simpler implementation or faster execution for a particular workload. Workloads with simultaneous edits need additional information about the checkout model before their suitability can be established.

Alternatives

The page names s3fs and gcsfuse as other ways to mount object storage and positions Archil as offering higher performance with its default configuration. No benchmark workloads, configurations or results substantiate that comparison here. The evidence does not establish which option would be faster, cheaper or better suited to a specific application.

Evidence

The source is the complete E2B documentation page titled Archil at [https://docs.e2b.dev/storage/archil.md]. It supplies Python and JavaScript/TypeScript examples for installation, mounting and shutdown, plus a short explanation of shared mounts. Performance and scaling statements are documentation claims without accompanying measurements. Linked concept pages provide no additional evidence within the selected scope.

Access & freshness

Costs

The page describes usage-based charging but provides no prices, billing units, minimum charges or free-tier details. It also does not explain any separate E2B or underlying object-storage costs. The cost of running this integration, including shared caching and storage traffic, is unknown from the supplied evidence.

Rights

The selected page states no license for its documentation or example code and includes no service terms or data-use policy. Permission to redistribute the captured text or snippets is therefore not established here. Contractual terms for using Archil and E2B are also unknown from this page.

Freshness

The supplied page was captured on 15 November 2026 at 04:59:01 UTC. That timestamp establishes the snapshot date, not a publication or release date. The page gives no last-updated date, Archil CLI version or E2B SDK version, so compatibility with particular releases and subsequent changes are unknown.

Actions

Before adopting the integration, confirm the applicable CLI and SDK versions, disk and bucket provisioning requirements, and usage rates. For parallel agents, consult the linked shared-disk documentation at [https://docs.archil.com/concepts/shared-disks] to understand checkout and simultaneous-write rules. Establish write visibility, persistence after shutdown and behavior during failures for the intended workload; these remain untested here.

Evidence for this report

selected-page.txtselected · checked 2026-11-15