
← AWS Bites22 mai · 34 min
154. S3 Files
<p> We take a deep dive into <strong>Amazon S3 Files</strong>, AWS's exciting new managed file system backed by S3!</p><p> We kick things off by exploring why S3 isn't a traditional file system, covering everything from the lack of true directories and atomic renames to immutable objects and POSIX access control differences. We then walk through the existing solutions people have used to bridge that gap, like S3FS FUSE, MountPoint for S3, FSx for Lustre, and Storage Gateway.</p><p> From there, we get into the heart of the episode: how S3 Files works, how to set it up, and how it uses EFS under the hood as a caching layer. We share our own real-world benchmarking results comparing S3 Files against various EFS configurations across Lambda and Fargate, and we discuss a real customer project where we put S3 Files to the test.</p><p> We also cover the important caveats like eventual consistency, the 60-second write-back delay, the lack of cross-account bucket support, and the cost model so you can make an informed decision.</p><p>Resources mentioned</p><ul><li><a href="https://awsbites.com/124">Episode 124: S3 Performance</a></li><li><a href="https://awsbites.com/95">Episode 95: Mounting S3 as a Filesystem</a></li><li><a href="https://aws.amazon.com/s3/faqs/">Amazon S3 FAQs: S3 Files</a></li><li><a href="https://github.com/fourTheorem/s3-files-demo">fourTheorem S3 Files demo code on GitHub</a></li><li><a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-synchronization.html">Amazon documentation: Understanding how synchronization works</a></li></ul><p>Sponsor</p><p> Thanks to <strong>fourTheorem</strong> for powering AWS Bites. We help teams build cloud systems that are simple, scalable, and cost effective. Visit <a href="https://fourtheorem.com">fourtheorem.com</a>.</p><p>Chapters</p><ul><li><strong>00:00</strong> Introduction: Why S3 is amazing but not a file system, and what S3 Files promises to solve</li><li><strong>01:47</strong> Why S3 is not a file system: no true directories, immutable objects, no atomic renames, expensive listings, and POSIX differences</li><li><strong>05:23</strong> Existing solutions for mounting S3 as a file system: S3FS FUSE, Python fsspec, Hadoop S3A, MountPoint, FSx for Lustre, File Cache, and Storage Gateway</li><li><strong>07:16</strong> How S3 Files works: NFS-based access, EFS caching layer, streaming from S3, and supported compute services like EC2, ECS, EKS, and Lambda</li><li><strong>09:49</stron