liveBook · Manning

Block blob

As explained in Microsoft Azure in Action

A block blob is an Azure Blob Storage blob type composed of blocks and intended for large object data such as files.

A block blob is the everyday Azure Blob Storage choice for large object data. It stores text or binary content as blocks and can hold up to 190.7 TiB, making it suitable for PDFs, images, videos, executable programs, and other files. section 5.3.3

Figure 5.7 Blobs are in a container, which is in a storage account. Blobs can be anything in a binary format.

Place the blob inside a container, and the container inside a storage account; this hierarchy organizes data and supports management and access control. section 5.3.3 section 5.8

Choose block blobs when:

  • Uploading an individual file, such as a PDF, because a single file upload creates a block blob. section 5.3.3
  • Storing general-purpose object data rather than a continuously appended log or a random-access VM disk; append blobs and page blobs serve those different patterns. section 5.3.3
  • Applying lifecycle rules that move older data through cool and archive tiers or delete it after a defined period. section 9.5.1

Upload and manage a PDF

A publishing service can upload bannedbook.pdf to a bannedbooks container with PowerShell, name it bannedBook.pdf, and assign the Hot tier. The blob can then be listed by name and accessed through the storage account’s blob endpoint. A lifecycle policy could move unchanged block blobs to Cool after 30 days, Archive after 90 days, and delete them after 365 days; remove deletion when retention matters.

How Microsoft Azure in Action covers it

How deep it goes
Defines capacity, placement, alternatives, upload behavior, and lifecycle management without detailing block-level APIs or internals.
Examples
Uses PDF uploads, PowerShell commands, blob URLs, and JSON lifecycle rules with 30-, 90-, and 365-day thresholds.
What it assumes
Assumes familiarity with storage accounts and containers while defining blob types, tiers, and file uploads in practical terms.
What you can do after
Operate/configure it by uploading files, selecting a tier, listing blobs, forming endpoint URLs, and automating tier transitions.
How it connects
Connects block blobs with Azure Blob Storage, containers, storage accounts, access tiers, lifecycle management, append blobs, and page blobs.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microsoft Azure in Action. The section links point to the parts of the book it draws on.