Overview
Amazon FSx launches third-party high-performance file systems on AWS as a fully managed service. FSx is to file systems what RDS is to databases (RDS launches MySQL or PostgreSQL on AWS). Know these four:
- FSx for Windows File Server
- FSx for Lustre
- FSx for NetApp ONTAP
- FSx for OpenZFS
More may appear over time; the instructor only updates if significant file systems show up on the exam.
FSx for Windows File Server
A fully managed Windows File Server share drive.
- Protocol: SMB and Windows NTFS.
- Microsoft Active Directory integration for user security, plus ACLs and user quotas.
- Can be mounted on Linux EC2 instances too.
- With an existing on-premises Windows File Server, use Microsoft Distributed File System (DFS) to group file systems and join FSx to the on-premises server.
- Scales to tens of GB/s, millions of IOPS, hundreds of PB of data.
- Storage options:
- SSD: latency-sensitive workloads such as databases, media processing, data analytics.
- HDD: broad range of workloads, cheaper, e.g. home directories or CMS.
- Reachable from on premises over a private connection.
- Can be Multi-AZ for high availability.
- Data is backed up daily to S3.
FSx for Lustre
Lustre is a distributed file system for large-scale computing. The name derives from Linux + cluster.
Machine learning or High Performance Computing (HPC) -> FSx for Lustre.
- Use cases: video processing, financial modeling, electronic design automation.
- Scales to hundreds of GB/s, millions of IOPS, sub-millisecond latency.
- Storage options:
- SSD: low-latency, IOPS-intensive workloads, small and random file operations.
- HDD: throughput-intensive workloads, large and sequential file operations.
- SSD is more expensive than HDD.
- Seamless S3 integration: read S3 as a file system through FSx, and write computation output back to S3. The exam may ask about this.
- Usable from on-premises servers via VPN or Direct Connect.
Deployment options
| Option | Scratch file system | Persistent file system |
|---|---|---|
| Purpose | Temporary storage | Long-term storage |
| Replication | None, one copy of the data. Data is lost if the underlying server fails | Replicated within the same AZ (not across AZs). A failed server is replaced transparently within minutes |
| Performance | High burst: 6x the performance of persistent, e.g. 200 MB/s per TB of throughput | Baseline (scratch is 6x) |
| Use case | Short-term processing, optimize cost | Long-term processing, storage of sensitive data |
Both can have optional underlying S3 buckets as data repository. FSx for Lustre lives in a single AZ; compute instances in AZ1 and AZ2 connect to it. Scratch holds one copy of the data, persistent holds two copies.
FSx for Lustre has Persistent 2 as the current persistent generation, and an Intelligent-Tiering storage class (elastic, lowest cost, 2025-05). The course covers only scratch vs persistent and SSD/HDD. AWS source
FSx for Lustre: scratch vs persistent
FSx for NetApp ONTAP
A managed NetApp ONTAP file system on AWS.
- Protocols: NFS, SMB, iSCSI.
- Use it to move workloads already running on ONTAP or a NAS on premises into AWS.
- Broad compatibility: Linux, Windows, macOS, VMware Cloud on AWS, WorkSpaces, AppStream, EC2, ECS, EKS.
- Storage shrinks or grows automatically.
- Snapshots, replication, low cost, data compression, data de-duplication.
- Point-in-time instantaneous cloning: useful for testing new workloads, e.g. clone a file system into a staging one.
FSx for OpenZFS
A managed OpenZFS file system on AWS.
- Protocol: NFS only (multiple versions).
- Use it to move workloads already running on ZFS to AWS.
- Compatible with Linux, Mac, Windows and more.
- Scales to 1 million IOPS with under 0.5 ms latency.
- Snapshots, compression, low cost, but no data de-duplication.
- Point-in-time instantaneous cloning for testing new workloads.
Comparison
| Windows File Server | Lustre | NetApp ONTAP | OpenZFS | |
|---|---|---|---|---|
| Protocols | SMB, NTFS | Lustre client (Linux) | NFS, SMB, iSCSI | NFS only |
| Key use | Windows shares, Active Directory | ML, HPC | Move ONTAP/NAS workloads | Move ZFS workloads |
| De-duplication | not stated | not stated | Yes | No |
| Cloning | not stated | not stated | Yes | Yes |
The four FSx file systems
Hands-On Walkthrough
- Open the FSx console and click Create file system. Choose among the four options.
- FSx for Lustre: enter file system details, deployment and storage type, throughput, VPC placement and encryption. Know that Lustre has Persistent and Scratch options.
- FSx for Windows File Server: accessed via SMB. Options: Multi-AZ or Single-AZ (Single-AZ is good for dev), SSD or HDD, storage capacity (which determines the capacity options offered; the lecture audio is unclear on the next setting, likely throughput capacity), VPC, Windows authentication through AWS-managed Active Directory or a self-managed Microsoft Active Directory, encryption, auditing, backup and maintenance.
- FSx for NetApp ONTAP: compatible with Linux, Windows and macOS. Options: Multi-AZ or Single-AZ, storage type and capacity, storage efficiency (deduplication, compression, compaction). There is a quick create and a standard create.
- FSx for OpenZFS: ZFS file system compatible with Linux, Windows and macOS.
From an exam perspective, know the high-level differences between the four.
Questions & Answers
Q1: Which FSx for ML or HPC?
Answer:
FSx for Lustre. It integrates with S3 for input and output.
Q2: Which FSx for SMB, NTFS and Active Directory?
Answer:
FSx for Windows File Server. It can also be mounted on Linux EC2 instances.
Q3: Scratch or persistent Lustre?
Answer:
Scratch: temporary, no replication, 6x burst performance, no replication to save cost. Persistent: long-term, replicated within the same AZ, failed servers replaced within minutes.
Q4: Which FSx to move an ONTAP or NAS workload with NFS, SMB and iSCSI?
Answer:
FSx for NetApp ONTAP.
Q5: Which FSx supports only NFS?
Answer:
FSx for OpenZFS, up to 1 million IOPS, no de-duplication.
Check yourself
Quiz
Flashcards
Click the card (or focus it), then use ← → to move and Space to flip.