Choosing a Managed File System
This lesson explains the managed file systems AWS offers for applications that share files or expect NFS or SMB, and how protocol and operating system decide first, then features and performance.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish EFS and the FSx file systems.
- Choose a file system from protocol and features.
- Describe the cost controls for file system storage.
The file systems
The managed file systems differ mainly in protocol. Amazon EFS provides NFS for Linux. It grows and shrinks automatically, runs as Regional (multi-AZ) or One Zone, and offers Elastic throughput, lifecycle management to Infrequent Access and Archive, and cross-Region replication. FSx for Windows File Server provides SMB shares integrated with Active Directory, with DFS namespaces, shadow copies and Multi-AZ deployment.
FSx for NetApp ONTAP serves NFS, SMB and iSCSI from one system, with snapshots, cloning and SnapMirror replication from on-premises NetApp, which makes NetApp migrations straightforward. FSx for OpenZFS provides NFS with ZFS features and very low latency. FSx for Lustre is a parallel file system for HPC and ML, linked to S3. The following table summarises the file systems.
| Service | Protocol and fit |
|---|---|
| Amazon EFS | NFS for Linux; elastic size; Regional (multi-AZ) or One Zone; Elastic throughput; lifecycle to Infrequent Access and Archive; cross-Region replication |
| FSx for Windows File Server | SMB with Active Directory integration, DFS namespaces, shadow copies; Multi-AZ deployment |
| FSx for NetApp ONTAP | NFS, SMB and iSCSI from one system; snapshots, cloning, SnapMirror replication from on-premises NetApp |
| FSx for OpenZFS | NFS with ZFS features; very low latency |
| FSx for Lustre | Parallel file system for HPC and ML, linked to S3 |
Deciding factors
The protocol decides first. Linux clients using NFS suit EFS, while Windows clients using SMB with NTFS permissions and Active Directory need FSx for Windows File Server, or FSx for NetApp ONTAP, which serves both. Existing technology decides next: NetApp estates migrate most easily to FSx for NetApp ONTAP with SnapMirror, and ZFS users to FSx for OpenZFS.
Availability requirements choose the deployment: EFS Regional and FSx Multi-AZ deployments survive the loss of an Availability Zone, while single-AZ options cost less. Performance completes the choice: Lustre for parallel throughput, OpenZFS and ONTAP for low latency, and EFS for elastic, general-purpose sharing.
Which file system?
Cost controls
File systems tend to accumulate data that is rarely read, and each offers a way to store it more cheaply. EFS lifecycle management moves files not accessed for a set period to the Infrequent Access and Archive storage classes, and back to Standard when they are read. FSx for NetApp ONTAP tiers cold data automatically to a lower-cost capacity pool, and its deduplication and compression reduce the amount stored. FSx for Windows File Server supports data deduplication and offers HDD storage for general-purpose shares that do not need SSD performance.
Shares for a migrating estate
A company has a Linux web farm sharing uploaded images, departmental Windows shares with NTFS permissions managed in Active Directory, and NetApp filers replicated nightly with SnapMirror. The web farm moves to EFS Regional with Elastic throughput and lifecycle to Infrequent Access. The departmental shares move to FSx for Windows File Server Multi-AZ, joined to AWS Managed Microsoft AD with a trust to the on-premises forest. The NetApp data moves to FSx for NetApp ONTAP by SnapMirror, which also allows a quick cutover. EFS is not used for the Windows shares, because it does not support SMB.
Which FSx file system supports NFS, SMB and iSCSI with snapshots and SnapMirror replication?
Show answer
FSx for NetApp ONTAP.
Exam Tips
Remember for the exam
- Shared NFS for Linux is EFS; SMB with Active Directory is FSx for Windows File Server.
- Migrating NetApp with SnapMirror points to FSx for NetApp ONTAP.
- For HPC and ML file access linked to S3, use FSx for Lustre.
- For AZ resilience, choose EFS Regional or FSx Multi-AZ deployments.
- Use EFS lifecycle management to move cold files to cheaper storage classes.