DEV Community

Cover image for Server-side copy between FSx for ONTAP S3 Access Points and S3 buckets: eight S3 storage classes and the copy options

Server-side copy between FSx for ONTAP S3 Access Points and S3 buckets: eight S3 storage classes and the copy options

Figure 1: Copy out and copy in with server-side copy. The top frame (copy out) copies a file from an FSx for ONTAP volume through S3 Access Points to a general purpose bucket; the bottom frame (copy in) copies it from the bucket to the volume with CopyObject, after a RestoreObject for two classes. The notes column lists the classes copied out to (all eight general purpose classes), the six classes copied in directly, and the two that need a restore first

This post records what I checked on real Amazon FSx for NetApp ONTAP (FSx for ONTAP from here on) file systems in the Tokyo Region: server-side copy (a copy that AWS services perform internally, so the data does not pass through the client that issues it) between S3 Access Points attached to FSx for ONTAP volumes (an S3 Access Point is an entry point that lets you read and write a volume's files through the S3 API) and Amazon S3 general purpose buckets. It is for two readers: you want to lower the storage cost of files that sit on a NAS for years, or you want to hand data from a bucket to a device that reads only NFS / SMB. After reading it, you know which combinations copy, the size limits, how each S3 storage class behaves in a round trip, what the copies cost, and how to choose between tiering and copying.

Research data, video footage, design data and audit logs share a trait: they must be kept for years and are rarely read. Left on the fast disks of a file share (NAS), they keep paying high storage prices while nobody opens them.

FSx for ONTAP volumes have a tiering policy that moves data that is not being read from SSD to the capacity pool (a lower-priced storage area that charges only for the data you use). Data that moves to the capacity pool costs less to store. In the Tokyo Region on Single-AZ, SSD costs $0.150 per GB-month (the price of keeping 1 GB for one month), while the capacity pool costs $0.0238 per GB-month, about the same as S3 Standard at $0.025 (Price List API, 2026-11-24). However, SSD is charged for what you provision, so the SSD charge falls only when you can reduce the provisioned SSD (see "How tiering works and how SSD is charged"). You size SSD for the data that is read often and leave the rest in the capacity pool. File paths, permissions and snapshots stay as they are, and users keep reading over NFS / SMB. In projects where I gave technical support, there were cases where the team kept archive data in the capacity pool and chose not to copy or migrate it.

Some cases still call for storage below the capacity pool price, or for bucket-side features such as S3 Lifecycle or S3 Object Lock. Amazon S3 has storage classes such as S3 Glacier Deep Archive ($0.002 per GB-month) that cost less to store in exchange for slower retrieval. As far as I know, there were two ways to move NAS files there until now. One is to write your own job that reads each file on a host such as an EC2 instance and uploads it again. The other is to use an external tool that moves files through a data broker (a transfer host, such as a virtual machine on AWS, that reads files and writes them to S3).

In November 2026, S3 Access Points for FSx for ONTAP gained server-side copy to and from Amazon S3 general purpose buckets. Server-side copy duplicates the data inside AWS services, so the data does not pass through the client that issues the copy.

The views in this post are my own and do not represent my employer. I used only my own test environment and public sources.

The update this post covers

An S3 Access Point for FSx for ONTAP is an S3 endpoint attached to a volume. It lets applications read and write the same files that NFS / SMB shows, through the S3 API (GetObject, PutObject and so on). Each access point has an alias, a string that you pass where you would pass a bucket name. From here on, "access point" means an S3 Access Point attached to an FSx for ONTAP volume, and "general purpose bucket" means an ordinary Amazon S3 bucket (directory buckets are not included).

CopyObject and UploadPartCopy now copy server-side between access points and general purpose buckets in the same Region. The data does not pass through the client that issues the copy. The announcement and the user guide list three combinations:

  • bucket to access point
  • access point to bucket
  • access point to another access point (including volumes on Amazon FSx for OpenZFS)

In this post, copying from a volume to a bucket is "copy out", and copying from a bucket to a volume is "copy in". Copy in covers restoring archived files, handing data in a bucket to a device, and an initial load for a migration. The background above leans toward copy out, but copy in has use cases of its own. The section "Copying from a bucket to a volume" covers them, together with how the two directions differ.

The announcement and the user guide also state the conditions. Copies work only within one Region. When the destination is an FSx for ONTAP volume, the only encryption you can specify is SSE-FSX (HeadObject returns aws:fsx for it), and the only storage class is FSX_ONTAP.

Key points

The checks were made on 2026-11-24 and 2026-11-25 (all dates and times are Japan time). The environment is an FSx for ONTAP first-generation file system in the Tokyo Region; the Environment table has the details and what I checked on each day. Unless stated otherwise, each duration is a single sample.

Conclusion and cost

  • To cut the storage cost of files nobody reads, first consider tiering the volume to the capacity pool. The Single-AZ capacity pool costs about the same as S3 Standard, and file paths and permissions stay unchanged. Server-side copy into S3 Glacier classes is for going below that price, or for bucket-side features. This is a judgment from the price list, not a measurement
  • Tiering moves data to the capacity pool only when conditions such as the SSD utilization are met (the conditions are in "How tiering works and how SSD is charged"). I did not measure tiering in this post
  • Moving data to the capacity pool does not lower the SSD charge by itself. Only second-generation and third-generation file systems let you reduce the provisioned SSD, which is what lowers the charge. A first-generation file system, like the one in this post's environment, can only increase the provisioned SSD, so moving data to the capacity pool does not lower its SSD charge (a statement in the user guide; details in "How tiering works and how SSD is charged")
  • When 10 TiB of data sits in the capacity pool (Tokyo Region, Single-AZ), moving it to S3 Glacier Deep Archive lowers the storage charge by $223.23 a month. The first month's saving covers the one-time copy charges ($6.50 for the S3 Glacier Deep Archive side of the copy and about $0.11 for the access point requests, for 100,000 files). These are unit price × quantity calculations, not bills

What worked

  • 8 MiB files copied between a bucket and an access point, and between access points on different file systems, arrived with matching content
  • From a volume to a bucket, copies into all eight general purpose storage classes succeeded (S3 Standard, S3 Standard-IA, S3 One Zone-IA, S3 Intelligent-Tiering, S3 Glacier Instant Retrieval, S3 Reduced Redundancy, S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive). Of these, the six that can be read immediately (all except S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive) copied straight back into the volume (for S3 Intelligent-Tiering, I checked an object in the tier that can be read immediately). Copying back from S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive needs a restore on the bucket first
  • From S3 Glacier Deep Archive, the 1 KiB, 8 MiB and 6 GiB objects restored with Standard retrieval copied back to the volume, and their SHA-256 matched the source. The 8 MiB object restoring with Bulk retrieval had not finished at 10:30 on 2026-11-25, so I have not copied it back. I will add the result when it finishes
  • Access points on FSx for OpenZFS volumes copied in the same combinations as FSx for ONTAP. I did not test the copy-back after a restore from S3 Glacier Deep Archive
  • S3 Batch Operations copy jobs accepted an access point both as the source and as the destination
  • A copy request accepted tags, user-defined metadata and a source version. The condition that copies only if the source object's ETag (an identifier value that S3 assigns to the object) matches (--copy-source-if-match) also worked

Constraints

  • The two main size limits: a single CopyObject copies a source object of up to 5 GiB, and an object written to a volume can be up to 50 GiB in total, multipart copies included. Objects read from a volume have no size limit
  • Files larger than 5 GiB are copied with a multipart copy (UploadPartCopy). aws s3 cp switches files larger than 5 GiB to this method automatically, and a 6 GiB file was copied that way
  • File owner, permissions and modification time did not carry over to the destination. Only the content is copied. When the file system user set on the destination access point (the setting that decides which UNIX user runs requests made through the access point on the volume) was root, the destination permissions went from the source's 640 to 644, so other users could read the file (I did not try users other than root)
  • An S3 Batch Operations copy job copies objects of up to 5 GB each (the unit as written in the documentation; I have not checked whether it is the same value as the 5 GiB above)
  • Copies to and from an S3 Express One Zone directory bucket failed in both directions

Bucket to volume (copy in)

  • Copy in has four use cases: restoring archived files to the volume, handing data in a bucket to devices or applications that can read only over NFS / SMB, an initial load for a migration, and copying many files at once (S3 Batch Operations). I checked restores before a copy, matching contents, sizes up to 6 GiB, and S3 Batch Operations. The section "Copying from a bucket to a volume" separates what I checked from what I did not
  • Copy in is bound by the limits on the volume side. An object written to the volume can be 50 GiB in total, the only storage class is FSX_ONTAP, and a multipart copy fails at the end when the volume lacks free space. With the current setup (the file system user is root), the copied file had owner 0:1 and permissions 644. I believe the owner comes from that setting, but I did not confirm it, and I did not try a user other than root

Choosing

  • If a service that the user guide lists as able to read an access point directly, such as Amazon Athena or Amazon Bedrock Knowledge Bases, only needs to read the data, no copy to a bucket is needed. I did not test reads from these services in this post
  • On-premises ONTAP can also select files and copy them to an S3 archive class with NetApp Copy and Sync (NetApp's file sync service). In that method the data passes through the data broker (a transfer host). With FSx for ONTAP server-side copy, you need no transfer host

Pick a reading order by goal. To read only about copying from a bucket to a volume, go to "Copying from a bucket to a volume". To decide whether to lower storage cost, read "Keeping data in the capacity pool or moving it to a bucket" and "A cost example". To learn which combinations copy and what the limits are, read from "Combinations that copied" through "Destinations and copy options". To try it yourself, go to "How to check this in your environment".

Who this update changes work for

The announcement says the update removes the need to download objects to a server and upload them again. The table below shows whose work changes, as I see it. The "Until now" column is my own list of the methods I knew before this feature; it is not based on a survey.

User who... Until now What changes
You want to move NAS files to a long-term storage class to pay less than the capacity pool Build an EC2 or AWS Lambda job that reads and re-uploads files, or bring in an external archiving tool Copy from the volume's access point to a bucket and choose the storage class. You still have to build and keep the list of moved files and their records yourself
You have data in a data lake bucket and need it on a device or business application that reads only NFS / SMB Run aws s3 sync on a host that mounts the volume, or create an AWS DataSync task Copy from the bucket to the volume without a mounting host
You want results produced on the volume to trigger S3 event notifications or S3 Lifecycle Read the files on a client and upload them to a bucket Copy from the access point to a bucket. The access point side has neither event notifications nor Lifecycle
You want to hand only selected files to another file system Mount both file systems and copy Copy between access points, same Region only

The user guide's compatibility table shows that the access point side has no event notifications and no S3 Lifecycle.

Environment

Item Value
Region ap-northeast-1 (Tokyo)
Source FSx for ONTAP first generation (deployment type SINGLE_AZ_1), ONTAP 9.19.1P4. S3 Access Points attached to a volume with UNIX security style (file permissions are decided by the UNIX owner and mode). The access point's file system user, the setting that decides which UNIX user runs requests made through the access point on the volume, was root
Destination S3 Access Points attached to a volume on another first-generation SINGLE_AZ_1 file system, and a general purpose bucket in the same Region
Operations AWS CLI (aws s3api copy-object, aws s3 cp), S3 Batch Operations
Comparison SHA-256 of the file read over NFS, HeadObject, stat
Throughput capacity 128 MBps. The source and the destination file system both have 128 MBps (both SINGLE_AZ_1). Throughput capacity is the performance value, in MBps, that you set on a file system
Checked on (2026-11-24) All copies, restores, copy-backs and SHA-256 comparisons except the items in the next row (2026-11-25), including the copy-back of the 8 MiB object restored with Standard retrieval
Checked on (2026-11-25) The copy-back to the volume and SHA-256 comparison of the 1 KiB and 6 GiB S3 Glacier Deep Archive objects restored with Standard retrieval; a check of the progress of the Bulk restore of the 8 MiB object (at 10:30); fetching the price list again; and a check of the statements in the NetApp documentation

All dates are Japan time. Unless stated otherwise, each duration is a single sample. The 6 GiB copies for S3 Standard-IA and S3 Reduced Redundancy were measured twice, and both values are shown.

What this post covers, what it does not, and what I did not test

Covered

  • What copies, the size limits, file attributes and S3 Batch Operations, as checked on real file systems
  • The round trip with each S3 storage class, destinations and copy options, and a cost example
  • How to decide between keeping data in the capacity pool and moving it to a bucket
  • How to decide between reading directly and copying, by use case
  • Use cases for copying in from a bucket to a volume (restoring, handing over, initial load, copying many files), and how copy out and copy in differ
  • Where copy fits in designs that keep data in S3 but need fast file access (HiL testing for autonomous driving development and others, explained in the section "Keeping data in S3 while reading it as files at speed")
  • How on-premises ONTAP practices for the same goals map to this

Not covered

  • Volume-level replication with SnapMirror (an ONTAP feature that replicates a volume to another place), FlexCache (a feature that keeps a read cache of a volume's data on a volume elsewhere) or FlexClone (a feature that creates a writable copy of a volume quickly). Server-side copy works per file and replaces none of them
  • Settings such as S3 Object Lock that make data undeletable. Once set, they cannot be undone during the retention period, so I will not try them in this post. If the destination bucket has a default retention period, copied objects may get it too (I have not checked this). Retention here is treated as a system design consideration, not a legal or regulatory judgment
  • Volumes with NTFS ACLs (environments with SMB users). The volumes here used the UNIX security style only
  • A speed comparison. Unless stated otherwise, durations are single samples, not performance measurements

Not tested

The following setups and conditions are out of scope, because I did not test them in this environment, so I report no results for them.

  • Copies across accounts, and copies from an access point on a FlexCache volume
  • The request-rate limit and the duration when copying many small files
  • How copies are recorded in AWS CloudTrail data events (if you need an audit record, check this before adopting copy)
  • The time until a file copied to the FlexCache origin volume (Origin) becomes readable from the read cache (Cache)
  • Copies on second-generation and Multi-AZ file systems
  • Throughput with parallel copies, and the duration at petabyte scale. I ran the copies one at a time. The file system's throughput capacity was 128 MBps, the only setting I used, and I did not measure how duration changes with other settings
  • A source bucket with S3 Object Lock enabled
  • Calling copy from AWS Lambda or AWS Step Functions

Combinations that copied

I checked with an 8 MiB file.

Copy Result
Bucket → access point Succeeded, content matched
Access point → bucket Succeeded, content matched
Within the same access point Succeeded, content matched
Access point on the source file system → access point on the destination file system (a different file system) Succeeded, content matched
Bucket → access point, with AES256 specified as the encryption InvalidArgument (The encryption method specified is not supported)
Bucket → access point, with STANDARD specified as the storage class InvalidStorageClass

When I called HeadObject on the destination access point, the objects placed on the volume had storage class FSX_ONTAP and encryption aws:fsx. When you copy to a volume, specify neither the encryption nor the storage class.

You can use an access point alias for both the source and the destination. When the source is an access point, write the alias and the key in --copy-source.

aws s3api copy-object \
  --bucket <destination bucket> \
  --key archive/project-a/result.bin \
  --copy-source <source access point alias>/project-a/result.bin
Enter fullscreen mode Exit fullscreen mode

The IAM permissions of the caller are s3:GetObject on the source and s3:PutObject on the destination (CopyObject API reference). When an access point is the source or the destination, both of the following must allow the request:

  • The access point policy attached to the access point allows the request
  • The file system user set on the access point has UNIX permissions on the volume that allow reading or writing that file

In what I checked, a copy overwrote an existing object with the same key at the destination without asking for confirmation.

Copy size limits: 5 GiB and 50 GiB

There are two main limits on copy size. One is 5 GiB for a single CopyObject; the other is 50 GiB for a whole object written to a volume. They are easy to confuse, so the table below lists them together with the related limits. This section covers the list of limits, how to copy by file size, and notes on tools, in that order.

The list of limits

The table lists the limits that apply to copy size.

Limit Value Where it applies When exceeded
Source size for a single CopyObject 5 GiB (5,368,709,120 bytes) Applies whether the source is a bucket or an access point InvalidRequest. The copy does not start
Size of one part in a multipart copy (UploadPartCopy) 5 MiB to 5 GiB When you copy a file larger than 5 GiB The part specification is rejected
Number of parts in one upload Up to 10,000 When you copy a file larger than 5 GiB A limit stated in the documentation. I did not check what happens when it is exceeded
Whole object written to a volume 50 GiB When the destination is an FSx for ONTAP volume, multipart copies included Fails at CompleteMultipartUpload, after all parts are sent
Whole object written to a bucket 48.8 TiB When the destination is a general purpose bucket -
Size read from a volume No limit When the source is an FSx for ONTAP volume -

5 GiB is the limit of a single CopyObject, and 50 GiB is the limit of an object that the volume can hold. UploadPartCopy has no 50 GiB limit of its own; the 50 GiB limit comes from the volume that receives the object. Both values are binary units (GiB).

The sources and the measurement records for the limits come in two kinds: AWS documentation, and records in GitHub repositories that I publish. Two of the records, the object size limit verification record and the client tool measurement record, come from separate verifications I ran myself. They are not reruns in this environment (ap-northeast-1, ONTAP 9.19.1P4).

The records come from four GitHub repositories that I publish, listed below. The repository name is in the parentheses of each link title that follows.

  • FSx for ONTAP Adoption Playbook (material for adoption decisions)
  • FSx for ONTAP S3 Access Points Serverless Patterns (serverless use of access points)
  • FSx for ONTAP S3 Access Points Client Access Patterns (client tool verification)
  • S3 Burst on ONTAP Files (a design that distributes data collected through the S3 API as files)

The sources are:

How to copy by file size

The table shows how to copy by file size.

File size How to copy
5 GiB or less A single CopyObject
More than 5 GiB, up to 50 GiB A multipart copy with UploadPartCopy. The AWS CLI commands aws s3 cp and aws s3 sync switch automatically from a single CopyObject to an UploadPartCopy copy
More than 50 GiB Server-side copy cannot copy it from a bucket to a volume. Write the file to the volume over NFS / SMB (AWS DataSync, for example). I did not try copying from a volume to a bucket

The next table shows the results with a 6 GiB file (one run each). The 129 seconds for "bucket → access point" differs by one second from the 130 seconds for S3 Standard (the same kind of operation) in the round-trip table later. They are separate runs, and I did not make them match.

Copy Result Duration
Access point → bucket, with a single CopyObject InvalidRequest (exceeds the source limit of 5,368,709,120 bytes) -
Access point → access point on another file system, with a single CopyObject InvalidRequest, the same as above -
Access point → bucket, with aws s3 cp Succeeded. It became 768 UploadPartCopy parts, and the content matched 24 seconds
Bucket → access point, with aws s3 cp Succeeded, content matched 129 seconds
Access point → access point on another file system, with aws s3 cp Succeeded, content matched 131 seconds

In the three successful copies in this table, copying 6 GiB to a bucket took 24 seconds, and copying it to a volume took 129 to 131 seconds (one run each; the file system's throughput capacity was 128 MBps). That is about 5 times longer, and I did not check the cause. The 6 GiB table in the round-trip section later shows the same pattern: copies to the volume took 130 to 135 seconds, plus one run of 223 seconds (one or two runs each).

Notes on tools

File attributes

I prepared a file with owner 1234:5678, permissions 640 and modification time 2020-01-02, and copied it to an access point on another file system, both directly and through a bucket.

Item Source Destination (direct) Destination (through a bucket)
Content (SHA-256) - Matched Matched
Owner (uid:gid) 1234:5678 0:1 0:1
Permissions 640 644 644
Modification time 2020-01-02 Time of the copy Time of the copy

The destination access point had UNIX root as its file system user. I think that setting caused the destination owner 0:1. I did not try other users. Because the permissions become 644, copy a file that other users must not read into a directory with narrower read permissions, or reset the permissions after the copy.

If you must keep owner and permissions, use: rsync or AWS DataSync (NFS) for POSIX attributes; AWS DataSync (SMB) for NTFS ACLs; SnapMirror to replicate whole volumes.

HeadObject and ListObjectsV2 on the source access point returned the file's modification time (2020-01-02) in LastModified. You can build a job that selects files not updated recently, and archives them (copies them from the volume to a bucket for keeping; "archive" has this meaning from here on), with this value. In what I checked, the S3 API response did not include the time the file was last read (the access time). To select files by "not read", check the access time with stat over NFS.

S3 Batch Operations

To copy many files at once, I tried an S3 Batch Operations copy job (S3PutObjectCopy) in two ways.

Job Setting Result
Bucket → access point The destination (TargetResource) was the access point alias The job copied two objects, and both succeeded. The destination storage class was FSX_ONTAP
Access point → bucket The manifest's bucket name column held the access point alias The job copied one object, and it succeeded. The content matched

I built the manifest (the list of objects to copy) as a CSV from the ListObjectsV2 result. The job's IAM role had s3:GetObject, s3:GetObjectTagging, s3:PutObject and the other permissions that the documentation requires for a copy job (see the linked page below).

The documentation states several limits for S3 Batch Operations copy.

  • Up to 5 GB per object (the documentation writes GB). Copy a file larger than 5 GB with a method that uses a multipart copy, such as aws s3 cp
  • One job has one source bucket (here, an access point) and one destination
  • If the destination has no versioning, an object with the same key is overwritten

Source for the limits: Copy objects (S3 Batch Operations)

The round trip for each S3 storage class

For each general purpose bucket storage class, I copied a file from the volume to the bucket and back to the volume. The sizes are 1 KiB, 8 MiB and 6 GiB. The first table shows the 8 MiB results, and the 1 KiB results are in the list below the tables. The second table shows the 6 GiB durations; I copied with aws s3 cp (a multipart copy of 768 parts). Each measurement ran once, except that I measured the bucket-to-volume direction twice for S3 Standard-IA and S3 Reduced Redundancy. S3 Standard-IA took 223 seconds and 130 seconds, and I did not check the cause of the difference. The next section, "Restoring before copying back from the archive classes", covers the restore steps and times.

The 8 MiB results. In the table, "Expedited", "Standard" and "Bulk" are the three retrieval options you choose when you request a restore on the bucket; the next section explains them.

Storage class 8 MiB: access point → bucket 8 MiB: bucket → access point
S3 Standard Succeeded Succeeded
S3 Standard-IA Succeeded Succeeded
S3 One Zone-IA Succeeded Succeeded
S3 Intelligent-Tiering Succeeded Succeeded
S3 Glacier Instant Retrieval Succeeded Succeeded
S3 Glacier Flexible Retrieval Succeeded Before a restore: InvalidObjectState. After a restore with Expedited, Standard or Bulk retrieval: the copy succeeded
S3 Glacier Deep Archive Succeeded Before a restore: InvalidObjectState. After a restore with Standard retrieval: succeeded. The Bulk restore has not finished, so I have not copied it back (I will add the result when it finishes)
S3 Reduced Redundancy Succeeded Succeeded

The 6 GiB durations:

Storage class 6 GiB: access point → bucket 6 GiB: bucket → access point
S3 Standard 24 seconds 130 seconds
S3 Standard-IA 20 seconds 223 seconds and 130 seconds (measured twice)
S3 One Zone-IA 19 seconds 134 seconds
S3 Intelligent-Tiering 20 seconds 134 seconds
S3 Glacier Instant Retrieval 22 seconds 133 seconds
S3 Glacier Flexible Retrieval 24 seconds 132 seconds (after a restore with Expedited retrieval)
S3 Glacier Deep Archive 23 seconds 131 seconds (after a restore with Standard retrieval; the content matched)
S3 Reduced Redundancy 20 seconds 134 seconds and 135 seconds (measured twice)

What the tables show:

  • From the volume to a bucket, copies into all eight general purpose storage classes succeeded
  • The six classes whose objects can be read immediately copied back to the volume without a restore. The content matched in every case, and the destination class was FSX_ONTAP
  • S3 Glacier Instant Retrieval copied back without a restore, the same as S3 Standard. It is a class that costs less to store than S3 Standard but charges per GB for retrieval
  • 1 KiB files made the round trip with S3 Standard, S3 Reduced Redundancy, S3 Standard-IA, S3 One Zone-IA, S3 Intelligent-Tiering and S3 Glacier Instant Retrieval. S3 Standard-IA, S3 One Zone-IA and S3 Glacier Instant Retrieval have a minimum billable size and bill any object under 128 KB as 128 KB, so a 1 KiB test object is billed for 128 KB (source: Amazon S3 pricing)
  • AWS recommends against using S3 Reduced Redundancy (see the storage class comparison). I only confirmed that copying to it works
  • For S3 Intelligent-Tiering, I tried an object in the tier that can be read immediately. An object that has moved to an archive tier needs a restore
  • Before you copy a large file, check the free capacity of the destination volume. If there is not enough, the final CompleteMultipartUpload of the multipart copy fails with InsufficientCapacity

Besides the three sizes of 1 KiB, 8 MiB and 6 GiB, I also copied a 1 GiB file. It copied from an access point to S3 Glacier Deep Archive in a bucket in 3 seconds and to S3 Glacier Instant Retrieval in 4 seconds. Copying that same 1 GiB object from S3 Glacier Instant Retrieval in the bucket back to an access point on a file system different from the source file system took 21 seconds. Each was a single sample.

Source for the storage class statements in the list above:

Restoring before copying back from the archive classes

Objects in S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive cannot be read right away. You call RestoreObject on the bucket first, wait until the temporary copy exists, and then copy to the volume. A restore is an operation on the bucket; you cannot use RestoreObject on the access point side.

aws s3api restore-object --bucket <bucket> --key archive/project-a/result.bin \
  --restore-request '{"Days":7,"GlacierJobParameters":{"Tier":"Standard"}}'
aws s3api head-object --bucket <bucket> --key archive/project-a/result.bin --query Restore
Enter fullscreen mode Exit fullscreen mode

Days is the number of days that the restored temporary copy stays; after that the temporary copy is deleted.

A restore has three retrieval options: Expedited (Expedited), Standard (Standard) and Bulk (Bulk). The example above sets one in Tier. When Restore shows ongoing-request="false", you can copy to the volume. The next table shows how long the restores took (8 MiB and one run each, unless stated otherwise; the elapsed time counts from the restore request).

Class and retrieval Time the restore took
S3 Glacier Flexible Retrieval, Expedited 70 seconds
S3 Glacier Flexible Retrieval, Standard 1 h 22 min to 4 h 30 min (the restore finished between two head-object checks)
S3 Glacier Flexible Retrieval, Bulk 5 h 34 min
S3 Glacier Deep Archive, Standard For 8 MiB, 7 h 43 min to 10 h 51 min (the restore finished between two head-object checks). For 1 KiB, 8 h 1 min. For 6 GiB, 8 h 14 min
S3 Glacier Deep Archive, Bulk Not finished. At 10:30 on 2026-11-25 (Japan time), about 15 h 20 min after the request, the restore was still running, so I have not copied it back (the documented target is within 48 hours; I will add the result when it finishes)

For the Standard retrievals of the 8 MiB objects (in both classes), the only fact I have is that the restore finished between two head-object checks after the request, so the table shows a range. For the other measurements in the table (the Expedited and Bulk retrievals of S3 Glacier Flexible Retrieval, and the Standard retrievals of 1 KiB and 6 GiB in S3 Glacier Deep Archive), I used the time of the bucket's Amazon EventBridge notification (Object Restore Completed).

A note on the table above: a 6 GiB object in S3 Glacier Flexible Retrieval restored in 69 seconds with Expedited retrieval (the 8 MiB object took 70 seconds).

The next table shows the restore times that the documentation gives as a guide.

Class Expedited Standard Bulk
S3 Glacier Flexible Retrieval 1 to 5 minutes 3 to 5 hours 5 to 12 hours
S3 Glacier Deep Archive Not available Within 12 hours Within 48 hours

Destinations and copy options

Besides the general purpose bucket storage classes covered in the round-trip section, I also checked other settings (special storage classes, encryption, tags, metadata, checksums and conditions) and destinations other than general purpose buckets. The table summarizes them.

What I checked Result
Copy from a volume to a general purpose bucket, with EXPRESS_ONEZONE, OUTPOSTS, SNOW or FSX_ONTAP as the destination storage class All failed (InvalidStorageClass; InvalidArgument for FSX_ONTAP)
Copy from a bucket to a volume, with FSX_ONTAP as the destination storage class Succeeded. Specifying STANDARD_IA or similar returned InvalidStorageClass
Copies between an FSx for ONTAP access point and an S3 Express One Zone directory bucket Copies between an FSx for ONTAP volume's access point and a directory bucket failed in both directions (InternalServerError, InvalidArgument). As a control, copies between a general purpose bucket and the directory bucket succeeded
An old version of an object in a bucket with versioning and SSE-KMS → volume Succeeded. The version given with ?versionId= was copied
Volume → SSE-KMS bucket, with AES256 or aws:kms in --server-side-encryption Succeeded. The object got the encryption I specified
Tags By default, tags were copied too (both directions). Replacing them with --tagging-directive REPLACE also worked
User-defined metadata (--metadata-directive REPLACE) Succeeded in both directions. On the volume side, HeadObject also returned the metadata
--checksum-algorithm SHA256 Succeeded. The bucket returned the checksum, and the volume side did not
--copy-source-if-match with the source object's ETag Succeeded when the ETag matched, PreconditionFailed when it did not
A range for UploadPartCopy (--copy-source-range) Succeeded. The content matched

S3 Express One Zone directory buckets are not among the "general purpose buckets" that What's New and the user guide list. To move data to or from a directory bucket, go through a general purpose bucket.

The status of all 13 storage classes

The storage class values that this post covers are the following 13: S3 Standard, S3 Reduced Redundancy, S3 Standard-IA, S3 One Zone-IA, S3 Glacier Instant Retrieval, S3 Intelligent-Tiering, S3 Glacier Flexible Retrieval, S3 Glacier Deep Archive, S3 Express One Zone, S3 on Outposts (OUTPOSTS), Snow (SNOW), FSX_ONTAP and FSX_OPENZFS. When I reread the CopyObject API reference on 2026-11-25, it also listed AWS_BACKUP_WARM and AWS_BACKUP_LOW_COST_WARM. I did not try these two and did not check what they are for. The table lists what I checked for the 13 values, including those that a general purpose bucket cannot hold.

Storage class What I checked What I did not check, and why
S3 Standard, S3 Reduced Redundancy, S3 Standard-IA, S3 One Zone-IA, S3 Glacier Instant Retrieval Both directions, 1 KiB, 8 MiB and 6 GiB Nothing
S3 Intelligent-Tiering Both directions, three sizes. I used an object in the Frequent Access tier, which can be read immediately Objects take 30 to 180 days to move to the other tiers (per the storage class comparison), so I did not check copying back to the volume after a move
S3 Glacier Flexible Retrieval Copying out: three sizes. Copying back: succeeded after a restore with Expedited, Standard or Bulk retrieval Nothing
S3 Glacier Deep Archive Copying out: three sizes. Copying back: succeeded for the 1 KiB, 8 MiB and 6 GiB objects restored with Standard retrieval (content matched) The 8 MiB object restoring with Bulk retrieval has not finished, so I have not run the copy back (I will add the result when it finishes)
S3 Express One Zone Copies to and from a directory bucket failed in both directions It is not one of the "general purpose buckets" in the announcement
S3 on Outposts (OUTPOSTS) Specifying it for a general purpose bucket was rejected I have no such environment. I could not confirm in the documentation whether CopyObject for S3 on Outposts works only within the same Outposts bucket
Snow (SNOW) Specifying it for a general purpose bucket was rejected I have no such device. Snowball Edge is no longer offered to new customers (I could not confirm the date in the source)
FSX_ONTAP Specifying it for an FSx for ONTAP access point succeeded; specifying it for a bucket was rejected Nothing
FSX_OPENZFS Checked in the later section "To and from FSx for OpenZFS access points" Nothing

To move S3 on Outposts data to FSx for ONTAP, the documentation lets you build two routes. One uses AWS DataSync (which needs a DataSync agent, a transfer software that you place near the source) to move the data to a general purpose bucket and then server-side copy to an access point. The other uses DataSync to move it directly to FSx for ONTAP over NFS / SMB. I tried neither.

To and from FSx for OpenZFS access points

The announcement also covers S3 Access Points attached to Amazon FSx for OpenZFS volumes. I checked with a SINGLE_AZ_HA_2 file system (64 GiB of SSD, 160 MBps) created in ap-northeast-1. On FSx for OpenZFS, you can attach S3 Access Points only to HA configurations (Single-AZ (HA) and Multi-AZ).

What I checked Result
Bucket or FSx for ONTAP access point → FSx for OpenZFS access point Succeeded. The destination class was FSX_OPENZFS
FSx for OpenZFS access point → FSx for ONTAP access point Succeeded. The destination class was FSX_ONTAP
Copy from an FSx for OpenZFS access point to the eight general purpose bucket storage classes All succeeded
Copy back from the six general purpose bucket classes that can be read immediately to an FSx for OpenZFS access point All succeeded
Copy back from the general purpose bucket classes S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive to an FSx for OpenZFS access point Before a restore, both failed with InvalidObjectState (as with FSx for ONTAP, a restore is needed first). S3 Glacier Flexible Retrieval succeeded after a restore with Expedited retrieval, and the content matched. I did not try copying back from S3 Glacier Deep Archive after a restore
6 GiB (aws s3 cp) All four routes succeeded (69 to 113 seconds): FSx for ONTAP → FSx for OpenZFS, bucket (S3 Glacier Instant Retrieval) → FSx for OpenZFS, a restored S3 Glacier Flexible Retrieval object → FSx for OpenZFS, and FSx for OpenZFS → bucket. The SHA-256 of the destination file, read over NFS, matched the source
6 GiB with a single CopyObject From a bucket to an FSx for OpenZFS access point: immediate InvalidRequest. From an FSx for OpenZFS access point to a bucket: the connection was closed partway (I did not check which side closed it) and no object was created at the destination
File attributes The destination file's owner was the user set on the access point (0:0), and the mode was 644. This differs from the owner 0:1 on FSx for ONTAP, and I did not check why

Apart from the copy results, here is what to know before you choose FSx for OpenZFS:

  • The file protocol is NFS (v3 to v4.2). There is no SMB or iSCSI
  • The unit of deployment is the file system, and you create volumes in a hierarchy inside it. You can set a capacity limit, an NFS export and quotas for each volume
  • FSx for OpenZFS has no equivalent of the FSx for ONTAP SVM (storage virtual machine, the logical server inside a file system that exposes volumes; each SVM can have its own management endpoint and Active Directory membership). You therefore cannot separate management endpoints or Active Directory membership per department or customer
  • What is Amazon FSx for OpenZFS?
  • Access points restrictions (FSx for OpenZFS User Guide)

Checks after archiving, and designing the destination bucket

Steps before deleting the source files

A copy only copies the files; the files on the volume stay. To free capacity on the volume, you confirm that the copy succeeded and then delete the source files left on the volume yourself.

  1. Before copying, record each file's path, size, modification time, owner, permissions and SHA-256. You also use this record to reapply attributes when you copy the file back
  2. After copying, compare the object size that HeadObject on the bucket returns with the size you recorded before copying. Equal sizes do not guarantee equal content
  3. Compute the SHA-256 of the volume file and of the bucket object yourself, and compare them. The bucket's ETag is not an MD5 of the content for multipart copies or SSE-KMS objects (Object (Amazon S3 API Reference)), so you cannot use it to confirm a match. In what I checked, the volume-side access point returned no checksum even when I specified --checksum-algorithm SHA256
  4. Delete from the volume only the files whose size and SHA-256 both matched

The capacity is not freed while a snapshot of the volume still holds the blocks of the deleted file. It is freed only after those snapshots expire.

Cleaning up interrupted multipart copies

When a multipart copy stops partway, the parts stay. You can clean up parts left in a bucket with the S3 Lifecycle rule that deletes incomplete multipart uploads. You clean up parts left on a volume by canceling the multipart copy with AbortMultipartUpload. The user guide's compatibility table states that interrupted parts count toward the file system's usage.

Items to decide at design time for the destination bucket

Decide the following items for the destination bucket at design time. They are system design checks, not a judgment of legal or regulatory compliance.

Item What to decide
Storage location The bucket's Region. Copies work only within one Region
Encryption The bucket's default encryption (SSE-S3 or SSE-KMS). With SSE-KMS, the caller of the copy needs permissions on the key
Access control The bucket policy and the Block Public Access settings
Retention When S3 Lifecycle deletes objects. Whether to use S3 Object Lock: decide the retention period, tell the person responsible for the data (for example, the data owner; use the equivalent role in your organization) that the objects cannot be deleted during that period, and decide only after that person approves. I did not try this in this post
Records How to keep a record of who copied what and when, and who copied it back (AWS CloudTrail data events, for example)

Keeping data in the capacity pool or moving it to a bucket

To lower the storage cost of files that nobody reads, the first option is tiering the volume. Moving data to a bucket with server-side copy is for going below the capacity pool price, or for needing bucket-side features.

How tiering works and how SSD is charged

On a volume with a tiering policy, data moves from SSD to the capacity pool automatically. Of the tiering policy values, AUTO moves data that has not been read for the number of days you set (the cooling days: the days from the last read until the data moves to the capacity pool), and ALL moves data whether or not it has been read. However, AUTO moves data only when the file system's SSD utilization is above 50%. At 50% or below, only volumes with the ALL policy move data to the capacity pool. Above 50%, volumes with AUTO move data according to the minimum cooling days setting (default 31 days) (Volume storage capacity, "Tiering thresholds", checked on 2026-11-25). I did not measure data movement by tiering in this post.

The provisioned SSD and its charge work as follows. SSD is charged for what you provision, so the storage cost falls only when you reduce the provisioned SSD by the freed amount. For a new file system, you size SSD for the data that is read often. Second-generation and third-generation file systems let you reduce the provisioned SSD after creation, with conditions under which you cannot reduce it (for example, when the file system has SnapLock volumes or FlexClone volumes; see the user guide for details). First-generation file systems (such as the SINGLE_AZ_1 in this environment) can only increase it (Updating file system SSD storage and IOPS, checked on 2026-11-25).

Unit prices for storage

These are the storage prices for the Tokyo Region (ap-northeast-1), fetched from the Price List API on 2026-11-24. I fetched the price list again on 2026-11-25, but I did not record the range of prices I checked, so treat these values as the 2026-11-24 prices. FSx for ONTAP SSD is charged for the amount you provision; the capacity pool and S3 are charged for the amount you use.

Where the data sits Storage price (per GB-month) Charges added by reads and writes Minimum storage duration
FSx for ONTAP SSD (Single-AZ / Multi-AZ) $0.150 / $0.300 None None
FSx for ONTAP capacity pool (Single-AZ / Multi-AZ) $0.0238 / $0.0476 Reads $0.00037 per 1,000 requests, writes $0.0047 per 1,000 requests None
S3 Standard (first 50 TB) $0.025 Request charges such as GET and PUT None
S3 Standard-IA $0.0138 Request charges and a per-GB retrieval charge 30 days
S3 Glacier Instant Retrieval $0.005 Request charges and a per-GB retrieval charge 90 days
S3 Glacier Deep Archive $0.002 Restore request charges and a per-GB retrieval charge 180 days

The Single-AZ capacity pool costs about the same as S3 Standard to store. The Multi-AZ capacity pool costs about 1.9 times S3 Standard and about 24 times S3 Glacier Deep Archive. The "Minimum storage duration" column is the period for which you pay the storage price for the remaining days if you delete the data earlier.

Differences between keeping data in the capacity pool and moving it to a bucket

Keeping the data in the capacity pool and moving it to a bucket with server-side copy differ in the following points.

Aspect Keep in the capacity pool Move to a bucket with server-side copy
File path and how users read the file Unchanged. Users keep reading over NFS / SMB The file becomes a bucket object. To read it as a file, copy it back to the volume
Owner, permissions, modification time Kept Not carried over. Only the content is copied
Snapshots, SnapMirror, backups You keep using the volume's features You design these separately on the bucket side (versioning, replication, S3 Object Lock and so on)
Work to move the data Set a tiering policy. Whether data moves depends on the policy and the SSD utilization (AUTO moves data only above 50% utilization; see "How tiering works and how SSD is charged"). To lower the SSD charge, you also have to review the provisioned SSD You build the selection of targets, the copy, the verification and the deletion of the source files
Reading back You can read the data as files. Read request charges apply, and reads may be slower than SSD (I did not measure this). With AUTO, data that is read randomly returns to SSD (a statement in Volume storage capacity; I did not measure this) From S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive, you wait for a restore and then copy back
Storage price About the same as S3 Standard on Single-AZ, and about twice that on Multi-AZ With S3 Glacier Deep Archive, about 1/12 of the Single-AZ capacity pool and about 1/24 of the Multi-AZ capacity pool
Bucket-side features Not available. The access point side has neither S3 Lifecycle nor event notifications S3 Lifecycle, S3 Object Lock, event notifications and replication are available
SSD usage Metadata of tiered files stays on SSD Deleting the source files from the volume reduces SSD and capacity pool usage. The SSD charge falls when you reduce the provisioned SSD

Keep the data in the capacity pool in these cases:

  • The data may still be read
  • You want to keep file paths and permissions
  • You want to keep using snapshots and backups
  • The storage price difference is small for the amount of data

Move the data to a bucket with server-side copy in these cases:

  • The amount of data is large, and the storage price difference from the capacity pool exceeds the operating effort of copying, verifying and restoring. The difference from S3 Glacier Deep Archive is about $22 per TiB per month on Single-AZ and about $47 per TiB per month on Multi-AZ
  • You keep the data for more than 180 days and rarely read it back
  • You need bucket-side features such as S3 Lifecycle, S3 Object Lock, replication or event notifications
  • You shrink or retire the file system

Whichever option you choose, measure how often the data is read: capacity pool data that is read repeatedly incurs read request charges, and data moved to a bucket incurs restore and copy charges when you copy it back to read it.

References:

A cost example

The ap-northeast-1 unit prices are the values I fetched from the Price List API on 2026-11-24. I fetched the price list again on 2026-11-25, but I did not record the range of prices I checked, so treat the values in this section as the 2026-11-24 prices. The storage prices are in the table in "Unit prices for storage" (the Single-AZ capacity pool is $0.0238 per GB-month, S3 Glacier Deep Archive $0.002 per GB-month and S3 Glacier Instant Retrieval $0.005 per GB-month). The next table shows the unit prices for copy, requests and retrieval.

Unit price Value
CopyObject to S3 Glacier Deep Archive $0.065 per 1,000 requests
PUT, COPY, POST and LIST requests to an FSx for ONTAP access point $0.00108 per 1,000 requests
Retrieval from S3 Glacier Deep Archive (Standard / Bulk) $0.022 per GB, $0.005 per GB
Restore requests for S3 Glacier Deep Archive (Standard / Bulk) $0.1142 per 1,000, $0.025 per 1,000

The assumptions of the calculation:

  • Amount: 10 TiB, counted as 10,240 GB (1 TiB = 1,024 GB in all calculations below), 100,000 files of about 105 MiB each on average
  • Destination: from the capacity pool to S3 Glacier Deep Archive
  • Each S3 Glacier Deep Archive object adds 40 KB of metadata space on top of the data. 8 KB is billed at the S3 Standard rate and 32 KB at the S3 Glacier Deep Archive rate (source: Amazon S3 pricing)
  • Amount copied back: 1 TiB of it (10,000 files), once
  • Restored temporary copy: the AWS documentation says that when you restore an object, you pay for both the archived object and the copy that you restored temporarily (Restoring an archived object, checked on 2026-11-25). It does not give the price of the temporary copy, so I assume the S3 Standard rate ($0.025 per GB-month) for the days it stays. This is an assumption that I have not confirmed
Item Calculation Amount
Storage if the data stays in the capacity pool 10,240 GB × $0.0238 $243.71 / month
Storage in S3 Glacier Deep Archive 10,240 GB × $0.002 $20.48 / month
For comparison: storage in S3 Glacier Instant Retrieval 10,240 GB × $0.005 $51.20 / month
Copy to move the data (S3 Glacier Deep Archive side) 100,000 × $0.065 / 1,000 $6.50 (once)
Copy to move the data (requests on the access point side) 100,000 × $0.00108 / 1,000 About $0.11 (once)
Copy 1 TiB back with Standard retrieval 1,024 GB × $0.022 + 10,000 × $0.1142 / 1,000 $23.67 (once)
Copy 1 TiB back with Bulk retrieval 1,024 GB × $0.005 + 10,000 × $0.025 / 1,000 $5.37 (once)
Keep the restored temporary copy for 7 days (assuming the S3 Standard rate) 1,024 GB × $0.025 × 7 / 30 About $5.97 (once)
Per-object metadata, 100,000 objects Each object adds 40 KB of metadata: 8 KB billed at S3 Standard rates and 32 KB at S3 Glacier Deep Archive rates. 100,000 × 8 KB ≈ 0.8 GB × $0.025 + 100,000 × 32 KB ≈ 3.2 GB × $0.002 About $0.03 / month

These are unit price × quantity calculations, not bills. They do not include items that are not in the table (the S3 Batch Operations job charge and the throughput capacity).

When 10 TiB of data sits in the capacity pool, moving it to S3 Glacier Deep Archive lowers the storage charge by $223.23 a month ($243.71 − $20.48). That is more than the one-time copy charges ($6.50 + about $0.11), so the first month's saving covers the copy cost. This calculation assumes that the data is already in the capacity pool.

If you move data from SSD ($0.150 per GB-month) to the capacity pool and can reduce the provisioned SSD by the same amount, the charge falls by $1,292.29 a month per 10 TiB. If you do not reduce the provisioned SSD, the SSD charge does not change. Moving the data on from the capacity pool to S3 Glacier Deep Archive lowers the charge by about $22 a month per TiB more. Moving it to S3 Glacier Instant Retrieval differs from the capacity pool by $192.51 a month per 10 TiB, with a minimum storage duration of 90 days. In every case, decide by whether the storage price difference is worth the effort of copying, verifying, deleting the source files and waiting for restores.

S3 Glacier Deep Archive has a minimum storage duration of 180 days, and if you delete earlier you pay the storage price for the remaining days. So you commit to 180 days of storage charges ($20.48 × 6 = $122.88) when you move the data. For files that you plan to copy back and delete within 180 days, compare S3 Glacier Deep Archive with classes that have a shorter minimum storage duration, such as S3 Glacier Instant Retrieval, on cost.

With many small files, request charges and metadata weigh more. For 100,000 files of 64 KiB each, the data is about 6.1 GiB. At S3 Glacier Deep Archive rates, the data storage costs about $0.0122 a month and the metadata about $0.0264 a month, about $0.0386 a month in total. The copy requests ($6.50) cost as much as about 168 months of that storage.

Reading directly or copying

A copy is a duplicate, so the data then exists in two places: where the original data (the authoritative copy) is stored, and the destination of the copy. First, split by the protocol that the consuming application or service supports.

Consumer of the data First option to consider When a copy is needed
Reads through the S3 API and can specify an access point (Amazon Athena, AWS Glue, Amazon Bedrock Knowledge Bases and others) Read the access point directly When you need bucket-side features such as event notifications, S3 Lifecycle, Amazon Macie or replication
Reads only over NFS / SMB (physical devices, business applications, Windows clients) Mount the volume When the authoritative copy is in a bucket and you must place the data on a volume near the device
Another file system or account that needs the data FlexCache (an ONTAP feature that keeps a read cache on another file system), SnapMirror (volume-level replication) or sharing through an access point policy When you want to hand over only selected files, not the whole volume

The user guide lists the AWS services that can read an access point directly.

Copying from a bucket to a volume

So far I have mostly covered copy out, from a volume to a bucket. This section takes out only copy in, from a bucket to a volume, and sorts out how the two directions differ, the use cases, what to check, and how to choose a method. What I checked was on a first-generation file system (SINGLE_AZ_1) in ap-northeast-1, one run each unless noted.

How the two directions differ

The limits fall in different places in the two directions.

Aspect Volume to bucket (copy out) Bucket to volume (copy in)
Source size for one CopyObject Up to 5 GiB The same. It applies whether the source is a bucket or an access point
Total size you can write to the destination Up to 48.8 TiB for a bucket (as stated in the documentation) Up to 50 GiB for a volume (as stated in the documentation; I measured up to 6 GiB)
Storage class you can specify at the destination All eight general purpose classes Only FSX_ONTAP. Any other class returns InvalidStorageClass
Restore Not needed If the source is S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive, restore it in the bucket first
Free space at the destination A bucket has no capacity limit to plan for; it bills what you use When the volume lacks free space, the CompleteMultipartUpload at the end of a multipart copy fails with InsufficientCapacity (see "The round trip for each S3 storage class")
Event notifications and S3 Lifecycle Available on the destination bucket Not available on the destination access point

Copy-in use cases

"Until now" is my own summary of methods I knew before this feature, not the result of a survey. "What I checked" is a measurement in this post.

Use case Example Until now What I checked What I did not check
Restore archived files to the volume For a reanalysis or an audit request, move files archived in an S3 Glacier class back to a place that NFS / SMB applications can read Restore, then fetch with a client and write The six classes that copy back without a restore (S3 Standard, S3 Standard-IA, S3 One Zone-IA, S3 Intelligent-Tiering, S3 Glacier Instant Retrieval and S3 Reduced Redundancy; checked at 8 MiB). S3 Glacier Flexible Retrieval succeeded after a restore with Expedited, Standard and Bulk. S3 Glacier Deep Archive succeeded for 1 KiB, 8 MiB and 6 GiB restored with Standard, and the contents matched. Copying 6 GiB back took 130 to 135 seconds from each of the eight classes (one run from S3 Standard-IA took 223 seconds) S3 Glacier Deep Archive with a Bulk restore (still restoring). The archive tiers of S3 Intelligent-Tiering
Hand data in a bucket to devices or applications that can read only over NFS / SMB Let a device that replays drive logs read the logs in a data lake bucket (the example in the section "Keeping data in S3 while reading it as files at speed" that follows) Run aws s3 sync on a host that mounts the volume, or create an AWS DataSync task Copies of 8 MiB and 6 GiB succeeded and the contents matched. The 1 KiB copy also succeeded (I confirmed a match only when it came back from S3 Glacier Deep Archive). The destination storage class was FSX_ONTAP The request rate for many small files. How long a file copied into the FlexCache origin volume takes to become readable from the cache
Initial load for a migration Past data is in a bucket and goes into a new volume DataSync, or a copy on a host that mounts the volume The bucket-to-access-point copy itself (same as the row above) Throughput of parallel copies and durations for large volumes of data. Volumes with NTFS ACLs (this post covers only the UNIX security style)
Copy many files at once Specify targets from a list of archived files and bring them back A script of my own Two S3 Batch Operations copy jobs from a bucket to an access point succeeded. The destination storage class was FSX_ONTAP A job copies objects of up to 5 GB each (as stated in the documentation). Durations of jobs with tens of thousands of objects or more

What to check when copying in

Check before copying:

  • Free space on the destination volume. If it is short, the multipart copy fails at the end
  • That no file with the same key exists at the destination access point. If one does, it is overwritten without confirmation
  • The class of the source. Restore S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive objects in the bucket first. For restore times, see the table in "Restoring before copying back from the archive classes"
  • The file size. A file over 5 GiB needs a multipart copy, and a file over 50 GiB cannot be copied to the volume through an access point (as stated in the documentation)

Check after copying:

  • Set the owner and permissions again. When the file system user of the destination access point was root, the owner was 0:1 and the permissions were 644 (I did not try a user other than root)
  • Check that the contents match with a SHA-256 of the file on the volume and the object in the bucket. The user guide states that the volume side does not store checksums
  • Tool settings. rclone sends the storage class STANDARD by default, so it needs --s3-storage-class FSX_ONTAP. s5cmd does not support server-side copy of objects over 5 GB

Choosing a method for copying in

  • If you need owners, permissions, NTFS ACLs, or a scheduled sync, consider AWS DataSync
  • If you want to copy only selected files without a mounting host, server-side copy fits. You build the selection, the verification and the schedule yourself
  • If the reading device is a Linux host on AWS and it is enough to read the bucket over NFS without copying, consider Amazon S3 Files (a shared file system that mounts a bucket over NFS). The table in the section "Keeping data in S3 while reading it as files at speed" that follows also lists it
  • If you only hand the data to a service that can read an access point directly, such as Amazon Athena or Amazon Bedrock Knowledge Bases, no copy is needed. That is not a question of direction; the section "Reading directly or copying" covers it

Keeping data in S3 while reading it as files at speed

I previously wrote about a design called "S3 Burst on ONTAP Files". It collects data through the S3 API and lets users read it over NFS / SMB through FlexCache (an ONTAP feature that keeps a read cache of a volume's data on a volume elsewhere). In that design, the authoritative copy (the original storage place of the data) is the FSx for ONTAP volume, and S3 Access Points are the write entry point. The next three links are my articles related to that design. The first covers the whole design, the second the throughput ceilings of three paths, and the third measures Amazon S3 Files, an AWS service that lets you mount an S3 bucket as an NFS file system. I use S3 Files below as one of the routes to compare.

In other cases, the authoritative copy of the data is already in a general purpose bucket, and you cannot change the path that writes driving logs and similar data into it (the collection path, the mechanism that sends data from sensors and in-vehicle devices to S3). Server-side copy now lets you bring data from the bucket to a volume without a transfer host. The example here is autonomous driving (AV) and advanced driver-assistance systems (ADAS) development. According to the AWS blog post "Accelerating HiL Testing for AV/ADAS with a Hybrid Cloud Approach – AWS and NetApp", this development collects driving data in Amazon S3 and uses a "golden dataset" selected from it for HiL (Hardware-in-the-Loop) testing. HiL testing replays driving logs on the same hardware as the real vehicle to check its behavior. The replay device, called the HiL test bench from here on, sits on premises in the AWS blog post's design. According to the AWS blog post, regression testing downloads the same dataset again and again, which causes performance bottlenecks and high egress costs (the transfer charges for data that leaves AWS). The post shows a calculated example in which sending the needed data once to local NetApp storage and reusing it cuts egress costs by up to 75% a year (8 test rigs, about 400 TB sent the first time). These statements come from the AWS blog post; they are not values that I measured in the design of this post. That server-side copy can serve the same problem is my own view, which I have not confirmed.

The AWS blog post sends the data to on-premises NetApp storage. This post sends it to an FSx for ONTAP volume. The problem is the same, though: preparing the driving logs in a bucket as files that the HiL test bench can read over NFS / SMB. The AWS blog post mentions neither server-side copy nor FlexCache.

First, the two terms that the next table uses. "S3 Burst baseline design" is the design described above, which writes to the FSx for ONTAP volume through the S3 API and distributes with FlexCache. Amazon S3 Files is an AWS service that provides a shared file system connected to an S3 bucket, which you mount over NFS.

The next table is my own breakdown of the same problem, with four routes for handing data to the HiL test bench.

Route Authoritative copy How the data reaches the HiL test bench When it fits
S3 Burst baseline design The FSx for ONTAP volume. Driving logs are collected into an access point with PutObject Read the FlexCache Cache over NFS / SMB You can build a new collection path
Authoritative copy in a bucket, brought in with server-side copy A general purpose bucket CopyObject only the needed logs to the volume and distribute them with FlexCache Collection already flows into the bucket and you cannot change it
Authoritative copy in a bucket, brought in with AWS DataSync A general purpose bucket Copy to the volume with a DataSync task and distribute with FlexCache You want DataSync to manage attributes and schedules
Authoritative copy in a bucket, read with Amazon S3 Files A general purpose bucket Mount S3 Files over NFS You can place the HiL test bench on Linux on AWS and install the dedicated mount tool (the mount helper). I did not check whether this route works when the HiL test bench is on premises, as in the AWS blog post's design

Choose by the "When it fits" column. If you can build a new collection path, use the baseline design. If the authoritative copy is in a bucket and you cannot change the collection path, consider server-side copy, AWS DataSync or Amazon S3 Files, according to the conditions of the HiL test bench.

The S3 Burst on ONTAP Files repository has a cost comparison for each use case (Japanese). The next table lists what to watch when copying, for the file size that this comparison assumes for each use case. The HiL testing row is the use case covered above. "What to watch" is my untested estimate.

Use case Size of one file (assumption of the estimate) What to watch
HiL testing driving logs About 1 MiB A single CopyObject is enough. The number of files is large, so estimate the request charges first. I did not measure the time until a copied file can be read from the FlexCache Cache
EDA (electronic design automation) / CAE (computer-aided engineering, such as structural and fluid analysis) design job input and output About 256 KiB There are many small files, and request charges and the access point request rate may become the problem first
Media / VFX (visual effects) rendering material About 500 MiB Material larger than 5 GiB needs a multipart copy. Material larger than 50 GiB cannot be copied to a volume
Genome analysis sequencer output (BAM / FASTQ are the file formats of that output) About 8 MiB BAM / FASTQ files larger than 5 GiB need a multipart copy. Files in a long-term storage class need a restore first
Vehicle / IoT telemetry About 64 KiB Copy request charges may exceed DataSync transfer charges

Mapping from on-premises ONTAP practice

This section is for readers who use ONTAP on premises and want to see how it maps to FSx for ONTAP. You can skip it and still read the next section, "How to check this in your environment".

For moving data from on-premises ONTAP to lower-priced Amazon S3 storage classes, the NetApp documentation lists combinations of ONTAP features and NetApp cloud services. The table below follows the documentation as of 2026-11-25, and I did not try these methods in this post. The three methods differ in the unit they copy, the S3 storage classes you can choose, and the path the data takes.

On-premises method Unit copied S3 storage classes you can choose Data path and reading back Counterpart on FSx for ONTAP
FabricPool (an ONTAP feature) and NetApp Cloud Tiering, which configures it Cold data blocks (blocks that have not been read recently) The data is placed in S3 Standard. With Cloud Tiering lifecycle rules, it can move to four classes: S3 Standard-IA, S3 One Zone-IA, S3 Intelligent-Tiering and S3 Glacier Instant Retrieval. You cannot choose S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive The ONTAP cluster reads and writes S3 directly. When a user reads a file, ONTAP reads the tiered blocks back from S3 Capacity pool tiering serves the same purpose
SnapMirror Cloud (an ONTAP feature) and NetApp Backup and Recovery (formerly Cloud Backup), which uses it Backups of volume snapshots SnapMirror Cloud writes backups to S3 Standard, then moves them to S3 Standard-IA after 30 days. With ONTAP 9.10.1 or later, you can choose an archive class. If you choose one, ONTAP moves the backups to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive after a set number of days The ONTAP cluster writes to S3. A user restores a volume or files with Backup and Recovery. Backups in an archive class need a retrieval before the restore FSx for ONTAP backups and SnapMirror serve volume-level protection. Server-side copy is not a means of protection
NetApp Copy and Sync (formerly Cloud Sync) Files (a sync relationship per NFS / SMB directory) You can choose from seven: S3 Standard, S3 Intelligent-Tiering, S3 Standard-IA, S3 One Zone-IA, S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive A data broker (a virtual machine on AWS or a Linux host) reads the files and writes them to S3. After the first copy, it syncs changes on a schedule With server-side copy, you can also select files yourself and move them. The data does not pass through the client that issues the copy. Server-side copy does not provide file selection, schedules or change sync, so you build them

What the table shows:

  • On premises, there is also a way to select files and copy them to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive. Copy and Sync is that method, and the data passes through the data broker
  • Backup and Recovery also uses S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive. What Backup and Recovery puts in S3 are volume backups, which users restore as volumes or files
  • The classes you can choose with Cloud Tiering are S3 Standard and the four that lifecycle rules can move data to
  • With FSx for ONTAP server-side copy, you select files and copy them into the eight general purpose bucket classes without a transfer host. The eight are the seven of Copy and Sync plus S3 Reduced Redundancy. You build change sync, schedules and target selection yourself. The size limits are in the section "Copy size limits: 5 GiB and 50 GiB"

How to choose by purpose:

  • You want to sync a directory regularly and follow changes on a schedule: a sync tool (Copy and Sync, AWS DataSync and others)
  • You want to protect at the volume level and restore volumes or files: backup (Backup and Recovery on premises; backups and SnapMirror on FSx for ONTAP)
  • You want to move cold blocks (blocks that have not been read recently) to a cheaper tier without changing file paths: tiering (FabricPool and Cloud Tiering on premises; the capacity pool on FSx for ONTAP)
  • You want to select files and copy them with a bucket class that you specify: server-side copy on FSx for ONTAP

Another practice archives at the file level with an external data management tool. The tool selects targets by the last access time or similar, and lets you read the file back from the original path. Server-side copy replaces only the data movement. It does not select files or read them back from the original path.

An ONTAP S3 NAS bucket (a feature that lets you read NAS data through the S3 API) is for applications that use the S3 API to read NAS data without copying it. As with the table above, this is an explanation based on the NetApp documentation, and I did not try it in this post. I think S3 Access Points serve the same purpose on FSx for ONTAP (I did not compare the behavior with NAS buckets).

How to check this in your environment

  1. Copy one small file from a bucket to an access point, and read its storage class and encryption
   aws s3api copy-object \
     --bucket <destination access point alias> \
     --key check/sample.bin \
     --copy-source <source bucket>/check/sample.bin
   aws s3api head-object --bucket <destination access point alias> --key check/sample.bin \
     --query '[StorageClass,ServerSideEncryption,ContentLength]' --output text
Enter fullscreen mode Exit fullscreen mode

If the output is FSX_ONTAP, aws:fsx and the same byte count as the source, you have confirmed that the IAM permissions and the network used for this call can copy to the access point

  1. Copy a file larger than 5 GiB from a bucket to an access point with aws s3 cp. Read the destination file over NFS, compute its SHA-256, and compare it with the source's SHA-256. If they match, the multipart copy succeeded
  2. Read the destination file with stat, and check whether the owner and permissions are what your application that reads the file expects. With this post's setting (file system user root), they were 0:1 and 644
  3. Copy a file from the volume's access point to a bucket with --storage-class DEEP_ARCHIVE, restore it on the bucket side, and copy it back with CopyObject after Restore in head-object shows ongoing-request="false". S3 Glacier Deep Archive has a 180-day minimum storage duration, so use a small file if you try it

The detailed tables, use-case guidance and the integration status of AWS services are in the notes of my GitHub repository, FSx for ONTAP Adoption Playbook. The notes are in Japanese.

I hope this helps anyone who is planning to move NAS files to long-term storage classes, or to hand bucket data to applications as files.

See you next time.

Bye now!!

Yoshiki Fujiwara

Top comments (0)