liveBook · Manning

Storage account

As explained in Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

A storage account is an Azure resource that provides an access boundary and configuration for stored data.

A storage account provides cloud storage for private or public files. Files are uploaded to Azure Storage and accessed through its storage API. section 4.4.1

Use a private account when customers should receive files through an application rather than downloading them directly. A microservice can authenticate with Azure and retrieve stored videos. section 4.4.1

A practical setup uses these steps:

  • Create a storage account in the Azure portal. section 4.4.1
  • Create a videos container and upload a test video. section 4.4.1
  • Configure the account name and access key as environment variables. section 4.4.1

Video-storage microservice

A Node.js service uses @azure/storage-blob, a storage account name, and an access key to authenticate and retrieve a requested video. section 4.4.1

Figure 4.6 Creating a new storage account in the Azure portal

Use the portal walkthrough to create the storage account before configuring containers and uploaded files. section 4.4.1

How Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform covers it

How deep it goes
Explains account creation, containers, uploads, credentials, and retrieval code, while deferring vendor-specific storage internals.
Examples
Uses an Azure portal account, a videos container, an uploaded test video, environment variables, and a retrieval service.
What it assumes
Assumes an existing Azure account and introduces storage-account creation, containers, uploads, and access credentials.
What you can do after
Operate/configure private Azure file storage and connect a Node.js microservice to retrieve stored videos.
How it connects
Connects storage accounts with Azure Storage, blob storage, containers, authentication, cloud storage APIs, and microservices.

Also explained in

Compare how 4 books explain storage account →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform. The section links point to the parts of the book it draws on.