Skip to main content
Bucket mounts use FUSE inside the guest. Run these on a FUSE-capable runtime lane, and build or select a template that installs the mount tool you need, such as s3fs for S3/R2 or gcsfuse for Google Cloud Storage.
This guide requires the FUSE-enabled kernel lane. See Choose a per-template kernel for the current private-beta kernel selection status.

S3 or R2

For a custom template, install the tool explicitly:

Google Cloud Storage

For a custom template, follow the Google Cloud Storage FUSE package setup before running apt-get install gcsfuse.

Manual mount

Do not bake long-lived cloud credentials into templates. Pass credentials at machine create time or write short-lived credentials into the machine after it starts. Concept: Create. API reference: createMachine, execCommand, and buildTemplate.