Creating a Location for Amazon FSx for Windows File Server - AWS DataSync

Creating a Location for Amazon FSx for Windows File Server

A location for Amazon FSx for Windows is an endpoint for an Amazon FSx for Windows File Server. AWS DataSync accesses your Amazon FSx for Windows File Server using the SMB protocol. It authenticates with the user name and password that you configure in the AWS DataSync console or AWS CLI.

To ensure sufficient permissions to files, folders, and file metadata, we recommend that you make this user a member of the file system administrators group. If you are using AWS Directory Service for Microsoft Active Directory with Amazon FSx for Windows File Server, the user must be a member of the AWS Delegated FSx Administrators. If you are using a self-managed Microsoft Active Directory with your Amazon FSx for Windows File Server, the user must be a member of one of two groups. These are the group of domain admins or the custom group you specified for file system administration when you created your file system.

The DataSync service mounts your file system from your virtual private cloud (VPC) from Elastic Network Interfaces managed by the DataSync service. DataSync fully manages the creation, the use, and the deletion of these network interfaces on your behalf.

If you don't have an Amazon FSx for Windows File Server in the current AWS Region, create one. For information about how to create an Amazon FSx for Windows File Server, see Getting Started with Amazon FSx in the Amazon FSx for Windows File Server User Guide.

Note

DataSync currently doesn't support transferring files to Amazon FSx for Windows File Server volumes that are in dedicated tenancy VPCs. For information about dedicated tenancy VPCs, see Creating a VPC with an Instance Tenancy of Dedicated in the Amazon EC2 User Guide for Linux Instances.

Topics

    To create an FSx location

    1. Open the AWS DataSync console at https://console.aws.amazon.com/datasync/.

    2. In the navigation pane, choose Locations. The locations that you previously created appear in the list of locations.

    3. Choose Create Location to open the Create location page. For Location type, choose Amazon FSx for Windows File Server.

    4. For FSx for Windows File system, choose the Amazon FSx for Windows File Server that you want to use as an endpoint. You configure this location as a source or destination later.

    5. For Share name, enter the mount path for your FSx file server. The path can include a subdirectory. If so, this is a subdirectory in the Amazon FSx for Windows File Server that is used to read data from the FSx location or write data to the FSx destination.

      Note

      The subdirectory must be specified with forward slashes, for example /path/to/folder.

    6. For Security Group, the DataSync console automatically chooses the default security group of the subnet for the chosen Amazon FSx for Windows File Server. We recommend using these default settings.

      Note

      DataSync uses the security group specified in this step to connect to your Amazon FSx for Windows File Server. If the security group is configured to disallow connections from within itself, you have two options:

      • Change the security group configuration to allow the security group to communicate within itself.

      • Choose a different security group, so the selected security group can communicate with the mount target's security group.

    7. In the User settings section, provide the information for Amazon FSx for Windows File Server:

      User

      The user that can mount the location and has the permissions to access FSx server.

      Password

      The password of the user that can mount the location and has the permissions to access files and folders in the Amazon FSx for Windows File Server.

      Domain

      (Optional) The name of the domain the Amazon FSx for Windows File Server belongs to.

    8. (Optional) Provide values for the Key and Value fields to tag the Amazon FSx for Windows File Server. A tag is a key-value pair that helps you manage, filter, and search for your locations. We recommend using tags to name your resources.

    9. When you are done, choose Create location. The location that you just created appears in the list of locations.