Skip to main content

Azure Blob Storage Destination – Streams

Updated on
Jul 20, 2026

Azure Blob Storage destinations let you archive stream data to Microsoft Azure, ideal for data warehousing, analytics, and long-term storage of blockchain data.

Why use Azure Blob Storage?


  • Enterprise-Grade Storage: Built-in redundancy, high availability, and compliance features for enterprise requirements
  • Cost Optimization: Multiple storage tiers (Hot, Cool, Archive) to optimize costs based on data access patterns
  • Global Reach: Data centers worldwide for low-latency access and compliance with regional data requirements
  • Integration Ecosystem: Seamless integration with Azure services like Data Factory, Synapse Analytics, and Power BI
  • Security Features: Advanced security features including encryption at rest and in transit, and fine-grained access control

Prerequisites

Before configuring Azure Blob Storage as a destination, you need:


  • A Microsoft Azure account
  • An Azure Storage Account
  • A Storage Container
  • A Shared Access Signature (SAS) token with appropriate permissions

Azure Setup

Creating a Storage Account


  1. Log into the Azure Portal
  2. Click Create a resource → search for "Storage account"
  3. Configure:
    • Subscription: Your Azure subscription
    • Resource group: Select or create one
    • Storage account name: Enter a unique name
    • Region: Your preferred location
    • Performance: Standard (recommended)
    • Redundancy: LRS or your preferred option
  4. Click Review + createCreate

Creating a Container


  1. Open your storage account in the Azure Portal
  2. Go to Containers under Data storage
  3. Click + Container
  4. Enter a name (e.g., blockchain-data)
  5. Set Public access level to Private
  6. Click Create

Creating a SAS Token


  1. Open your storage account in the Azure Portal
  2. Go to Shared access signature under Security + networking
  3. Configure permissions:
    • Allowed services: Blob
    • Allowed resource types: Container, Object
    • Allowed permissions: Read, Write, Create, Delete
  4. Set Start and Expiry dates
  5. Click Generate SAS and connection string
  6. Copy the SAS token (starts with ?sv=)

Configuration

Follow the Quickstart Guide to create a stream. When you reach the destination step, select Azure Storage and configure the following fields:


Azure Blob Storage destination configuration
FieldDescription
Storage accountYour Azure storage account name
File compressionNone for human-readable files, or Gzip for smaller file sizes
SAS tokenShared Access Signature token with read/write permissions for the container
ContainerName of the blob container where files will be written
Blob PrefixOptional path prefix for organizing blobs (works like folders)
File typeOutput format for the data (JSON)
Retry wait periodSeconds to wait between retry attempts when writes fail (default: 1)
Pause stream afterNumber of failed retries before the stream pauses (default: 3)

Click Check Connection to verify your storage account and container access before creating the stream.

Example Configuration

Here's an example of the destination attributes when creating a stream via the REST API:

{
"name": "Ethereum Block Stream",
"network": "ethereum-mainnet",
"dataset": "block",
"destination": "azure",
"destination_attributes": {
"storage_account": "myblockchainstorage",
"container": "ethereum-data",
"sas_token": "sv=2020-08-04&ss=b&srt=sco&sp=rwdlacupx&se=2024-12-31T00:00:00Z&st=2024-01-01T00:00:00Z&spr=https&sig=...",
"blob_prefix": "mainnet/blocks/",
"file_compression_type": "gzip",
"file_type": ".json",
"max_retry": 3,
"retry_interval_sec": 2
},
"batch_size": 100,
"elastic_batch_enabled": true,
"status": "active"
}

Other Destinations

Support