Connect S3fs With Zata.ai

Zata.ai provides S3-compatible object storage that can be mounted as a local drive on your Linux system using s3fs-fuse.

Prerequisites

Before you start, ensure you have:

  • A Zata.ai account

  • Access Key and Secret Key (available in Zata Console → Access Keys)

  • Your Bucket Name

  • Your Zata.ai S3 Endpoint (e.g., https://idr01.zata.aiarrow-up-right)

  • A Linux server (Ubuntu/Debian/CentOS supported)

  • Root or sudo privileges

Install s3fs

Ubuntu/Debian

CentOS/RHEL

Create Credential File

Create a password file to store your access keys:

Replace ACCESS_KEY_ID and SECRET_ACCESS_KEY with your actual credentials.

Create Mount Directory

Mount the Zata.ai Bucket

Run the following command (replace placeholders):

Example

Verify Mount

Auto-mount on Boot

To automatically mount the bucket on system boot, edit /etc/fstab and add the following line:

Then test the configuration:

Conclusion

Your Zata.ai Object Storage is now mounted as a local drive. You can read and write files directly to /mnt/zata just like a local directory.

Example Use Cases

  • Backup local folders directly to Zata.ai

  • Mount in a Docker host for shared media files

  • Use as a network drive in hybrid cloud setups

Last updated