Step 2: Map your file share to an EC2 instance running Windows Server - Amazon FSx for Windows File Server

Step 2: Map your file share to an EC2 instance running Windows Server

You can now mount your Amazon FSx file system to your Microsoft Windows–based Amazon EC2 instance joined to your AWS Directory Service directory. The name of your file share is not the same as the name of your file system.

To map a file share on an Amazon EC2 Windows instance using the GUI

  1. Before you can mount a file share on a Windows instance, you must launch the EC2 instance and join it to an AWS Directory Service for Microsoft Active Directory. To perform this action, choose one of the following procedures from the AWS Directory Service Administration Guide:

  2. Connect to your instance. For more information, see Connecting to Your Windows Instance in the Amazon EC2 User Guide for Windows Instances.

  3. When you're connected, open File Explorer.

  4. From the navigation pane, open the context (right-click) menu for Network and choose Map Network Drive.

  5. Choose a drive letter of your choice for Drive.

  6. You can map your file system using either its default DNS name assigned by Amazon FSx, or using a DNS alias of your choosing. This procedure describes mapping a file share using the default DNS name. If you want to map a file share using a DNS alias, see Walkthrough 5: Using DNS aliases to access your file system.

    For Folder, enter the file system DNS name and the share name. The default Amazon FSx share is called \share. You can find the DNS name in the Amazon FSx console, https://console.aws.amazon.com/fsx/, Windows File Server > Network & Security section, or in the response of CreateFileSystem or DescribeFileSystems API command.

    • For a Single-AZ file system joined to an AWS Managed Microsoft Active Directory, the DNS name looks like the following.

      fs-0123456789abcdef0.ad-domain.com
    • For a Single-AZ file system joined to a self-managed Active Directory, and any Multi-AZ file system, the DNS name looks like the following.

      amznfsxaa11bb22.ad-domain.com

    For example, enter \\fs-0123456789abcdef0.ad-domain.com\share.

  7. Choose whether the file share should Reconnect at sign-in, and then choose Finish.