Creating an Amazon FSx for Lustre location for Amazon DataSync - Amazon DataSync
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.

Creating an Amazon FSx for Lustre location for Amazon DataSync

A location is an endpoint for your Amazon FSx for Lustre file system. Amazon DataSync can use the location as a source or destination for copying data.

For more information about FSx for Lustre file systems, see What is Amazon FSx for Lustre?

Accessing FSx for Lustre file systems

DataSync accesses your FSx for Lustre file system using the Lustre client. DataSync requires access to all data on your FSx for Lustre file system. To have this level of access, DataSync mounts your file system as the root user using a user ID (UID) and group ID (GID) of 0.

DataSync mounts your file system from your virtual private cloud (VPC) using network interfaces. DataSync fully manages the creation, the use, and the deletion of these network interfaces on your behalf.

Note

VPCs that you use with DataSync must have default tenancy. VPCs with dedicated tenancy are not supported. For more information, see Work with VPCs.

Creating the location

If you don't have an FSx for Lustre in your Amazon Web Services Region, create one. For more information, see Getting started with Amazon FSx for Lustre in the Amazon FSx for Lustre User Guide.

To create an FSx for Lustre location
  1. Open the Amazon DataSync console at https://console.amazonaws.cn/datasync/.

  2. In the left navigation pane, choose Locations, and then choose Create location.

  3. For Location type, choose Amazon FSx.

    You configure this location as a source or destination later.

  4. For FSx file system, choose the FSx for Lustre file system that you want to use as a location.

  5. For Mount path, enter the mount path for your FSx for Lustre file system.

    The path can include a subdirectory. When the location is used as a source, DataSync reads data from the mount path. When the location is used as a destination, DataSync writes all data to the mount path. If a subdirectory isn't provided, DataSync uses the root directory (/).

  6. For Security groups, choose up to five security groups that provide access to your FSx for Lustre file system.

    The security groups must be able to access the file system's ports. Also, the file system must allow access from the security groups.

    For more information about security groups, see File System Access Control with Amazon VPC in the Amazon FSx for Lustre User Guide.

  7. (Optional) Enter values for the Key and Value fields to tag the FSx for Lustre file system.

    Tags help you manage, filter, and search for your Amazon resources. We recommend creating at least a name tag for your location.

  8. Choose Create location.