Reading30 min read·Module 3

Amazon FSx (Windows, Lustre, NetApp)

Key concepts

  • FSx for Windows (SMB)

  • FSx for Lustre (HPC)

  • FSx for NetApp ONTAP

  • FSx for OpenZFS

  • Integration with S3

Overview

Amazon FSx provides fully managed file systems built on popular open-source and commercial file systems. Each FSx variant is optimized for specific workloads, providing native compatibility with existing applications and tools. Understanding when to use each FSx type is critical for the SAA-C03 exam.

FSx Family Overview

Amazon FSx offers four managed file system types: FSx for Windows File Server (SMB/NTFS), FSx for Lustre (HPC), FSx for NetApp ONTAP (multi-protocol enterprise), and FSx for OpenZFS (Linux workloads). Each is purpose-built for specific use cases.


FSx for Windows File Server

FSx for Windows File Server provides fully managed, highly reliable Microsoft Windows file servers powered by Windows Server. It supports the SMB protocol and integrates with Microsoft Active Directory.

FSx for Windows File Server

Key Features:

  • Native Windows file system (NTFS)
  • SMB protocol support (SMB 2.0 to 3.1.1)
  • Active Directory integration (AWS Managed AD or self-managed)
  • DFS Namespaces and DFS Replication
  • Windows ACLs, quotas, and shadow copies
  • Multi-AZ deployment for high availability
  • SSD or HDD storage options
  • Data deduplication (up to 80% storage savings)
  • Supports Windows VSS for user-initiated snapshots

Deployment Options

FSx for Windows Deployment Options

FeatureSingle-AZMulti-AZ
Availability99.5% SLA99.99% SLA
Use CaseDev/test, secondary workloadsProduction, mission-critical
FailoverManual from backupAutomatic (< 30 seconds)
StorageSSD or HDDSSD or HDD
CostLower~2x Single-AZ

Performance Characteristics

FSx for Windows Storage Types

Storage TypeThroughputIOPSUse Case
SSDUp to 2 GB/sUp to 350,000Latency-sensitive workloads, databases, analytics
HDDUp to 1 GB/sBaseline + burstHome directories, CMS, file shares
Exam Tip

FSx for Windows is the ONLY AWS service that supports native SMB protocol with full Windows NTFS features. If a question mentions Windows file shares, Active Directory integration, or SMB - think FSx for Windows.

Integration with Active Directory

┌─────────────────────────────────────────────────────────────────┐
│                    Active Directory Integration                  │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│   ┌──────────────────┐         ┌──────────────────────────┐    │
│   │  AWS Managed AD  │    OR   │  Self-Managed AD         │    │
│   │  (Recommended)   │         │  (On-premises/EC2)       │    │
│   └────────┬─────────┘         └─────────────┬────────────┘    │
│            │                                  │                  │
│            └──────────────┬───────────────────┘                 │
│                           ▼                                      │
│              ┌──────────────────────────┐                       │
│              │  FSx for Windows         │                       │
│              │  File Server             │                       │
│              └──────────────────────────┘                       │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘

FSx for Lustre

FSx for Lustre provides a high-performance parallel file system designed for compute-intensive workloads. It's ideal for machine learning, high-performance computing (HPC), video processing, and financial modeling.

FSx for Lustre

Key Features:

  • Sub-millisecond latencies
  • Hundreds of GB/s throughput
  • Millions of IOPS
  • Native S3 integration (data repository)
  • POSIX-compliant file system
  • Scratch and Persistent deployment types
  • Supports SSD and HDD storage
  • Data compression (LZ4 algorithm)
  • Automatic file import/export with S3

Deployment Types

FSx for Lustre Deployment Types

FeatureScratchPersistent
Data DurabilityNot replicated (temporary storage)Replicated within AZ
Use CaseShort-term processing, cost optimizationLong-term storage, sensitive data
Performance200 MB/s per TiB50-200 MB/s per TiB (configurable)
AvailabilityNo HAAutomatic file server replacement
CostLowerHigher
Scratch vs Persistent

Scratch file systems are for temporary data and short-term processing—data is NOT replicated. Use Persistent for any data that needs durability. This is a common exam trap!

S3 Integration

FSx for Lustre can be linked to an S3 bucket as a data repository, enabling seamless access to S3 objects as files:

FSx for Lustre S3 Integration
Figure 1: FSx for Lustre with S3 Data Repository Integration

Data Repository Association Features:

  • Lazy Loading: Files are loaded from S3 on first access
  • Batch Import: Bulk import files from S3 to FSx
  • Automatic Export: Changes automatically written back to S3
  • S3 Event Notifications: Trigger import when S3 objects change
SHCreating FSx for Lustre with S3 Integration
```bash
aws fsx create-file-system \
    --file-system-type LUSTRE \
    --storage-capacity 1200 \
    --subnet-ids subnet-12345678 \
    --lustre-configuration '{
        "DeploymentType": "PERSISTENT_2",
        "DataRepositoryConfiguration": {
            "ImportPath": "s3://my-bucket/dataset",
            "ExportPath": "s3://my-bucket/output",
            "AutoImportPolicy": "NEW_CHANGED"
        },
        "PerUnitStorageThroughput": 125
    }'
```
Exam Tip

FSx for Lustre is the go-to answer for HPC, ML training, genomics, financial modeling, or any scenario requiring high throughput and low latency with S3 integration. Look for keywords like 'parallel processing', 'sub-millisecond', or 'compute-intensive'.


FSx for NetApp ONTAP

FSx for NetApp ONTAP provides fully managed shared storage built on NetApp's popular ONTAP file system. It supports NFS, SMB, and iSCSI protocols, making it ideal for multi-protocol environments.

FSx for NetApp ONTAP

Key Features:

  • Multi-protocol support (NFS, SMB, iSCSI)
  • NetApp SnapMirror for data replication
  • Storage efficiency features (deduplication, compression, compaction)
  • FlexClone for instant data cloning
  • Snapshots and data tiering
  • Multi-AZ deployment support
  • Supports both Linux and Windows clients simultaneously
  • Compatible with existing NetApp tools

Architecture Components

FSx for NetApp ONTAP Architecture

ComponentDescriptionKey Points
File SystemContainer for SVMsCan span Multi-AZ, up to 192 TiB
SVM (Storage Virtual Machine)Isolated storage tenantMultiple SVMs per file system, separate namespaces
VolumeLogical storage containerThin provisioned, snapshots, FlexClone
AggregatePool of storageAutomatically managed by AWS

Storage Efficiency

FSx for NetApp ONTAP offers industry-leading storage efficiency:

FeatureSavingsHow It Works
Deduplication20-70%Removes duplicate data blocks
Compression25-50%LZ4/ZSTD compression algorithms
Compaction10-30%Packs small blocks together
Combined65-90%Multiplicative effect
Multi-Protocol Advantage

FSx for NetApp ONTAP is the ONLY AWS file service that supports NFS, SMB, AND iSCSI simultaneously. Choose it when you need to serve both Windows and Linux clients from the same storage, or when migrating from on-premises NetApp systems.

Data Tiering

FSx for NetApp ONTAP automatically tiers infrequently accessed data to lower-cost capacity pool storage:

┌─────────────────────────────────────────────────────────────────┐
│                    FSx for NetApp ONTAP Tiering                  │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│   ┌────────────────────────────────────────────────────────┐    │
│   │              PRIMARY SSD STORAGE                        │    │
│   │   • Hot data (frequently accessed)                      │    │
│   │   • Low latency, high IOPS                             │    │
│   └────────────────────────┬───────────────────────────────┘    │
│                            │ Automatic                          │
│                            ▼ Tiering                            │
│   ┌────────────────────────────────────────────────────────┐    │
│   │              CAPACITY POOL STORAGE                      │    │
│   │   • Cold data (infrequently accessed)                   │    │
│   │   • Cost-optimized, higher latency                      │    │
│   └────────────────────────────────────────────────────────┘    │
│                                                                  │
│   Tiering Policies: None | Snapshot-only | Auto | All           │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘

FSx for OpenZFS

FSx for OpenZFS provides fully managed file storage built on the OpenZFS file system, optimized for Linux workloads requiring fast NFS performance.

FSx for OpenZFS

Key Features:

  • NFS protocol (v3, v4.0, v4.1, v4.2)
  • Up to 1 million IOPS
  • Sub-millisecond latencies
  • Instant point-in-time snapshots
  • Data cloning (zero storage overhead)
  • Data compression (Z-Standard, LZ4)
  • Supports up to 350,000 IOPS per volume
  • Single-AZ deployment

Performance Tiers

FSx for OpenZFS Performance

ThroughputIOPSLatencyUse Case
64 MB/s/TiBUp to 160,000< 0.5 msGeneral purpose workloads
128 MB/s/TiBUp to 350,000< 0.3 msPerformance-intensive workloads
256 MB/s/TiBUp to 400,000< 0.2 msMaximum performance workloads

Key Use Cases

  • Lift-and-shift Linux applications: Move existing ZFS-based workloads
  • DevOps and CI/CD: Fast cloning for development environments
  • Media and entertainment: Video editing and rendering
  • Web serving: High-performance content delivery
Exam Tip

FSx for OpenZFS is the best choice when the question mentions Linux workloads requiring NFS with instant snapshots and cloning capabilities. It's also the answer for migrating existing ZFS or OpenZFS workloads to AWS.


FSx Comparison

FSx Family Comparison
Figure 2: Amazon FSx Family - Feature Comparison and Use Cases

Amazon FSx Family Comparison

FeatureWindowsLustreNetApp ONTAPOpenZFS
ProtocolSMBLustre (POSIX)NFS, SMB, iSCSINFS
Primary Use CaseWindows file sharesHPC, ML trainingMulti-protocol enterpriseLinux workloads
AD IntegrationYes (required)NoOptionalNo
S3 IntegrationNoYes (data repository)SnapMirror to S3No
Multi-AZYesNoYesNo
Max Throughput2 GB/sHundreds GB/s4+ GB/s12.5 GB/s
Data DedupYesNoYesNo
SnapshotsVSSNoNetApp SnapshotsZFS Snapshots
Best ForWindows apps, ADHPC, compute-heavyEnterprise, hybridLinux NFS apps

Decision Flowchart

FSx Selection Flowchart
Figure 3: Choosing the Right FSx File System

Common Exam Scenarios

FSx Exam Traps to Avoid
  1. SMB requirement → FSx for Windows (not EFS which only supports NFS)
  2. HPC or ML with S3 integration → FSx for Lustre (not EFS)
  3. Multi-protocol (NFS + SMB) → FSx for NetApp ONTAP (only option)
  4. iSCSI requirement → FSx for NetApp ONTAP (only FSx that supports iSCSI)
  5. Scratch = temporary, not durable (Lustre scratch file systems are NOT replicated)
  6. Linux + NFS + fast cloning → FSx for OpenZFS (better than EFS for ZFS migrations)

Integration Patterns

FSx with Amazon EC2

All FSx file systems can be mounted on EC2 instances:

FSx TypeMount ProtocolSecurity
WindowsSMBSecurity Groups + AD
LustreLustre clientSecurity Groups
NetApp ONTAPNFS/SMB/iSCSISecurity Groups + Export Policies
OpenZFSNFSSecurity Groups

FSx with Amazon EKS/ECS

YAMLFSx for Lustre CSI Driver Example
```yaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: fsx-lustre-sc
provisioner: fsx.csi.aws.com
parameters:
  subnetId: subnet-12345678
  securityGroupIds: sg-12345678
  deploymentType: PERSISTENT_2
  perUnitStorageThroughput: "200"
  dataRepositoryPath: s3://my-bucket/data
```

FSx with AWS DataSync

Use AWS DataSync to migrate data to any FSx file system:

On-Premises Storage → DataSync Agent → AWS DataSync → FSx

Best Practices

FSx Best Practices
  1. Right-size storage: All FSx types allow increasing capacity (not decreasing)
  2. Use Multi-AZ for production: Where available (Windows, NetApp ONTAP)
  3. Enable backups: Automatic daily backups with configurable retention
  4. Monitor with CloudWatch: Track throughput, IOPS, and storage utilization
  5. Use security groups: Restrict access to required ports and CIDR ranges
  6. Consider data tiering: NetApp ONTAP auto-tiers cold data for cost savings


Knowledge Check

Q

A company needs to migrate their Windows-based file server that uses Active Directory for authentication and DFS Namespaces. Which AWS service should they use?

AAmazon EFS with AD Connector
BFSx for Windows File Server
CFSx for NetApp ONTAP
DAmazon S3 with Storage Gateway
Q

A research institution runs HPC workloads that require sub-millisecond latency and needs to process large datasets stored in S3. Which FSx option should they choose?

AFSx for Windows File Server
BFSx for OpenZFS
CFSx for Lustre with S3 data repository
DFSx for NetApp ONTAP
Q

A company has both Windows and Linux applications that need to access the same shared storage using their native protocols (SMB and NFS). They also need iSCSI for a legacy database. Which solution should they choose?

AFSx for Windows + FSx for OpenZFS
BFSx for NetApp ONTAP
CAmazon EFS
DFSx for Lustre
Q

Which FSx for Lustre deployment type should be used for temporary data processing where cost optimization is more important than data durability?

APersistent 1
BPersistent 2
CScratch
DStandard

Summary

Amazon FSx provides purpose-built managed file systems for different workloads:

FSx TypePrimary ProtocolKey DifferentiatorExam Keywords
WindowsSMBActive Directory, Windows NTFSWindows file shares, AD, SMB
LustreLustreHPC performance, S3 integrationHPC, ML training, sub-millisecond
NetApp ONTAPNFS/SMB/iSCSIMulti-protocol, enterprise featuresMulti-protocol, NetApp migration
OpenZFSNFSZFS features, instant cloningLinux NFS, ZFS migration

Understanding the unique capabilities and use cases for each FSx variant is essential for selecting the right storage solution on the exam.

Related services

FSxS3