Microsoft Azure Docs

Azure Blob Storage Overview

Azure Blob Storage is Microsoft's object storage solution for the cloud. It's optimized for storing massive amounts of unstructured data, such as text or binary data.

What is Blob Storage?

Unstructured data is data that doesn't adhere to a particular data model or definition, such as text or binary files. Blob storage is ideal for:

Azure Blob Storage Concepts
Key concepts in Azure Blob Storage.

Key Concepts

A storage account provides a unique namespace in Azure for your data. Every object that you can store in Azure Storage has at least one storage account associated with it. The total limit of a storage account is determined by the account type.

Blob Types

Azure Blob Storage supports three types of blobs:

Pro Tip

For most common scenarios involving storing files, documents, or media, block blobs are the go-to choice. Use append blobs specifically for logging and append-only workloads.

Access Tiers

Azure Blob Storage offers different access tiers to store data at the right price for how frequently it's accessed:

You can set the access tier for a storage account or for individual blobs. This allows you to optimize costs by moving data between tiers based on access patterns.


// Example of uploading a blob (conceptual, not actual SDK code)
const blobService = new AzureStorage.BlobServiceClient(connectionString);
const containerClient = blobService.getContainerClient("mycontainer");
const blockBlobClient = containerClient.getBlockBlobClient("myblob.txt");

const uploadResponse = await blockBlobClient.upload(data, data.length);
console.log(`Blob uploaded successfully: ${uploadResponse.requestId}`);
                

Security

Azure Blob Storage offers robust security features, including:

Getting Started

To start using Azure Blob Storage, you'll need to:

  1. Create an Azure Storage Account: You can do this through the Azure portal, Azure CLI, or PowerShell.
  2. Create a Container: Organize your blobs within containers.
  3. Upload Data: Use the Azure SDKs, REST API, Azure Storage Explorer, or Azure portal to upload your files.

Explore the Blob Storage Quickstart to begin.