Microsoft Azure Cloud Engineering
From your first resource group to production Azure architecture.
Learn Azure hands-on by growing one sample application: a containerised API with Blob Storage, a database, an asynchronous worker and a managed identity. You will set up a governed subscription, choose and deploy services, connect them privately, automate releases with Bicep and GitHub Actions, monitor and troubleshoot them, and justify architecture and recovery decisions. Modules 1–2 are for beginners, modules 3–7 are intermediate, and modules 8–11 cover advanced architecture and operations. You only need basic command-line skills; Computer Networking, Linux Administration and Git, GitHub & GitHub Actions fill any gaps. Every lab uses a budget alert and ends with cleanup, and paid-only steps have a design-only alternative.
01Foundations and the first sandbox
Beginner. What Azure offers, how resources are organised, and a lab subscription with budgets and cleanup. Prerequisite: basic command line.
- Read the Azure infrastructure and service mapAzure is a set of services that run in Microsoft data centres around the world, sold in different service models: IaaS gives you virtual machines and networks, PaaS gives you a managed runtime or database, and SaaS gives you a finished application. The more managed the model, the less of the stack you look after yourself. Where a service runs is decided by regions and availability zones, and not every service or VM size is offered in every region.13 min
- Organise Azure resources and environmentsEverything you create in Azure sits in a hierarchy: a Microsoft Entra tenant holds identities, management groups group subscriptions, a subscription is a billing and access boundary, resource groups hold resources that share a lifecycle, and resources are the actual services. Azure Resource Manager (ARM) is the single API behind the portal, CLI and templates, and every request is aimed at a scope in that hierarchy. Settings such as access and policy flow down from the scope where you set them.11 min
- Prepare an Azure lab with budgets and cleanupA safe lab is one you can see, afford and remove. You work from the portal or Cloud Shell, point the Azure CLI at the right subscription, put every lab resource in one tagged resource group, and add a budget that emails you before spend gets out of hand. When you are done, deleting the resource group removes everything inside it in one step.13 min
02Access and guardrails
Beginner. Azure RBAC, managed identities instead of secrets, and policies and locks that stop mistakes.
- Grant access to a resource with Azure RBACAzure role-based access control (RBAC) decides who can do what to Azure resources. Every grant is a role assignment made of three parts: a security principal (who), a role definition (what actions) and a scope (where). Assignments are inherited downwards, and they are separate from Microsoft Entra directory roles, which control users, groups and tenant settings rather than resources.12 min
- Connect an Azure app without embedded credentialsA managed identity is an identity in Microsoft Entra ID that Azure creates and looks after for a resource such as an App Service app, a VM or a Container App. Your code asks the local Azure platform for a token instead of storing a password, connection string or key. You then give that identity an Azure role on the target, such as Key Vault Secrets User, so the app has exactly the access it needs.13 min
- Apply policy, tags and resource locksAzure Policy checks the properties of resources against rules, for example that every resource has a cost-centre tag or lives in an allowed region. Depending on the effect, it can block a request (deny), only report it (audit) or change it (modify). Resource locks are a separate guardrail that stop deletion or changes even by people whose role allows them, which makes them a good last line of defence for important resources.13 min
03Traffic, private connectivity and troubleshooting
Intermediate. VNets and NSGs, private endpoints and DNS, choosing ingress, and hybrid connectivity.
- Design Azure VNets, subnets and NSGsAn Azure virtual network (VNet) is your own private IP address space in one region, split into subnets that hold VMs, private endpoints and other resources. Network security groups (NSGs) filter traffic in and out of subnets and network interfaces, and route tables decide where each packet goes next. Good design starts with address space that never overlaps with anything you may connect to later.14 min
- Reach a PaaS service through a private endpointA private endpoint gives a PaaS service, such as a storage account or a database, a private IP address inside your VNet, using Azure Private Link. Your apps still use the normal service name, so DNS must answer with that private IP instead of the public one. Most private endpoint problems are really DNS problems.13 min
- Choose Front Door, Application Gateway or Load BalancerAzure offers several ways to bring users to your app. Front Door is a global layer 7 entry at Microsoft's edge, Application Gateway is a regional layer 7 load balancer inside your VNet, and Load Balancer is a regional layer 4 balancer for any TCP or UDP traffic. The right choice depends on whether users are global, whether you need HTTP features such as path routing and a WAF, and where TLS should end.13 min
- Hybrid networking and hub-and-spoke on AzureHybrid networking joins your on-premises sites to Azure. VPN Gateway sends encrypted IPsec tunnels over the internet, while ExpressRoute is a private circuit through a connectivity provider. Most organisations then use a hub-and-spoke design: shared gateways and Azure Firewall live in a hub VNet, and workloads live in spoke VNets peered to it.13 min
04Choose a runtime
Intermediate. Virtual machines and scale sets, App Service and Functions, and Container Apps versus AKS.
- Operate Azure VMs and scale setsAn Azure virtual machine (VM) is a server you rent by the second: you pick an image, a size, disks and a network, and you look after everything inside the operating system. A Virtual Machine Scale Set runs many identical VMs from one definition, replaces unhealthy ones and adds or removes instances by rule. Admin access should go through Azure Bastion or another private path, not an SSH port open to the internet.14 min
- Compare App Service and Azure FunctionsAzure App Service runs web apps and APIs on managed servers: you deploy code or a container, and Azure handles the OS, runtime patches and load balancing. Azure Functions runs small pieces of code in response to triggers such as HTTP requests, queue messages or timers, and can scale to zero. The hosting plan you choose decides price, scaling, cold starts, deployment slots and how long code may run.12 min
- Compare Container Apps and AKS with ACRAzure Container Registry (ACR) stores your container images privately. Azure Container Apps runs those images as a serverless platform with built-in HTTPS ingress, revisions and scaling, including down to zero. Azure Kubernetes Service (AKS) gives you a full Kubernetes cluster with more control, and with it more work: node pools, upgrades, ingress and add-ons are yours to run.14 min
05Durable storage and data services
Intermediate. Blob, Files and disks, relational databases, and Cosmos DB and managed Redis.
- Choose Blob Storage, Azure Files or managed disksAzure offers three main ways to store files and bytes: Blob Storage for objects reached over HTTPS, Azure Files for shared folders mounted over SMB or NFS, and managed disks for block storage attached to one VM. Each storage account also needs a redundancy choice and, for blobs, an access tier that trades storage price against read cost. Scoped access, versioning, soft delete and lifecycle rules keep the data safe and the bill under control.14 min
- Azure SQL Database or Azure Database for PostgreSQLAzure SQL Database and Azure Database for PostgreSQL flexible server are managed relational databases: Azure patches them, backs them up and keeps standby copies, and you design schemas and queries. Choose by engine and skills: SQL Server and T-SQL for Azure SQL, open-source PostgreSQL and its extensions for the flexible server. Either way, connect with Microsoft Entra identities, pool connections, turn on high availability for production and know how point-in-time restore works before you need it.13 min
- Evaluate Cosmos DB and managed Redis on AzureAzure Cosmos DB is a globally distributed NoSQL database that charges in request units and spreads data across partitions by a partition key you choose. Azure Managed Redis is the current managed Redis service, an in-memory store used as a cache in front of slower databases; it replaces Azure Cache for Redis, which is being retired. Both are fast at scale, but only if you design keys, consistency and expiry for your access patterns, and sometimes a relational database is the better fit.14 min
06Events, queues and API boundaries
Intermediate. Service Bus, Event Grid and Event Hubs, reliable workflows, and API Management.
- Compare Service Bus, Event Grid and Event HubsAzure has three main messaging services and each one solves a different problem. Service Bus is a broker for commands and business messages that must not be lost, Event Grid pushes small notifications that something happened, and Event Hubs ingests large streams of telemetry that many readers replay. Picking the right one starts with asking what the message means and who must act on it.14 min
- Reliable Functions and Logic Apps with messagingA reliable message handler finishes the work once, even when the same message arrives twice, the process crashes, or a dependency is down. On Azure that means a Function or Logic App reading Service Bus with peek-lock, an idempotent handler, bounded retries, and a dead-letter queue that someone actually checks. When the cause is fixed, failed messages are replayed by hand.13 min
- Put API Management in front of an APIAzure API Management (APIM) is a gateway that sits between API callers and your backend. It gives one public front door where you apply policies for authentication, rate limits, transformation and logging, and where you publish versions without changing the backend. Which features you get, such as virtual network support or a self-hosted gateway, depends on the pricing tier.12 min
07Infrastructure and release automation
Intermediate. Bicep infrastructure as code, CI/CD with workload identity federation, and progressive releases.
- Reproducible Azure infrastructure with BicepBicep is Azure's own language for describing infrastructure as code. You declare the resources you want, Azure Resource Manager works out how to create or update them, and the same file builds the same environment every time. Parameters, modules and outputs keep templates reusable, and what-if shows the changes before anything is touched.12 min
- Deploy to Azure from CI/CD with OIDCA pipeline that deploys to Azure needs an identity, and the safest one has no stored secret. With workload identity federation, GitHub Actions or Azure Pipelines gets a short-lived token from its own OpenID Connect issuer, and Microsoft Entra ID swaps it for an Azure access token because you registered a matching federated credential. Pair that with a narrowly scoped role and a protected environment, and a leaked repository holds nothing to steal.12 min
- Progressive releases across Azure environmentsA progressive release moves one tested build through environments and then shifts live traffic to it in small, reversible steps. On Azure you do this with Container Apps revisions or App Service deployment slots, guarded by health checks and smoke tests. Database migrations are planned so the old and new versions can run side by side, which keeps rollback fast.13 min
08Monitor, respond and protect
Advanced. Azure Monitor and KQL, security operations with Key Vault and Defender, and cost optimisation.
- Azure Monitor, Log Analytics and Application InsightsAzure Monitor is the umbrella service that collects metrics, logs and traces from Azure resources and your own code. Resources send platform logs to a Log Analytics workspace through diagnostic settings, and Application Insights records requests, dependencies and exceptions from the app into the same workspace. You then ask questions with KQL (Kusto Query Language) and turn the useful answers into alert rules.13 min
- Key Vault, Defender for Cloud and posture on AzureKey Vault stores secrets, keys and certificates so apps fetch them at run time with a managed identity instead of keeping them in code. Microsoft Defender for Cloud checks your configuration against a security benchmark, shows a secure score with recommendations, and with paid plans raises alerts about attacks on running workloads. A SIEM such as Microsoft Sentinel sits above both and correlates signals from many sources.13 min
- Attribute and reduce Azure spendCost optimisation starts with attribution: you cannot cut what you cannot assign to an owner. Cost Management breaks spend down by subscription, resource group, service and tag, so you can find idle resources, heavy egress, oversized log ingestion and autoscale floors set too high. Only after trimming waste should you commit to reservations or a savings plan for the steady baseline that remains.14 min
09Production architecture and hybrid operations
Advanced. Backup and disaster recovery, landing zones, and migration with Well-Architected reviews.
- Azure backup and disaster recovery choicesRecovery planning starts with two numbers: RPO, how much recent data you can afford to lose, and RTO, how long you can afford to be down. Azure Backup keeps point-in-time copies in a vault so you can restore after deletion, corruption or ransomware, while Azure Site Recovery continuously replicates machines to another region so you can fail over after a regional outage. A plan is only real once you have run a restore drill and timed it.14 min
- Design an Azure landing zoneA landing zone is the prepared environment that every new workload lands in: a management group tree, separate platform and application subscriptions, policy that enforces the rules, central logging and a connected network. It lets a growing organisation add teams and subscriptions without each one reinventing security, identity and networking. Microsoft's Azure landing zone reference architecture gives a proven starting shape you adjust to your size.12 min
- Plan a migration to Azure and review itA migration follows three phases: assess what you have, migrate it with a chosen strategy, and validate it in Azure before you switch off the source. Azure Migrate discovers servers, maps dependencies and estimates sizes and costs, then replicates and cuts over machines. Azure Arc brings servers that stay on-premises under the same Azure management, and a Well-Architected review checks the result against reliability, security, cost, operations and performance.12 min
10Analytics and AI service selection
Advanced. Where data and analytics services fit, and how to choose Azure AI services for training, model access and grounding.
- Map Azure analytics from ingestion to reportsAn analytics platform moves data through four stages: ingest it from source systems, store it cheaply in a data lake, transform it into clean tables, and present it in reports. On Azure, Data Factory usually ingests, Azure Data Lake Storage holds the files, Azure Databricks or Spark transforms them, and Power BI presents the result. Microsoft Fabric bundles most of these stages into one software-as-a-service product, so the real decision is often Fabric versus separate Azure services.13 min
- Choose Azure AI services for an applicationAzure has three main AI building blocks. Azure Machine Learning trains, tracks and hosts your own models; Microsoft Foundry gives your app access to ready-made models and agents behind one resource; Azure AI Search indexes your documents so a model can answer from your own data. A sound design picks the fewest of these that meet the need and wires them together with managed identities, not API keys.15 min
11Capstone: operate an Azure workload
Advanced. Design, deploy and operate a small API and worker, then review and tear it down. Optional follow-ons: AZ-900, AZ-104 and AZ-305.
- Capstone: design the Azure sandbox architectureThe capstone starts on paper. You design a small system: a containerised API that accepts uploads, a worker that processes them, a storage account for blobs and a queue, and one managed identity per app. The design names every service and tier, every identity and its roles, the budget, the teardown list, and the recovery targets, so you can deploy it and later judge whether it met them.14 min
- Capstone: deploy the API and worker with BicepNow you turn the design into code. Bicep modules create the monitoring workspace, registry, storage, identities, role assignments and the two container apps. A GitHub Actions workflow signs in to Azure with workload identity federation, so no secret is stored, previews the change with what-if, deploys, builds the image and rolls out a new revision.13 min
- Capstone: operate, recover and clean upThe last milestone proves you can run what you built. You show health and log evidence, inject a failure and find its cause with a KQL query, roll back or restore, then delete everything and prove it is gone. You finish with a short Well-Architected design review that compares what happened with what you planned.13 min