Azure Blob Storage is Microsoft's cloud-based object storage solution. It provides scalable and secure storage for high-performance workloads, cloud native apps, machine learning, and more.
RudderStack supports sending your event data from a variety of sources to your Azure Blob Storage container.
Follow these steps to set up Azure Blog Storage before adding it as a destination in RudderStack:
- Login to your Azure portal.
- Click Create a resource and click Create under Storage account.
- Create a storage account of type Standard general-purpose v2.
- Next, choose your storage account and click Containers under Data storage .
- Create a new container. This is where RudderStack will store all your event data.
- You also need to provide an access key to authorize RudderStack to write to your container. Under Security + networking, click Access keys. You can find your access keys here.
- If you wish to grant limited access to your Azure Storage resources, you can use the Shared Access Signatures (SAS) instead of your access key. To generate a SAS token, go to Security + networking > Shared Access Signature.
You can use the shared access signatures (SAS) to delegate specific permissions to your storage account resources. This gives you granular control over how users can access your data.
For your Blob Storage destination, RudderStack requires the Write permission to write to your container. Make sure it is checked in the Allowed permissions setting. An example is shown below:
If you're using Blob Storage as an intermediate object storage for your data warehouse destinations, you need to assign the following permissions for your SAS token:
|Warehouse destination||Minimum required permissions|
|Azure Data Lake||Read, Write|
|Azure Synapse||Read, Write|
|Databricks Delta Lake||Read, Write|
|Microsoft SQL Server||Read, Write|
To enable dumping data to Microsoft Azure Blob Storage, you will first need to add it as a destination in RudderStack. Once the destination is configured and enabled, events from RudderStack will start flowing to your Azure Blob Storage container.
Follow these steps to add Blob Storage as a destination in RudderStack:
- From your RudderStack dashboard, add a source. Then, from the list of destinations, select Azure Blob Storage.
- Assign a name to the destination and click Continue.
To successfully configure Azure Blob Storage as a destination, you will need to configure the following settings:
- Azure Blob Storage Container Name: Enter the name of your Blob Storage container used to store the data.
- Prefix: If specified, RudderStack will create a folder in the bucket with this prefix and push all the data within that folder. For example,
- Azure Blob Storage Account Name: Enter your Azure Blob Storage account name that you copied in the Setting up Azure Blob Storage section above.
- Azure Blob Storage Account Key: This option is only applicable if Use shared access signature (SAS) Tokens is disabled. In that case, enter the access key associated with your Blob Storage account.
- Use shared access signature (SAS) Tokens: Enable this setting to use a shared access signature (SAS) token to grant limited access to your Azure storage resources.
- Azure Blob Storage SAS Token: If Use shared access signature (SAS) Tokens is enabled, enter your Blob Storage SAS token generated in the Step 7 of the Setting up Azure Blob Storage section above.
Microsoft Azure Blob Storage is successfully added as a destination in RudderStack. Once you send an event from your source, RudderStack will send it to your specified Blob Storage container.