git. The whole path below is verified end-to-end against production.
CloudFS is built on JuiceFS Community Edition (see How CloudFS Works for the architecture). There is no server process to run: the JuiceFS client on your host talks directly to a per-filesystem metadata database and to Telnyx Cloud Storage. That means you hold two credentials — the meta_token (returned on create) and your TELNYX_API_KEY — and the client does the rest.
1. Create a Filesystem
POST /v2/storage/cloudfs. The Idempotency-Key header is required (a request without it is rejected with 400), and so is region — there is no default. Allowed regions are us-central-1, us-east-1, and us-west-1.
Idempotency-Key returns the same filesystem instead of creating a second one. A 201 response looks like this:
meta_url— the full connection string, token included. This is the metadata endpoint; the host is alwaysus-east-1.telnyxcloudfs.comregardless of the filesystem’s region.id— the filesystem UUID, for later API calls (detail, rename, rotate).
2. Mount It with JuiceFS
CloudFS pre-formats the volume during provisioning — the bucket already contains the JuiceFS volume metadata. Mount inside a Linux container with FUSE — a portable path that runs the same anywhere and needs no FUSE install on the host. (You can also mount natively on any Linux or macOS host that has FUSE/macFUSE installed.) The data lane authenticates to Telnyx Cloud Storage over S3: yourTELNYX_API_KEY is the access key, and the secret key can be any non-empty placeholder (Telnyx Storage ignores the SigV4 signature, but JuiceFS’s AWS SDK rejects an empty secret). See Cloud Storage authentication for why the secret is ignored.
- Docker
/tmp/juicefs.log for progress. Once mounted, df -h /mnt/agentfs shows the volume.
3. Smoke-Test Over POSIX
The mount is a normal directory. Write a file, read it back, and initialize a git repo — all standard POSIX, no CloudFS-specific calls.chunks/… in the filesystem’s bucket, and persists across unmount and remount — remount with the same meta_url and your files are still there.
Next Steps
- How CloudFS Works — the metadata and data lanes, the two credentials, and the on-disk layout
- Mounting — the mount recipe in depth, FUSE requirements, and remount
- API Reference — the full endpoint surface, including rotate and delete
- Overview — what CloudFS is and when to use it