Create an SFTP-enabled server - Amazon Transfer Family
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 (PDF).

Create an SFTP-enabled server

Secure Shell (SSH) File Transfer Protocol (SFTP) is a network protocol used for secure transfer of data over the internet. The protocol supports the full security and authentication functionality of SSH. It's widely used to exchange data, including sensitive information between business partners in a variety of industries such as financial services, healthcare, retail, and advertising.

Note

SFTP servers for Transfer Family operate over port 22. For VPC-hosted endpoints, SFTP Transfer Family servers can also operate over port 2222. For details, see Create a server in a virtual private cloud.

See also

To create an SFTP-enabled server
  1. Open the Amazon Transfer Family console at https://console.amazonaws.cn/transfer/ and select Servers from the navigation pane, then choose Create server.

  2. In Choose protocols, select SFTP, and then choose Next.

    
                        The Choose protocols  console section with
                                SFTP selected.
  3. In Choose an identity provider, choose the identity provider that you want to use to manage user access. You have the following options:

    • Service managed – You store user identities and keys in Amazon Transfer Family.

      
                                The Choose an identity provider console
                                    section with Service managed
                                    selected.
    • Amazon Directory Service for Microsoft Active Directory – You provide an Amazon Directory Service directory to access the endpoint. By doing so, you can use credentials stored in your Active Directory to authenticate your users. To learn more about working with Amazon Managed Microsoft AD identity providers, see Using the Amazon Directory Service identity provider.

      Note
      
                                The Choose an identity provider console section with
                                    Amazon Directory Service selected.
    • Custom identity provider – Choose either of the following options:

      For either option, you can also specify how to authenticate.

      • Password OR Key – users can authenticate with either their password or their key. This is the default value.

      • Password ONLY – users must provide their password to connect.

      • Key ONLY – users must provide their private key to connect.

      • Password AND Key – users must provide both their private key and their password to connect. The server checks the key first, and then if the key is valid, the system prompts for a password. If the private key provided does not match the public key that is stored, authentication fails.

      
                The Choose an identity provider
                 console section with Custom identity
                 provider selected. Also has the default
                 value selected, which is that users can authenticate
                 using either their password or key.
  4. Choose Next.

  5. In Choose an endpoint, do the following:

    1. For Endpoint type, choose the Publicly accessible endpoint type. For a VPC hosted endpoint, see Create a server in a virtual private cloud.

    2. (Optional) For Custom hostname, choose None.

      You get a server hostname provided by Amazon Transfer Family. The server hostname takes the form serverId.server.transfer.regionId.amazonaws.com.

      For a custom hostname, you specify a custom alias for your server endpoint. To learn more about working with custom hostnames, see Working with custom hostnames.

    3. (Optional) For FIPS Enabled, select the FIPS Enabled endpoint check box to ensure that the endpoint complies with Federal Information Processing Standards (FIPS).

      Note

      FIPS-enabled endpoints are only available in North American Amazon Regions. For available Regions, see Amazon Transfer Family endpoints and quotas in the Amazon Web Services General Reference. For more information about FIPS, see Federal Information Processing Standard (FIPS) 140-2 .

    4. Choose Next.

    
                        The Choose an endpoint console section with
                                Publicly accessible selected.
  6. On the Choose domain page, choose the Amazon storage service that you want to use to store and access your data over the selected protocol:

    • Choose Amazon S3 to store and access your files as objects over the selected protocol.

    • Choose Amazon EFS to store and access your files in your Amazon EFS file system over the selected protocol.

    Choose Next.

  7. In Configure additional details, do the following:

    1. For logging, specify an existing log group or create a new one (the default option).

      
                Logging pane for Configure additional details in the Create server wizard.
                    Create a new log group is selected.

      If you choose an existing log group, you must select one that is associated with your Amazon Web Services account.

      
                Logging pane for Configure additional details in the Create server wizard.
                    Choose an existing log group is selected.

      If you choose Create log group, the CloudWatch console (https://console.amazonaws.cn/cloudwatch/) opens to the Create log group page. For details, see Create a log group in CloudWatch Logs.

    2. (Optional) For Managed workflows, choose workflow IDs (and a corresponding role) that Transfer Family should assume when executing the workflow. You can choose one workflow to execute upon a complete upload, and another to execute upon a partial upload. To learn more about processing your files by using managed workflows, see Amazon Transfer Family managed workflows.

      
                                The Managed workflows console section.
    3. For Cryptographic algorithm options, choose a security policy that contains the cryptographic algorithms enabled for use by your server. Our latest security policy is the default: for details, see Security policies for Amazon Transfer Family servers.

      
                                The Cryptographic algorithm options
                                    console section with a security policy selected.
    4. (Optional) For Server Host Key, enter an RSA, ED25519, or ECDSA private key that will be used to identify your server when clients connect to it over SFTP. You can also add a description to differentiate among multiple host keys.

      After you create your server, you can add additional host keys. Having multiple host keys is useful if you want to rotate keys or if you want to have different types of keys, such as an RSA key and also an ECDSA key.

      Note

      The Server Host Key section is used only for migrating users from an existing SFTP-enabled server.

      
                                The Server Host Key console
                                    section.
    5. (Optional) For Tags, for Key and Value, enter one or more tags as key-value pairs, and then choose Add tag.

    6. Choose Next.

      
                                The Tags console section.
    7. You can optimize performance for your Amazon S3 directories. For example, suppose that you go into your home directory, and you have 10,000 subdirectories. In other words, your S3 bucket has 10,000 folders. In this scenario, if you run the ls (list) command, the list operation takes between six and eight minutes. However, if you optimize your directories, this operation takes only a few seconds.

      
                                The Optimized directories console section.
    8. (Optional) Configure Amazon Transfer Family servers to display customized messages such as organizational policies or terms and conditions to your end users. For Display banner, in the Pre-authentication display banner text box, enter the text message that you want to display to your users before they authenticate.

      
                                The Display banner console section.
    9. (Optional) You can configure the following additional options.

      • SetStat option: enable this option to ignore the error that is generated when a client attempts to use SETSTAT on a file you are uploading to an Amazon S3 bucket. For additional details, see the SetStatOption documentation in the ProtocolDetails.

      • TLS session resumption: this option is only available if you have enabled FTPS as one of the protocols for this server.

      • Passive IP: this option is only available if you have enabled FTPS or FTP as one of the protocols for this server.

  8. In Review and create, review your choices.

    • If you want to edit any of them, choose Edit next to the step.

      Note

      You must review each step after the step that you chose to edit.

    • If you have no changes, choose Create server to create your server. You are taken to the Servers page, shown following, where your new server is listed.

It can take a couple of minutes before the status for your new server changes to Online. At that point, your server can perform file operations for your users.


                The Servers console page with the new server ID and a
                    status of Starting.