Moving Azure Blob Storage workloads to Garage
Check which Azure Blob features need application changes before moving reads to Garage, with sample object mappings and a byte-level acceptance manifest.
Editable blob migration manifest with worked cases and space for observations.
Last updated
In short
- Inventory the calls made by each client.
- Replace provider-specific access tokens and tier assumptions.
- Read back bytes and HTTP metadata.
Migration plans · See also Garage
Trace the client before copying the container
A static download served from a block blob is a different migration from a process that appends records to a log or updates pages inside a disk image. Capture the operations the application actually issues, including background jobs that set tiers, acquire leases or enumerate versions. Give each one an owner and a decision about adaptation. Microsoft describes the distinct storage models and blob types. Azure Blob Storage introduction
Read the operation table for the proposed Garage release before choosing an S3 client configuration. S3 compatibility covers individual requests and options. A successful ordinary download says little about conditional writes, snapshot history or retention commitments. Keep an Azure-dependent workload at its source until the responsible team has a supported replacement and a behavioral test. Garage S3 compatibility
| Manifest entry | Proposed mapping | Read-back check |
|---|---|---|
| Container reports, key monthly/May final.pdf | Preserve the key including its space under a private bucket. Set content type and disposition explicitly. | Fetch through the actual reporting client. Compare length and a locally computed SHA-256 digest, then open the downloaded PDF and check its browser filename. |
| Blob photos/banner with custom metadata | Map the fields used for asset attribution into supported object metadata or a separate application record. | Read headers and metadata back using the same application credentials that serve the site. Compare values including case-sensitive values and missing optional fields. |
| Temporary download with an Azure SAS URL | Change the URL issuer to mint a destination-specific signed request. Set a deliberate lifetime and recipient policy. | Try a newly issued URL before and after expiry in a test environment. Locate links already embedded in email and decide how long the old endpoint must serve them. |
| Archive-tier document | Schedule retrieval and budget for source access before promising an online copy. Confirm that a readable version exists. | Include one rehydrated item in the byte comparison and record when it became available. Keep the original tier policy in the inventory for a separate lifecycle decision. |
Switch the read path in stages
Capture object length, revision marker and digest against the same source version. A change during transfer makes a comparison inconclusive. ETags can have provider-specific meanings, particularly with multipart uploads. Calculate a digest over the full body at both ends when determining byte equality.
Start with a read-only consumer and a narrow prefix. Record missing keys, unexpected response headers, range reads and permission failures. Before enabling writes, finish the delta against a stable boundary and decide how to account for destination-only updates if the reader must move back. An endpoint change alone cannot return newly uploaded content to Azure.
Include a client that reads only the last bytes of a large report. Check that its partial request returns the expected byte interval, status and total object length. A reverse proxy can turn a partial read into an expensive full download even though opening a small test PDF looks correct. Save the response headers without access tokens and compare the observed behavior with the consumer’s timeout and bandwidth constraints.
