Tutorial part 0: Deploy Azure infrastructure¶
In this tutorial, you clone the repository, set up your local environment, and provision the Azure platform that powers every subsequent part: Microsoft Fabric Capacity, Microsoft Foundry, AI Search and monitoring services.
Prerequisites¶
Before you begin, make sure you have:
- Azure subscription with Contributor access
- VS Code with the GitHub Copilot extension
- Git
- Azure CLI
- Azure Developer CLI (
azd) v1.15+ - Python 3.10+
- Fabric capacity (F2+)
Step 1: Clone the repository¶
Open a terminal and clone the repo:
Then open the cloned folder in VS Code:
Clone from inside VS Code
You can also clone directly from VS Code:
- Press ++ctrl+shift+p++ to open the Command Palette
- Type Git: Clone and select it
- Paste the URL:
https://github.com/nchandhi/nalini_miq_tutorials - Choose a local folder and click Open when prompted
Step 2: Set up the Python environment¶
Open the VS Code integrated terminal (++ctrl+grave++) and create a virtual environment:
Step 3: Run skills with GitHub Copilot¶
This tutorial series uses GitHub Copilot skills — guided, interactive workflows that walk you through each step directly in VS Code.
How to run a skill¶
- Open GitHub Copilot Chat by pressing ++ctrl+shift+i++ (or click the Copilot icon in the sidebar)
- In the chat input, type the skill command (e.g.
/miq-0a-infra-setup) and press ++enter++ - Copilot will guide you through the steps — follow its instructions, run commands when prompted, and answer any questions it asks
- When one skill is complete, run the next one in order
What are skills?
Skills are markdown files in .github/skills/ that give Copilot domain-specific instructions. When you type a skill command like /miq-0a-infra-setup, Copilot reads the skill file and becomes an expert guide for that specific task. You stay in control — Copilot explains what to do and you execute the commands.
Skills for this module¶
Run these skills in order:
| Skill | What it does |
|---|---|
/miq-0a-infra-setup |
Deploy Microsoft Foundry, AI Search, and supporting services |
/miq-0b-configure-env |
Create the local .env file and validate connectivity |
What's happening in this module
Deploy infrastructure -- The azd up command provisions resources defined in Bicep templates: a Microsoft Foundry hub and project, an AI Search service, Key Vault, and monitoring services.
Configure environment -- A local .env file is created with resource endpoints and keys. Authentication uses DefaultAzureCredential, so no secrets are stored in code.
Supporting documentation¶
- Azure Developer CLI (azd) overview
- Bicep language overview
- What is Microsoft Foundry?
- Azure AI Search overview
- DefaultAzureCredential overview
- Microsoft Fabric capacity
Next steps¶
Continue to Tutorial part 1: Build the data foundation.