RousselTMLEARNING

TP · Microsoft Azure: from discovery to expertise

Lab: Blob and Queue Storage with Azurite

What you will learn in this TP
  • Use Azurite and the development connection string
  • Work with containers, blobs and SAS
  • Send and consume queue messages

Introduction #

What you will learn in this section
  • Use Azurite and the development connection string
  • Work with containers, blobs and SAS
  • Send and consume queue messages

Context. An application must store invoices and notify a processing service. You prototype storage and the queue on the official emulator before moving to Azure.

Prerequisites: Docker, Azure CLI, Azure Functions Core Tools and Python 3; the Azurite emulator (docker run mcr.microsoft.com/azure-storage/azurite) replaces Azure storage: no subscription required  ·  Estimated time: 40 min

Organised blobs, a time-limited SAS link and a working message queue.

Hands-on #

Guided steps, with their solution.

  1. 1. Start Azurite

    Why? Azurite exposes Blob (10000), Queue (10001) and Table (10002) with a well-known development account.

    Start the emulator and export the development connection string.
  2. 2. Containers and blobs

    Why? Blob names with "/" form a virtual tree, handy for organising by date.

    Create the factures container, upload two files with metadata, list them by prefix and download one.
  3. 3. Share with a SAS

    Why? A SAS grants access limited in rights and time, without sharing the account key.

    Generate a read-only SAS valid for 15 minutes for one invoice and download it with curl.
  4. 4. A message queue

    Why? The queue decouples invoice upload from processing.

    Create the a-traiter queue, send two messages, read one (it becomes invisible), then delete it.

Difficulty level : ●●○○○ (2/5)

My progress

  • ⏱ Estimated time : ≈ 40 min

Sign in to track your progress and take notes. Sign in

💬 Questions about this lesson

No questions yet: be the first to ask for help or share your configuration.

Ask a question about this lesson →

Recommended Articles

Azure storage: storage accounts, Blob, Files, disks and redundancy

Store data on Azure: storage accounts, Blob (hot, cool, archive tiers, lifecycle), Files, Queue a...

Compute on Azure: virtual machines, App Service, Functions and containers

Choose and use Azure compute: virtual machines and scale sets (VMSS), App Service, Azure Function...

Infrastructure as Code on Azure: Bicep, Terraform, Cost Management and Well-Architected

Describe and deploy Azure as code with Bicep (modules, parameters, what-if, pipeline deployments)...

Preparing for the Azure Administrator Associate certification (AZ-104)

Preparation guide for the AZ-104: format, the five domains (identities and governance, storage, c...

Understanding Azure: regions, resource hierarchy, tools and pricing

Microsoft Azure basics: geographies, regions, region pairs and availability zones, the hierarchy ...

Microsoft Entra ID, RBAC and Azure Policy: identities, permissions and governance

Manage identities and access on Azure: Microsoft Entra ID (users, groups, MFA, conditional access...

Azure networking: VNet, NSG, peering, load balancing and hybrid connectivity

Design networking on Azure: virtual networks and subnets, network security groups (NSG), peering ...

Databases on Azure: Azure SQL, Cosmos DB, PostgreSQL and cache

Choose a managed database on Azure: Azure SQL Database and Managed Instance, Azure Database for P...

Monitoring and protecting Azure: Monitor, Log Analytics, Defender, Key Vault and Backup

Operate Azure: Azure Monitor (metrics, activity logs, alerts), Log Analytics and KQL, Application...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!