Connecting drives
Connect external drives to AI Hub to expand your available storage space for AI Hub projects and conveniently maintain and upload files from your own storage. Organizations can additionally use connected drives as a location to save processed AI Hub files.
About drives
All AI Hub accounts include up to one terabyte of storage on Instabase Drive for AI Hub projects and documents. In addition to the Instabase Drive, AI Hub supports connecting the following types of external storage:
-
Google Drive
-
Commercial & Enterprise Amazon S3
-
Commercial & Enterprise Azure Blob Storage
-
Commercial & Enterprise Google Cloud Storage
Not all drives support the same AI Hub functionality. See the following table for a summary:
Workspace and organization drives
External drives can be connected at the workspace or organization level. Drives connected at the workspace level are available only within that workspace and all members of the workspace can access files on the drive. Drives connected at the organization level are available to all workspaces in the organization and all members of the organization can access files on the drive.
While any drive that’s accessible in the workspace can be used as a source of input files, processed files are saved to the workspace’s default drive, unless otherwise specified.
Default drives
A default drive is the drive where all processed AI Hub files in a workspace are stored by default. Processed AI Hub files include Build project files, Converse conversation files, and app run results. Default drives can be assigned at the organization level or the workspace level. The organization-level default drive applies to all workspaces in the organization, unless the workspace has a previously assigned workspace-level default drive. If a workspace has a default drive assigned at the workspace level, this overrides any changes to the organization-level default drive.
All workspaces and organizations, by default, have Instabase Drive as the default drive. The Instabase Drive can’t be removed, but you can change the default drive to another connected drive.
Changing the default drive impacts projects and conversations
When you change the default drive, files stored on the previous default drive are not automatically migrated to the new default drive. In practice, this means that when the default drive changes for a workspace:
-
Any Build projects in the workspace must be deleted or migrated to the new default drive. When members open an affected Build project, they see a dialog that can’t be dismissed. To continue working with the project, members must migrate the project.
-
Any existing conversations in the workspace become limited to previously uploaded files. Members can continue to view their conversation history and converse with any files already added to the conversation. To upload new files, members must create a new conversation.
Connecting drives
Organization admins can connect organization drives.
-
In the header, click the initials icon and select Settings.
-
Select the Drives tab.
-
Click + Add Drive.
-
Select a drive type.
-
Follow the configuration steps for the selected drive type:
In organizations, workspace members, including organization admins, can connect workspace drives. Community accounts have a single workspace, so all drives are workspace drives.
-
From Workspaces, select the workspace.
-
Click Data Sources to open the data sources panel, then click the + icon and select Workspace drive.
-
Select a drive type.
-
Follow the configuration steps for the selected drive type.
Google Drive
You can connect a Google Drive and upload files from your own and shared drives on the parent drive. In addition to standard file types, AI Hub supports uploading some Google-native file types, specifically Google Docs (.gdoc), Google Sheets (.gsheet), and Google Slides (.gslides).
To connect a Google Drive:
-
In the drive selection dialog, select Google Drive.
-
Enter a name for your drive.
-
Click Connect to Google Drive.
-
Select and sign in to the Google account with the Google Drive you want to connect.
-
Click Allow to grant AI Hub the necessary permissions (
see
,edit
,create
, anddelete
).
Amazon S3
Connecting to your Amazon S3 bucket requires an AWS IAM access key with the following permissions:
When connecting Amazon S3 as a drive, the following settings are available:
To connect an Amazon S3 bucket:
-
In the drive selection dialog, select Amazon S3, then click Next.
-
Enter a name for your drive and, optionally, a description.
-
Enter your access key ID.
-
Enter your secret access key.
-
Enter the name of the S3 bucket.
-
Enter the AWS region of the bucket.
-
(Optional) In the Path to drive field, define a file path to a specific folder within the bucket.
-
(Optional) Select a server-side encryption type. If selecting SSE-KMS, also enter the server-side encryption KMS key ID.
-
Click Add.
Azure Blob Storage
When connecting Azure Blob Storage as a drive, the following settings are available:
To connect an Azure Blob Storage container:
-
In the drive selection dialog, select Azure Blob Storage.
-
Enter a name for your drive and, optionally, a description.
-
Enter your container name.
-
Select an auth method.
-
If the selected auth method is connection string, enter the connection string.
-
If the selected auth method is service principal, enter the service URL, tenant ID, client ID, and client secret.
-
-
Click Add.
Google Cloud Storage
When connecting Google Cloud Storage as a drive, the following settings are available:
To connect a Google Cloud Storage bucket:
-
In the drive selection dialog, select Google Cloud Storage.
-
Enter a name for your drive.
-
Enter your bucket name.
-
Select a server-side encryption type.
- If the selected type is GCS KMS, enter the server-side encryption KMS key ID.
-
Click Upload from device to add the private key file for your Google Cloud Storage service account.
-
Click Add.
Configuring a service account
Connecting Google Cloud Storage as a drive requires a Google Cloud Storage service account. The Google Cloud Storage documentation is the most up-to-date reference, but the general process is as follows:
-
From the Google Cloud console, create a Google Cloud Storage bucket with uniform access control. For improved security, create it as a private bucket.
-
Create a service account in Google Cloud’s Identity and Access Management (IAM) system.
-
In the Google Cloud console, create a key pair for the service account, selecting JSON as the key type.
-
Download the JSON credentials file for the service account.
-
Assign the service account the
Storage Admin
andStorage Object Admin
roles for bucket access.For more details, see the Google IAM permission documentation. -
Find the Client ID for the service account (available on the Service accounts page).
-
Using a Google Workplace administrator account, search for the service account’s client ID, and grant the service account access to the Google Cloud Platform OAuth scope
www.googleapis.com/auth/cloud-platform
.For more details, see the Google service account documentation.
Assigning default drives
Organization admins can assign workspace and organization default drives. By default, Instabase Drive is the default drive for all organizations and workspaces.
To assign the organization default drive:
-
In the header, click the initials icon and select Settings.
-
Select the Drives tab.
-
On the drive’s card, click the Settings (gear) icon.
-
Select Make default drive.
-
Click Set as default drive.
To assign a workspace default drive:
-
From Workspaces, select the workspace.
-
Click Data Sources to open the data sources panel, then locate the drive’s card and click the Settings (gear) icon.
-
Select Set as default drive.
-
Click Set as default drive.
Removing connected drives
If you no longer want users to be able access a drive you previously mounted, you can remove it.
To remove an organization drive:
-
In the header, click the initials icon and select Settings.
-
Select the Drives tab.
-
On the drive’s card, click the Settings (gear) icon.
-
Select Remove.
-
Click Remove to confirm.
To remove a workspace drive:
-
From Workspaces, select the workspace.
-
Click Data Sources to open the data sources panel, then locate the drive’s card and click the Settings (gear) icon.
-
Select Remove.
-
Click Disconnect to confirm.
Disable Instabase Drive
Instabase Drive is the default storage option for organizations. After connecting another drive, organization admins can disable the Instabase Drive to hide it from members’ view. The same limitations apply as when removing a drive.
To disable Instabase Drive:
-
In the header, click the initials icon and select Settings.
-
Select the Drives tab.
-
On the Instabase Drive’s card, click the Settings (gear) icon.
-
Select Disable.
-
Click Disable to confirm.