The S3 sandbox type can be used to access Amazon S3 buckets. The S3 sandbox is presented to the user as any other sandbox would, and thus is transparent.

Configuration Options

Type of the sandbox. For S3 type, set to S3.

Prefix where user should be sandboxed.

If path is not specified, bucket root is assumed. This is equivalent to specifying /.

Access Key ID to use when accessing the bucket.
Secret Key to use when accessing the bucket.
Session token used with temporary credentials.
Bucket name to access. The bucket must already exist.

Region the bucket is in. Defaults to us-east-1.


The specified region must match the bucket’s region. If not, the endpointOverride parameter must be used to point to the correct endpoint.

Scheme to use when accessing the endpoint. Must be one of https (default) or http. This is useful when specifying endpointOverride.
Endpoint to use when accessing the bucket.
Scheme to use when using a proxy server. Must be one of https or http (default). This is useful when specifying proxyHost.
Hostname of the proxy server.
Port for the proxy server.
Username to authenticate against the proxy server.
Password to authenticate against the proxy server.
Control if SSL connections should be verified. Use with caution.
Path to directory containing CA certificates.
Path to the file containing CA certificates.


JetStream uses S3 version 2 API, including multipart uploads. When accessing third party endpoints, please ensure they are compatible with these requirements.


In some cases, when transfers fail, JetStream can leave incomplete multipart uploads in the S3 bucket. By default, these uploads are not visible to users, and can take up space in the bucket. It is recommended that a bucket lifecycle rule is created for incomplete multipart uploads.

Memory Requirements

When storing data to S3 buckets, JetStream Server needs to do additional file caching. The size of file cache affects how many concurrent transfers can be stored in S3 at a time, as do the quality and conditions of the connection between the JetStream server and the S3 endpoint. The cache is not pre-allocated and will be allocated dynamically as necessary. Each JetStream transfer will reserve a small portion of the file cache for upload to or download from the S3 storage.

Size of the file cache can be adjusted using --max-file-cache-size option, and the per-transfer limits can be specified using the --max-file-cache-upload-size and --max-file-cache-download-size options.


  • Files uploaded to S3 must be under one (1) Terabyte in size.
  • Objects named . and .. are ignored.
  • overwriteMode in createTransfer() is ignored, and OVERWRITE_IN_PLACE_ALWAYS is assumed.
  • Uploads to S3 do not support checkpoints. Interrupted transfers may restart from beginning.


To sandbox all users into a bucket named sandboxBucket, you could use the following sandboxing configuration:

>>> api.server.setSandboxMapping('', {
    '': {
        'type': S3',
        'bucketName': 'sandboxBucket',
        'path': '/',
        'region': 'us-west-2',
        'accessKeyId': 'SECRETKEYID',
        'secretKey': 'secretkey'