Back to the blog Cloud

Setting Up Amazon FSx for NetApp ONTAP: A Step-by-Step Guide

In today's cloud-native world, managing data across diverse environments—Windows, Linux, and macOS—can be a challenge. Enter Amazon FSx for NetApp ONTAP, a fully managed service that brings the powerful data management capabilities of NetApp ONTAP to AWS. Whether you are migrating legacy workloads or building new high-performance applications, FSx for ONTAP provides the flexibility and reliability you need.

In this guide, we'll explore why you should use FSx for NetApp ONTAP and walk through the process of setting it up from scratch.


Why Use Amazon FSx for NetApp ONTAP?

Before we dive into the "how," let's look at the "why." FSx for ONTAP isn't just another file system; it's an enterprise-grade storage solution with several standout benefits:

1. Multiprotocol Access

One of the biggest advantages is the ability to access the same data simultaneously using NFS, SMB, and iSCSI. This means your Linux analytics engine and your Windows file shares can work off the same data source without complex migration or synchronization.

2. Advanced Storage Efficiency

ONTAP is famous for its efficiency. With built-in deduplication, compression, and compaction, you can significantly reduce the amount of physical storage required, directly lowering your AWS bill.

3. Instant Cloning and Snapshots

Need a copy of your production data for testing? FlexClone allows you to create near-instant, space-efficient clones of your volumes. Combined with frequent snapshots, your data is protected and easily recoverable.

4. Automated Tiering (FabricPool)

Not all data is accessed equally. FSx for ONTAP automatically moves "cold" data to a lower-cost capacity pool while keeping "hot" data on high-performance SSDs, optimizing both performance and cost.

5. Seamless AWS Integration

As a native AWS service, it integrates perfectly with your VPC, IAM, and AWS Secrets Manager. Recent integrations also allow you to access file data as if it were in Amazon S3, enabling easier AI/ML workflows with services like SageMaker.


Step-by-Step Setup Guide

Setting up your first file system is straightforward. We will focus on the Quick Create method for speed, but we'll touch upon customization for production environments.

Prerequisites

Before starting, ensure you have:

  • An active AWS Account.
  • A Virtual Private Cloud (VPC) with appropriate subnets.
  • A Security Group that allows traffic on the required ports (e.g., TCP 2049 for NFS, TCP 445 for SMB).

Step 1: Create the File System

  1. Log in to the AWS Management Console and navigate to the Amazon FSx service.
  2. Click Create file system and select Amazon FSx for NetApp ONTAP.
  3. Choose a creation method. Quick Create is recommended for getting started: it sets up a default Storage Virtual Machine (SVM) and one volume. Use Standard Create if you need a customized network configuration (like dual-stack IPv4/IPv6) or specific HA pair settings.
  4. Configure the basics. Give your file system a recognizable name, choose a deployment type (Multi-AZ for high availability across zones or Single-AZ for lower cost), specify the storage capacity (e.g., 1024 GiB of SSD), and set the throughput capacity for your desired performance level.
  5. Configure the network. Select your VPC and the endpoint IP address range.
  6. Enable storage efficiency. Ensure this is Enabled to take advantage of deduplication and compression.
  7. Review the configuration and click Create file system.

Step 2: Managing Storage Virtual Machines (SVMs)

A file system can host multiple SVMs. The "Quick Create" option provides a default SVM named fsx.

For Windows/macOS (SMB) access, you must join an SVM to an Active Directory (AD):

  1. Go to Storage virtual machines in the FSx console → Create storage virtual machine.
  2. Select your file system and provide a name.
  3. Under Microsoft Active Directory configuration, choose Join a Microsoft Active Directory.
  4. Use AWS Secrets Manager to securely provide your AD domain join credentials.
  5. Create the SVM.

Step 3: Creating Volumes

Once your SVM is ready, you need a volume to store your data:

  1. In the FSx console, navigate to VolumesCreate volume.
  2. Select your SVM.
  3. Define the Junction Path (e.g., /vol1). This is the path used to mount the volume.
  4. Set the storage capacity and click Create.

Step 4: Mounting the File System

Now it's time to connect your compute instances to the storage.

For Linux (NFS)

SSH into your Amazon Linux 2 instance, create a mount point, and mount the volume using the NFS DNS name (found in the SVM endpoints panel):

sudo mkdir /fsx-mount
sudo mount -t nfs -o nfsvers=4.1 svm-example.fsx.us-east-1.amazonaws.com:/vol1 /fsx-mount

For Windows (SMB)

  1. Open File Explorer.
  2. Right-click "This PC" → Map network drive.
  3. Enter the path using the SMB DNS name (e.g., \\svm-example.fsx.us-east-1.amazonaws.com\vol1).
  4. Provide your AD credentials when prompted.

Summary Checklist

StepActionKey Detail
1Create File SystemChoose Multi-AZ for production
2Configure SVMJoin to AD for SMB access
3Create VolumeSet a clear junction path (e.g. /vol1)
4MountUse DNS names from the console

Final Thoughts

Amazon FSx for NetApp ONTAP bridges the gap between traditional enterprise storage and cloud agility. By combining NetApp's legendary data management with AWS's infrastructure, you get a system that is not only performant but also incredibly efficient.

Give it a try today and experience the power of multiprotocol storage in the cloud!