Week 6 - Cloud and Azure Essentials

Introduction to Cloud and Azure

Azure CLI and the Portal

Azure Blob Storage

Azure PostgreSQL Databases

Azure Container Apps Jobs

Cost Awareness

History of Cloud Computing

Week 6 Gotchas & Pitfalls

Practice

Week 6 Assignment: Deploy Your Pipeline to Azure

Week 6 Lesson Plan

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.

Concepts

What the cloud gives data pipelines

Cloud services give you:

Cloud service types

Cloud providers offer services at different levels of abstraction:

<aside> ๐Ÿ–ผ๏ธ Visual: Cloud Service Types

</aside>

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.

Why this course uses Azure

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>

How Azure is organized

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>

<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>

Shared responsibility

Azure manages the infrastructure, but you still manage:

<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>

Exercises

  1. Explain the difference between IaaS and PaaS with one example each.
  2. List three reasons cloud platforms are useful for data pipelines.
  3. Describe how Week 5 containers fit into Week 6 deployments.

๐Ÿง  Knowledge Check

  1. Your pipeline needs to run once a day and write results to a database. Would you choose IaaS or PaaS for the database, and why?
  2. What happens to all the resources inside a resource group when you delete the resource group?
  3. A colleague says "the cloud is just someone else's computer." What nuance does this miss about managed services like Azure Database for PostgreSQL?

Extra reading


The HackYourFuture curriculum is licensed underย CC BY-NC-SA 4.0 *https://hackyourfuture.net/*

CC BY-NC-SA 4.0 Icons

Built with โค๏ธ by the HackYourFuture community ยท Thank you, contributors

Found a mistake or have a suggestion? Let us know in the feedback form.