Back to articles

What is S3 Files?

In April 2026, AWS announced the release of S3 Files, a way to interact with S3 as if it were a file system. AWS S3 which is an object storage solution before S3 Files could only be interacted with…

8 min read

In April 2026, AWS announced the release of S3 Files, a way to interact with S3 as if it were a file system. AWS S3 which is an object storage solution before S3 Files could only be interacted with through S3 APIs or the AWS SDK. It also limited the capabilities of AWS S3 compared to a file system because many POSIX semantics like locking, directory traversal, append writes, and POSIX permissions weren't natively supported.

That all changed with S3 files, where AWS EFS Amazon’s elastic file storage solution is used as a cache for S3 letting you get the costs of S3 and the speed of EFS by paying a slight premium with data being stored in multiple spots. The cost premium comes with lower latencies and file system semantics which is a trade off a lot of business are willing to make. In this article we will go over AWS S3’s new feature, what it does, and when you should use it.

How does S3 Files Work?

S3 Files gives you high-performance file system access to your object storage data. In practice, that “high-performance file system” is AWS EFS. When you query data from S3 using S3 Files, it automatically decides whether to serve the data from S3, optimizing for throughput, or to cache it and serve it from EFS, optimizing for latency, a classic tiered storage pattern.

The rule is simple. Files smaller than an import threshold (128 KiB by default, and configurable) are copied onto the file system when you first access their directory. Larger files only have their metadata imported, and their data is read directly from S3. Reads of 1 MiB or larger are always streamed straight from S3, even when the data is also on the file system. You’re charged based on which layer serves you the data: a read streamed from S3 costs an S3 GET request plus a small S3 Files metadata read, with no S3 Files file-read charge.

Caching

S3 Files caches files in the EFS “high-performance file system” when accessed. From there it is stored in the cache for a configurable amount between 1-365 days, the default being 30. When the data is unused for the set duration, cache eviction removes it at no cost. Furthermore, for byte range reads only the selected bytes are transferred which reduces costs.

When data is not in the cache it will have latency of S3 being in the double digit milliseconds, if the data is in EFS then it should have the ~1ms latency.

File Syncing

If your data is in EFS and S3, how do they stay in sync? Behind the scenes, once a file has gone 60 seconds without a write, S3 Files copies its changes to S3. That means if you write to one file 50 times in a minute, you will only incur one S3 PUT cost for it, because S3 Files coalesces those into a single write via write batching. However the same cost occurs if you only write to it once within 60 seconds.

For writes that go directly to S3 and bypass S3 Files, S3 Files picks them up through S3 event notifications and reflects them in the file system. However if you want your data to be consistent, keeping your reads and writes within S3 Files is your best option.

Cost

So what does S3 Files actually cost? More than plain S3. You're paying for two things on top of your existing S3 bill: storage for whatever's sitting in the high-performance file system, and data access charges every time you read or write to it. Background sync isn't free either, pulling data into the cache counts as a write, pushing changes back to S3 counts as a read.

The good news is that the system is designed so you only pay for what's actually active. Large files never touch the cache, evicted files stop costing you anything, and reads that bypass the cache only incur standard S3 GET charges plus a small metadata read. The per-file write batching helps too, though only when you're updating the same file repeatedly, if you spread your writes across many files and you're back to paying per PUT.

S3 Files is cheapest when your hot working set is small and your writes cluster on a few files. It gets expensive when you have a large set of small, frequently-accessed files or writes scattered across many files at once.

Use Case

So when should I use S3 Files instead of just S3 or EFS? There are a lot of use cases that would benefit a lot with it.

Lift-and-Shift

Let’s say you want to move your on-prem filesystem to the cloud, its not a simple operation. Before S3 Files, one of your simplest options would be to migrate your file system to EFS and then access the data from there. However, at $0.30 per GB per month this can easily get quite expensive. S3 is a magnitude cheaper at about $.023 per GB per month but does not have file system semantics.

Your options here were to migrate to the AWS SDK and use S3, try out an open source FUSE driver like s3fs which has a bunch of gaps that make it unreliable in production settings, or stomach your EFS bill. Now with S3 Files, you can use S3 as your main storage with file system syntax.

AI Agent State and Memory

AI agents need somewhere to persist memory across runs and share state with other agents. The natural interface for this is a file system: agents can browse directories, read files, and write outputs the same way a human developer would. But you also want that state to be durable and easy to inspect outside the agent, which is what object storage is good at.

S3 Files lets agents work against a familiar file system while their memory lives in S3, where you can version it, back it up, share it across regions, or query it with other tools. When the agent restarts, the file system is still there.

Limitations

S3 Files smooths over a lot of the friction between object storage and file system semantics, but the seams still show in a few places.

Directory renames are a big one. Renaming a directory is instant on the file system, but S3 has no native rename since it still is object storage, every object underneath that prefix gets copied to a new key and the original gets deleted. Rename a directory with a million objects and you're looking at a million copy-and-delete operations syncing to S3 in the background, plus the request charges that come with them. AWS will outright refuse to create a file system scoped to a prefix where a rename would take longer than four hours (~12 million objects) unless you explicitly opt in.

First access to a new directory is slow. S3 Files needs to import metadata for everything in that prefix before it can serve you a listing, and that runs at around 2,400 objects per second. A directory with a few hundred thousand objects will noticeably stall on that first ls. Subsequent accesses are fast.

Conflicts go to S3. If a file gets modified through the file system and directly in S3 before the next sync completes, S3 wins, which is the expected behavior under eventual consistency. Your file system version doesn't disappear, it moves to a lost and found directory, but it's no longer the live copy. If you care about consistency, keep your reads and writes inside S3 Files.

There's no manual sync. AWS doesn't document a way to force a flush to S3 on demand. If a downstream job needs to see your writes, you either wait out the 60-second window or trigger it via S3 event notifications once the sync lands.

Finally, the setup has hard requirements. Your bucket has to be general purpose with versioning enabled, encryption has to be SSE-S3 or SSE-KMS, and your compute has to live in the same VPC as the NFS mount targets. Nothing crazy but worth knowing before you start.

Final Thoughts

S3 Files is a real improvement to the S3 experience. For teams that just want a file system on top of object storage without rewriting their applications, it does the job.

But the rough edges show up fast at scale. Directory renames get expensive. Sync waits for 60 seconds without writes, with no documented way to force it. Cost stacks up quickly when your hot working set is large or your writes spread across many files. And cache misses still cost you double-digit milliseconds of latency, which isn't great for AI or analytics workloads that need consistent performance.

There's also a hard throughput ceiling worth knowing about. AWS documents a maximum read throughput of 3 GiB/s per client, regardless of instance size. S3 Files is built on NFS, and each mount sends its requests, both metadata and data, to a single mount target. That's not enough for a lot of use cases.

If large scale is where you're headed, it's worth looking at Archil. It's a cloud file system built for AI agents, with sub-millisecond latency on cached data, reads often up to 30x faster than reading directly from S3, POSIX support including atomic renames and locking, and you only pay for the data you're actively using. Worth a look at archil.com.

Hunter Leath

Founder & CEO