Get Started with TiDB Cloud Filesystem via Console
TiDB Cloud Filesystem is a persistent, shared cloud file system for applications, automation, and AI agents. Files remain available independently of the machine or process that creates them, so you can reuse a workspace across sessions and environments.
This quick start guide walks you through how to create a file system via the TiDB Cloud console, mount it on a macOS or Linux computer, write a test file, and view its metadata in the console.
Step 1. Create a file system
If you do not have a TiDB Cloud account, sign up for one.
Log in to the TiDB Cloud console with your TiDB Cloud account.
In the left navigation pane, select your organization and click File Systems.
In the upper-right corner, click Create File System.
On the Create File System page, enter a file system name, and select a cloud provider and region. Review the usage limits in the summary.
Click Create. When the Your File System is Ready! dialog appears, keep the dialog open for the next step.
Step 2. Mount the file system
On macOS or Linux, follow the steps in the Your File System is Ready! dialog to install TiDB Cloud CLI and mount the file system. On Windows, follow Quick Start via CLI to work with files without a mount.
Install the TiDB Cloud CLI
ti.curl -fsSL https://github.com/tidbcloud/ti-cli/releases/latest/download/install.sh | shCopy and run the command under Mount Your File System in the same shell. The command adds
titoPATH, setsTI_FS_TOKEN, creates the~/tidbcloudfsdirectory, and mounts the file system in that directory.Copy and run the command under Start Using It to list the mounted directory.
Click Done to open the file system overview.
You can click Connect on the overview page to reopen the connection guidance, but you cannot retrieve the default owner token later.
Step 3. Write and view a file
After mounting the file system, use the mounted directory to write and read a test file.
Write a file in the mounted directory:
echo 'Hello from TiDB Cloud Filesystem' > ~/tidbcloudfs/hello.txt
cat ~/tidbcloudfs/hello.txt
In the left navigation pane of your file system, click Files. The root directory lists hello.txt. You can search for the file or click its name to view its metadata. The console displays file information, but reading file contents and changing files require the TiDB Cloud CLI ti or a mount.
(Optional) Step 4. Unmount the file system
If you do not need to access the file system from the mounted directory, you can unmount it:
ti fs unmount-file-system --mount-path ~/tidbcloudfs
On Linux, FUSE can buffer writes locally until a successful unmount. If unmounting fails, follow Finish safely before leaving the machine or removing its local cache.
What's next
- Manage File Systems to inspect, rename, or delete a file system.
- Manage File System Tokens to create tokens with limited access.
- Quick Start via CLI for a CLI-only creation workflow.