Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

Cheap Cloud Storage + JuiceFS = A 1PB Local Drive

Better Stack 2 min read

Cloud object storage like AWS S3 is cheap and scalable, but it's not great for applications that need a traditional file system. Enter JuiceFS: an open-source POSIX file system that layers on top of S3 (or any object storage) and uses a local NVMe cache to deliver near-local speeds.

In this walkthrough, we show how to set up JuiceFS with Docker to combine a low-cost S3 bucket with a Redis metadata store and a local SSD cache. The result is a virtual drive that looks and feels like a local disk, but can scale to petabytes.

What is JuiceFS? JuiceFS separates data and metadata. Data is stored in object storage, while metadata lives in a DB like Redis. A local caching layer keeps frequently accessed data on fast NVMe drives, so reads and writes are fast.

Step-by-Step Setup:

  1. Spin up a Redis instance via Docker.
  2. Format the JuiceFS volume using the juicefs format command, pointing it to your S3 bucket and Redis instance.
  3. Mount the volume with juicefs mount, specifying a local cache directory on an NVMe drive.

Once mounted, you can use the drive like any local folder: copy files, run databases, or even host AI models. Because the cache keeps hot data local, latency is low for repeated access.

Use Cases:

  • Data lakes and analytics pipelines.
  • Running AI inference on large datasets without local storage.
  • Replacing on-prem NAS with cloud-scalable storage.

JuiceFS makes cheap cloud storage feel like a fast local drive, all with open-source software.

React