Editing settings for your NFS file share - Amazon Storage Gateway
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Amazon FSx File Gateway documentation has been moved to What is Amazon FSx File Gateway?

Volume Gateway documentation has been moved to What is Volume Gateway?

Tape Gateway documentation has been moved to What is Tape Gateway?

Editing settings for your NFS file share

You can edit the storage class for your Amazon S3 bucket, file share name, object metadata, squash level, export as, and automated cache refresh settings.

Note

You cannot edit an existing file share to point to a new bucket or access point, or to modify the VPC endpoint settings. You can configure those settings only when creating a new file share.

To edit the file share settings
  1. Open the Storage Gateway console at https://console.amazonaws.cn/storagegateway/home.

  2. Choose File shares, and then choose the file share that you want to update.

  3. For Actions, choose Edit share settings.

  4. Do one or more of the following:

    • (Optional) For File share name, enter a new name for the file share.

    • For Audit logs, choose one of the following:

      • Choose Disable logging to turn off logging.

      • Choose Create a new log group to create a new audit log.

      • Choose Use an existing log group, and then choose an existing audit log from the list.

      For more information about audit logs, see Understanding S3 File Gateway audit logs.

    • (Optional) For Automated cache refresh from S3, select the check box and set the time in days, hours, and minutes to refresh the file share's cache using Time To Live (TTL). TTL is the length of time since the last refresh. After the TTL interval has elapsed, accessing the directory causes the File Gateway to first refresh that directory's contents from the Amazon S3 bucket.

    • (Optional) For File upload notification, choose the check box to be notified when a file has been fully uploaded to S3 by the S3 File Gateway. Set the Settling Time in seconds to control the number of seconds to wait after the last point in time that a client wrote to a file before generating an ObjectUploaded notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period. For more information, see Getting file upload notification.

      Note

      This setting has no effect on the timing of the object uploading to S3, only on the timing of the notification.

    • For Storage class for new objects, choose a storage class to use for new objects created in your Amazon S3 bucket:

      • Choose S3 Standard to store your frequently accessed object data redundantly in multiple Availability Zones that are geographically separated. For more information about the S3 Standard storage class, see Storage classes for frequently accessed objects in the Amazon Simple Storage Service User Guide.

      • Choose S3 Intelligent-Tiering to optimize storage costs by automatically moving data to the most cost-effective storage access tier. For more information about the S3 Intelligent-Tiering storage class, see Storage class for automatically optimizing frequently and infrequently accessed objects in the Amazon Simple Storage Service User Guide.

      • Choose S3 Standard-IA to store your infrequently accessed object data redundantly in multiple Availability Zones that are geographically separated. For more information about the S3 Standard-IA storage class, see Storage classes for infrequently accessed objects in the Amazon Simple Storage Service User Guide.

      • Choose S3 One Zone-IA to store your infrequently accessed object data in a single Availability Zone. For more information about the S3 One Zone-IA storage class, see Storage classes for infrequently accessed objects in the Amazon Simple Storage Service User Guide.

    • For Object metadata, choose the metadata that you want to use:

      • Choose Guess MIME type to enable guessing of the MIME type for uploaded objects based on file extensions.

      • Choose Give bucket owner full control to give full control to the owner of the S3 bucket that maps to the file's Network File System (NFS) or Server Message Block (SMB) file share. For more information on using your file share to access objects in a bucket owned by another account, see Using a file share for cross-account access.

      • Choose Enable requester pays if you are using this file share on a bucket that requires the requester or reader instead of bucket owner to pay for access charges. For more information, see Requester pays buckets.

    • For Squash level, choose the squash level setting that you want for your NFS file share, and then choose Save.

      Note

      You can choose a squash level setting for NFS file shares only. SMB file shares don't use squash settings.

      Possible values are the following:

      • Root squash (default) – Access for the remote superuser (root) is mapped to UID (65534) and GID (65534).

      • No root squash – The remote superuser (root) receives access as root.

      • All squash – All user access is mapped to UID (65534) and GID (65534).

      The default value for squash level is Root squash.

    • For Export as, choose an option for your file share. The default value is Read-write.

      Note

      For file shares mounted on a Microsoft Windows client, if you select Read-only for Export as, you might see an error message about an unexpected error keeping you from creating the folder. This error message is a known issue with NFS version 3. You can ignore the message.

  5. Choose Save.