Week 6 - Cloud and Azure Essentials
Introduction to Cloud and Azure
Your pipeline is containerized. Now you need a place to run it reliably and at scale. The cloud gives you compute, storage, and managed services without maintaining servers yourself.
By the end of this chapter, you should understand what cloud services are, how Azure organizes them, and why this week builds directly on Week 5.
Cloud services give you:
Cloud providers offer services at different levels of abstraction:
<aside> ๐ผ๏ธ Visual: Cloud Service Types
</aside>
IaaS, PaaS, and SaaS classify services by who manages what. Underneath, cloud compute also stacks in layers:
Each step hides more infrastructure from you. Week 6 runs at step 4: you provide the container image and environment variables; Azure provisions the VMs and orchestration underneath.
<aside> ๐ผ๏ธ Visual: Layers of cloud compute
</aside>
"Serverless" still uses servers; you never SSH into them. Managed Postgres (Chapter 4) is a different kind of PaaS: it runs 24/7, not per job. For the full history (bare metal โ VMs โ containers โ serverless), see History of Cloud Computing.
This week you will use mostly PaaS services: Azure Database for PostgreSQL and Azure Container Apps. PaaS is the sweet spot for data engineering because you focus on your pipeline, not on patching servers.
Classifying a service before you reach for it is the small habit that prevents the most common Week 6 mistake: spinning up a VM for a job that a PaaS could run for a fraction of the cost. The fastest way to internalise this is to price the two options against each other.
<aside>
โจ๏ธ Hands on: Open the Azure pricing calculator and compare two ways to run a small Postgres database for this week's pipeline: (a) a Standard_B2s Virtual Machine in West Europe (IaaS, you install Postgres yourself), and (b) an Azure Database for PostgreSQL Flexible Server on Standard_B1ms in the same region (PaaS, Azure runs the server). Note the monthly EUR cost for each and the gap between them. The chapter on Cost Awareness revisits these numbers.
</aside>
The three major cloud providers are Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). All three offer compute, storage, networking, and managed databases. The skills you learn this week (working with CLIs, deploying containers, connecting to managed databases) transfer between clouds; each provider has its own naming and quirks, but the concepts are the same.
This course uses Azure because it has a dominant market share in business and enterprise in the Netherlands. The ACM (Authority for Consumers and Markets) estimates that Microsoft and AWS each hold 35% to 40% of the market. Many Dutch companies already have Microsoft contracts (Office 365, Active Directory), which makes adopting Azure easier than bringing in a new vendor. If your future employer uses AWS or GCP instead, you will recognize the patterns.
<aside> ๐ Core program connection: In the Core program Systems week you learned the basics of cloud computing. This week focuses on Azure services for data pipelines. Refresh here: https://www.notion.so/hackyourfuture/Cloud-computing-2d750f64ffc9801ca8a7f14dfe7d513d
</aside>
Azure has a clear hierarchy for organizing resources:
Tenant (your organization)
โโโ Subscription (billing boundary)
โโโ Resource group (logical container for a project)
โโโ Azure Database for PostgreSQL
โโโ Azure Container Apps environment
โโโ Azure Container Registry
<aside> ๐ผ๏ธ Visual: Azure Resource Hierarchy
</aside>
westeurope). Keep all resources for a project in the same region to reduce latency and cost.<aside> โจ๏ธ Hands on: Open the Azure portal, navigate to your subscription, and find the resource group your teacher created. Identify which region it uses.
</aside>
Azure manages the infrastructure, but you still manage:
null rows into PostgreSQL, Azure won't fix it.When you are unsure whether a concern falls on your side or Azure's, an LLM can help you reason through the shared-responsibility split.
<aside> ๐ก Using AI to help: Describe a configuration or security concern (without secrets) and ask an LLM to label which side of the shared-responsibility line it falls on, then verify against the Azure shared responsibility documentation. (โ ๏ธ Ensure no PII or sensitive company data is included!)
</aside>
Use it as a thinking aid, not a source of truth: confirm Azure's docs before you act on the suggestion.
<aside> ๐ค Curious Geek: The first cloud launch
Amazon launched EC2 in 2006, which popularized pay-as-you-go compute. Azure followed soon after and now offers hundreds of managed services. For a deeper look at how cloud computing evolved, from bare metal to VMs to serverless and from CapEx to pay-per-second billing, see History of Cloud Computing.
</aside>
<aside> ๐ Try it in the widget: Interactive Quiz: Introduction to Cloud and Azure
</aside>
https://lasse.be/simple-hyf-teach-widget/mcq.html?bank=week_6_ch1_intro_cloud_azure&embed=1
If the IaaS / PaaS / SaaS split still feels fuzzy after reading, this short Azure-fundamentals video walks the three service models with concrete Azure examples.
<aside> ๐ฌ Struggling with this concept? Watch this beginner-friendly video:
</aside>
https://www.youtube.com/watch?v=9CVBohl6w0Q
<aside> ๐ For full courses, books, and community resources, see the optional Going Further page.
</aside>
Next up: Azure CLI and the Portal, where you log in with az, navigate the shared resource group, and learn the one command pattern that works across every Azure service.
The HackYourFuture curriculum is licensed underย CC BY-NC-SA 4.0 *https://hackyourfuture.net/*

Built with โค๏ธ by the HackYourFuture community ยท Thank you, contributors
Found a mistake or have a suggestion? Let us know in the feedback form.