Set up an AWS Transfer Family web app
TUTORIAL
Task 3: Create the instance
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
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.
Time to complete
5 minutes
Requires
- An AWS account: If you don't already have an account, follow the Setting Up Your Environment tutorial.
- An internet browser
-
Step 1: Create an S3 Access Grants instance
1. Open HAQM S3 Access Grants console, and choose Create S3 Access Grants instance.
2. Select Add IAM Identity Center instance. For IAM Identity Center instance ARN, enter the InstanceARN you copied in Task 1 and choose Next.
-
Step 2: Register a location
2. 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.
3. Choose Register location to continue.
- For the Scope, select Browse and choose your bucket.
-
Step 3: Create Grant
2. For Location, choose Browse locations, then choose the location that you registered in the Register a location section. Then select Choose path.
3. 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.
4. Choose Create Grant.
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.