View a markdown version of this page

Task 3: Create the instance - Set up an AWS Transfer Family web app

Task 3: Create the instance

Time to complete

5 minutes

Requires

Get help

Amazon S3 Access Grants Instance Troubleshooting

Overview

In this task, you will create an S3 access grants instance, register a location, and set up an access grant for the S3 bucket you’ve created in the previous task.

Implementation

  1. Open the console

    Open Amazon S3 Access Grants console, and choose Create S3 Access Grants instance.

    The navigation menu interface for opening the console.
  2. Add Identity Center instance ARN

    Select Add IAM Identity Center instance. For IAM Identity Center instance ARN, enter the InstanceARN you copied in Task 1 and choose Next.

    The resource creation interface.
  3. Create the instance

    Choose Next to create an S3 Access Grants instance.

    Select Cancel. (Note: This is for ease of creating a new IAM Role).

    The resource creation interface.
  1. Open Locations

    Choose the Locations tab.

    The navigation interface.
  2. Configure location

    On the Register location page, do the following:

    • For the Scope, select Browse and choose your bucket.

      • Note that the scope begins with the string s3://.

    • For the IAM role, choose Create new role.

      • This role allows S3 Access Grants to access your specified location scope.

    Choose Register location to continue.

    The navigation interface.
  1. Create a grant

    Choose Create Grant.

    The resource creation interface.
  2. Choose location

    For Location, choose Browse locations, then choose the location that you registered in the Register a location section.

    Then select Choose path.

    The selection interface.
  3. Configure and create grant

    On the Path page, do the following:

    • For Subprefix, enter * to indicate that the access grant applies to the entire bucket.

    • For Permissions, select Read and Write.

    • For Grantee type, select Directory identity from IAM Identity Center.

    • For Directory identity type, select User.

    • For IAM Identity Center user ID, enter the user ID you copied in Task 1.

    Choose Create Grant.

    The resource creation interface.

Conclusion

In this task, you created an S3 Access Grants instance, registered a location, and set up an access grant for the S3 bucket you created in the previous task.