Update your access endpoint with a custom URL - AWS Transfer Family

Update your access endpoint with a custom URL

The default access endpoint that is created with your web app contains service-generated identifiers. To provide a branded experience, you may want to provide a custom URL for your users to access your Transfer Family web app. This topic describes how to update your access endpoint with a custom URL.

To customize your web app URL
  1. Create a CloudFront distribution by using the Transfer Family supplied AWS CloudFormation template, CloudFormation stack template. Provide the following information to the template.

    • WebAppEndpoint: copy the value from your web app

    • AccessEndpoint: provide the custom domain name that you want to use

    • AcmCertificateArn: provide the ARN for a public or private SSL/TLS certificate that is stored in AWS Certificate Manager

  2. In your web app, edit the Access endpoint, updating the Custom URL to the URL that you want to use.

    Screen showing a custom access endpoint for a Transfer Family web app.
  3. Create DNS records to route traffic for your custom domain name to the CloudFront distribution. If you're using Route 53 for the zone, you can create an Alias or CNAME record to the CloudFront distribution name (for example, xxxx.cloudfront.net). For information about using Amazon Route 53 with CloudFront, see Configuring Amazon Route 53 to route traffic to a CloudFront distribution.

  4. Update your cross-origin resource sharing policy by replacing the default access endpoint with the following line in the AllowedOrigins code block:

    "https://custom-url"

    You need to make this change for each bucket used by your web app.

    After you make your update, the AllowedOrigins section of your CORS policy should look like the following:

    "AllowedOrigins": [ "https://custom-url"],

    You need only a single AllowedOrigins entry for each Transfer Family web app.

    See the Set up Cross-origin resource sharing (CORS) for your Amazon S3 bucket procedure for more details.

You can now visit your custom access endpoint, and share this link with your end users.