Attach a Microsoft Azure volume
Microsoft Azure is available on demand. Please contact our support for more information.
Overview
Attach a volume for use on BioData Catalyst powered by Seven Bridges's visual interface. Use this tutorial if your cloud storage provider is Microsoft Azure.
Or, learn more if your cloud storage provider is Amazon Web Services (AWS) orĀ Google Cloud Storage (GCS).
Prerequisites
- A Microsoft AzureĀ account
- A storage container within this Azure account.
- (Optional) Completed app registration and role assignmentĀ on the Azure Portal. If you haven't completed this step, don't worry, the instructions below will guide you through the entire process.
Procedure
- Access the Volumes dashboard.
- Choose the cloud storage provider for your volume.
- Provide app details.
- Enter the required Azure credentials.
- Provide storage container details.
- Assign roles on the Azure Portal.
- Configure additional options.
- Review volume details and confirm to connect your volume.
Step 1: Access the Volumes Dashboard
This step takes place on BioData Catalyst powered by Seven Bridges
- Click on theĀ DataĀ tab of the top navigation bar.
- SelectĀ VolumesĀ from the drop-down menu.
Step 2: Choose the cloud storage provider
This step takes place on BioData Catalyst powered by Seven Bridges
- On the Volumes Dashboard, click Connect Storage.
- Select AzureĀ as your cloud storage provider.
- Click Next.
Step 3: Provide application details
Provide details of the Microsoft Azure application that will be used to establish a connection to the container that you want to attach to Platform. This information is available in the overview of the application on theĀ Azure Portal. If you have already registered an application for this purpose by following theĀ app registration and role assignment guide, copy itsĀ Application (client) ID andĀ Directory (tenant) ID and enter them in the volume connection wizard. If you haven't done so, follow the steps below to register a new application:
- Go to theĀ Azure Portal.
- UnderĀ selectĀ Microsoft Entra ID.
- In the pane on the left, under Manage, clickĀ App registrations.
- ClickĀ New registration.
- Enter the name of the new app, for exampleĀ
sbg-app
Ā and clickĀ Register. Application details are displayed. Note that theĀ Application (client) IDĀ andĀ Directory (tenant) IDĀ of the app are required to attach the storage container to Platform. - On BioData Catalyst powered by Seven Bridges, enter the Application (client) ID andĀ Directory (tenant) ID.
- Click Next.
Step 4: Enter the client secret value
If you have already created a client secret for this purpose by following theĀ app registration and role assignment guide, copy its Value and enter it in the volume connection wizard. If you haven't done so, follow the steps below to create a new client secret:
- On theĀ Azure Portal,Ā select the app you created for the purpose of attaching your container to Platform.
- In the pane on the left clickĀ Certificates & secrets.
- UnderĀ Client secretsĀ clickĀ New client secret.
- Add aĀ DescriptionĀ (e.g.Ā
sbg-secret
)Ā and forĀ ExpiresĀ selectĀ 730 days (24 months). - ClickĀ Add. You have added a new secret. Copy theĀ information from itsĀ Value field.
- On BioData Catalyst powered by Seven Bridges, enter the Value of the client secret.
- Click Next.
Step 5: Provide volume information
Provide details related to your Microsoft Azure storage container and the way it will be connected to Platform.
- Enter the name of the Storage account which holds the container you want to attach.
- Enter the Resource ID. Get it by opening the JSON View on your storage account's Overview page on the Azure Portal.
- In Container name, enter the name of the container you want to attach.
- Enter a Volume name, which is how the attached container will be named on Platform.
- (Optional) Enter a description for the attached container (volume).
- Select access privileges for the volume: The only supported access at the moment is Read only (RO), which means that you will be able to read files from the volume, but not write (export) files to it.
- (Optional) Enter the root (prefix). If set, access to the attached container will be limited to the defined root location and its subdirectories.
- Click Next.
Step 6:Ā Assign roles
This step takes place on the Azure Portal. If you have already completed role assignment by following theĀ app registration and role assignment guide, skip this step and continue to configuring additional options.
In order to allow the connection with your Azure container, you need to assign roles to your registered application.
- Open the storage account that holds the container you want to connect. The account may be displayed under Resources, on your Azure Portal home page.
- Select Access Control (IAM) from the menu on the left.
- Click Add, then clickĀ Add role assignment.
- In the Role field select the Storage Blob Delegator role and click Next.
- Under Members, click Select members and search for your registered application (e.g.
sbg-app
). - Click Select.
- Click Next
- Click Review + assign. You have now added the Storage Blob Delegator role.
Repeat the previous steps, this time by selecting theĀ Reader role.
Once you are done adding roles for your app in storage account settings, continue by assigning an appropriate role to the container you want to attach to Platform:
- Open the container you entered in the previous step and select Access Control (IAM) from the menu on the left.
- Click Add >Ā Add role assignment.
- In theRole fieldĀ select the Storage Blob Data ReaderĀ role and click Next.
- Under Members, click Select members and search for your registered application (e.g.
sbg-app
). - Click Select.
- Click Next.
- Keep the Conditions tab as is and click Next.
- Click Review + assign.
You have now assigned all required roles to your registered application. Click Next to continue.
Step 7: Configure additional options
Enter a Microsoft Azure endpoint, only if you are using an endpoint that is different from the default oneĀ https://(serviceaccount).blob.core.windows.net
. To make a non-default endpoint work with Platform, please first make sure it is supported by Seven Bridges. For more information, please contactĀ [email protected].
Step 8: Review volume details
On this tab, review the details for your volume and click Connect.
Next step
Congratulations! You've attached your Microsoft Azure storage container as a volume to Platform. You can makeĀ individual data objects within it available as "aliases"Ā on Platform. Aliases point to files stored on your cloud storage bucket and can be copied, executed, andĀ organized like normal filesĀ on Platform. We call this operation "importing". Learn more aboutĀ working with aliases.
Updated 2 months ago