AWS integration
Create an AWS integration with SuperAnnotate to add items from your AWS S3 bucket(s) to SuperAnnotate. SuperAnnotate will have read-only access to your data; your items are stored in your AWS S3 buckets and are only displayed in SuperAnnotate.
Permissions
Only Team Owners and Team Admins can create and manage integrations.
Create an AWS integration
Enable CORS for Text Projects
You’ll need to enable CORS in your storage to add items in your Text Projects. Learn more.
Step 1: Go to the integrations page
- In Integrations, click New Integration.
- On the setup page, type the name of your integration under Integration Name.
- You can add the integration to a selected team or multiple teams. The integration will be available in the selected team(s) only. Note that this step is optional. If you don’t select a team, then the integration won’t be added to any team. You can always add the integration to a team from the Integrations list.
Adding or removing a team allows or restricts access to the data related to this integration.
Step 2: Create a policy JSON in SuperAnnotate
-
On the setup page, type the name of an existing S3 bucket under Bucket Name in the Create Policy section. The bucket name will be automatically added to the policy JSON below the input field.
-
Use the policy JSON to create an IAM policy, as demonstrated in Step 3. This policy gives SuperAnnotate read-only access to your bucket.
Step 3: Create an IAM policy
- Go to your IAM console.
- Click Policies under Access management in the left panel.
- In the Policies tab, click Create Policy.
- Go to the JSON tab and enter the policy JSON mentioned in the second bullet point of Step 2.
- Click Next: Tags > Next: Review.
- On the Review policy page, type the name of your policy.
- Click Create policy.
Now that you’ve created an IAM policy, it’s time to create an AWS role so stay in your IAM console. See how to do that in Step 4.
Step 4: Create an AWS role
- In your IAM console, click Roles under Access management.
- In the Roles tab, click Create role.
- Click Another AWS account. Here you have to enter the Account ID. You can find it in SuperAnnotate’s integration popup, under SuperAnnotate’s AWS Account ID.
- Next to Options, check the Require external ID box and enter the external ID. You can find it in SuperAnnotate’s integration popup, under External ID.
- Click Next:Permissions.
- Under Attach permission policies, select the policy you created.
- Click Next:Tags.
- Click Next:Review.
- In the Review tab, type a role name.
- Click Create role.
Step 5: Edit trust relationship
- After clicking Create role, you’ll be redirected to a page with all your roles. Select the role you just created.
- Select the Trust relationships tab.
- Click Edit trust relationship.
- Delete the policy document in the JSON tab and replace it with the policy JSON in SuperAnnotate’s AWS integration setup in the Edit Trust Relationship section.
- Click Update Trust Policy.
Step 6: Add the role ARN
- After clicking Update Trust Policy, you’ll be redirected to a page called Summary. Copy the Role ARN from that page.
- Enter the Role ARN in SuperAnnotate’s AWS integration setup.
- In SuperAnnotate’s AWS integration setup, click Create.
Messages
- If the integration is created successfully, you'll see this message:
You've successfully created the integration.
- If the integration couldn't be created, you'll see this message:
Oh no! The integration couldn’t be created.
Who can create and use integrations?
- Only Team Owners can create integrations.
- Only Team Owners, Team Admins, and Project Admins (with permission) can use integrations.
To allow Project Admins to use integrations, check the Upload box under Project Admin Permissions in Settings.
Limitations
- You can't upload more than 50,000 items to the root or a folder. The remaining items will be skipped.
- A project can't contain more than 500,000 items.
- A folder name can't exceed 120 characters and can't contain the following characters: / \ : * ? " < > |
Validate integration
To validate your AWS integration:
- In Integrations, find your integration.
- Click the three dots button.
- Select Check connection.
- If the integration is valid, you’ll see a success message that says: “The connection of the integration “[your integration name]” is valid.”
- If the integration is invalid, you’ll see an error message that says: “The connection of the integration “[your integration name]” is invalid.”
Messages
- If the connection is valid, you'll see this message:
The connection is valid.
- If the connection isn't valid, you'll see this message:
The connection is not valid.
Edit team
To add or remove an integration to a team or multiple teams:
- In Integrations, find your integration.
- Click the three dots button.
- Select Edit team.
- Add or remove teams.
- Click Save.
Delete integration
To delete an integration:
- In Integrations, find your integration.
- Click the three dots button.
- Select Delete Integration.
- In the popup, click Delete.
Message
If the integration is successfully deleted, you'll see this message:
You've successfully deleted the integration.
Who can delete integrations?
Only Team Owners can delete integrations.
Add items with AWS integration
You can add items from your AWS S3 bucket(s) to Image Projects, Video Projects, and Text Projects.
- In Data, click Add.
- Select Upload Images, Upload Video (with frames), Upload Videos, or Upload Documents (depending on your project type).
- Go to External Storage.
- In Integrations, choose an integration (mandatory) and type a folder path (optional).
- Click Upload.
When the upload is in progress, you'll see this message: Your upload is in progress. This might take a while. Click Refresh to see your uploaded items.
When you see that, refresh the page.
Message
- If the items failed to upload, you'll see this message:
Oh no! Your items failed to upload.
When you add items from an integrated AWS bucket to SuperAnnotate, you can’t:
- Run Smart Segmentation
- Run Smart Prediction
- Create models and run trainings
- Export in the COCO format
- Set the upload quality in Settings
Updated 4 days ago