Menu
AWS Storage Gateway
User Guide (API Version 2013-06-30)

Creating a File Share

In the following section, you can find instructions on how to create a file share.

Important

To create a file share, a file gateway requires you to activate AWS Security Token Service (AWS STS). Make sure AWS STS is activated in the AWS Region that you are creating your file gateway in. If AWS STS is not activated in that AWS Region, activate it. For information about how to activate AWS STS, see Activating and Deactivating AWS STS in an AWS Region in the IAM User Guide.

To create a file share

  1. Open the AWS Storage Gateway console at https://console.aws.amazon.com/storagegateway/home.

  2. On the navigation pane, choose File shares, and then choose Create file share. You can also choose Create file share from the Gateway tab.

  3. In the Create file share wizard, choose your gateway from the Gateway list.

  4. For Amazon S3 bucket name, provide a name for the Amazon S3 bucket for your gateway to store your files in and retrieve your files to. This name must be compliant with Domain Name Service (DNS). This bucket must also exist already; it won’t be created for you. For information on DNS-compliant names for buckets, see Rules for Bucket Naming in the Amazon Simple Storage Service Developer Guide.

  5. For storage class for new objects, choose a storage class to use for new objects created in your Amazon S3 bucket.

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

  7. Choose the AWS Identity and Access Management (IAM) role that you want your gateway to use to access your Amazon S3 bucket. This role allows the gateway to access your S3 bucket. A file gateway can create a new IAM role and access policy on your behalf. Or, if you have an IAM role you want to use, you can specify it in the IAM role box and set up the access policy manually. For more information, see Granting Access to an Amazon S3 Bucket.

  8. Choose Next to review configuration settings for your file share. You can change the allowed NFS clients for Allowed clients. To change the Squash level option and Export as options for Mount options. Or, to change file metadata default settings for File metadata defaults, choose Edit next to the setting you want to change.

    Note

    For file shares mounted on a 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.

  9. Configure Allowed clients to allow or restrict client's access to your file share. For more information, see Editing Allowed NFS Clients.

  10. (Optional) Modify the mount options for your file share as needed. For more information, see Updating a File Share.

  11. (Optional) Modify the file metadata defaults as needed. For more information, see Editing Metadata Defaults.

  12. Review your file share configuration settings, and then choose Create file share. After your file share is created, you can see your file share settings in the file share's Details tab.

Next Steps:

Using Your File Share