Week 6 - Cloud and Azure Essentials
Introduction to Cloud and Azure
Week 6 Assignment: Deploy Your Pipeline to Azure
<aside> 📝 These exercises combine concepts from multiple chapters. Use them to verify your understanding before starting the assignment.
</aside>
Concepts: Azure CLI, resource hierarchy, cost awareness.
Instructions:
az resource list --resource-group <your-group> --output table to see all resources in your shared resource group.Why this helps: In the assignment, you will create resources yourself. Knowing what already exists prevents duplicates and wasted credits.
Concepts: Blob Storage (Python + CLI), naming conventions.
Instructions:
test/practice_2026-04-01.json) and uploads it to the shared storage account.test/ prefix, download the blob you uploaded, and verify the contents match.az storage blob delete --account-name <name> --container-name raw --name test/practice_2026-04-01.json.Why this helps: The assignment requires you to verify pipeline output. This exercise practices the verification loop (upload from code, check from CLI) that you will use to prove your pipeline works.
Concepts: Postgres connection, error reading, SSL.
Instructions:
Your teacher gives you this connection string (it has three problems):
postgresql://admin:password@hyf-data-pg/weather_db
psql or Python's psycopg. Read the error message.SELECT version(); to confirm you reached Azure Postgres.Why this helps: Connection string errors are the #1 cause of "it works locally but not on Azure" failures. Practicing error diagnosis now saves time during the assignment.
Concepts: Container Apps Jobs, environment variables, log reading.
Instructions:
az containerapp job create command you would run, including: image name, registry server, environment variables, replica timeout.--registry-server? Is your --container name correct?SELECT COUNT(*)) and a blob appeared in storage (az storage blob list).Why this helps: Writing the command before running it forces you to think about each flag. Self-reviewing against the gotchas list catches the most common mistakes (missing --registry-server, wrong --container name).
Concepts: Cost awareness, pricing calculator, resource lifecycle.
Instructions:
Standard_B1ms Postgres server running 24/7, the same server stopped 16 hours/day, and a Container App Job running 5 times/day for 60 seconds each.Why this helps: The assignment requires a running pipeline on Azure. Understanding costs before you start prevents surprises and builds a habit you will need in any professional data engineering role.
All resources live in the shared resource group your teacher created. Do not delete the resource group itself.
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.