Set up a storage integration with MinIO and S3-compatible custom storage services
How to import assets in private buckets on AWS S3 for labeling on Ango Hub
Last updated
How to import assets in private buckets on AWS S3 for labeling on Ango Hub
Last updated
Administrators and project managers can import assets to Ango Hub from S3-compatible storage services.
Once you have created a storage integration by following the steps in this page, you are ready to import files by providing Ango Hub with URLs to files in your private buckets. You may follow the steps in this page to do so: Importing Cloud (Remote) Assets
The CORS header below allows Ango Hub to send a request to your cloud storage, and allows your cloud storage to explicitly allow requests from Hub. This is a necessary step to ensure Hub can connect to your private bucket.
The steps to follow to set up CORS with Ango Hub can be found here. On that page, you may follow the instructions for AWS S3 buckets.
Once you've set up CORS for your bucket, you will need to create a connection between Hub and the bucket itself.
You will need your bucket's Access Key ID and Secret Key. To obtain them, you will need to create an IAM user on your custom storage provider's management dashboard.
Once you have obtained the two strings, go to your organization's page, then click on Storages and Add Storage.
From the dialog that pops up, pick "S3 Compatible" and click on "Next".
Provide your connection with a unique name, the URL of your MinIO or your S3-compatible service, the aforementioned keys, and the region. Click on "Next".
You will be shown a screen asking you if you'd like to validate whether your storage has been successfully connected to Ango Hub. Please follow the instructions on this docs page for information on how to use the validation form. When you are done, click on "Create Storage". You may click on it immediately if you wish to skip validating your storage integration.
Your bucket will be linked to Hub, and it will show up in your list of integrations.
After connecting your bucket, you will need to prepare a JSON file containing each asset’s external ID as well as the asset's full absolute path and, optionally, other information.
Follow the steps outlined in the docs page on Importing Cloud (Remote) Assets.