Skip to content

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:

Step 1: Clone the repository

Open a terminal and clone the repo:

git clone https://github.com/nchandhi/nalini_miq_tutorials.git

Then open the cloned folder in VS Code:

code nalini_miq_tutorials

Clone from inside VS Code

You can also clone directly from VS Code:

  1. Press ++ctrl+shift+p++ to open the Command Palette
  2. Type Git: Clone and select it
  3. Paste the URL: https://github.com/nchandhi/nalini_miq_tutorials
  4. 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:

python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txt

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

  1. Open GitHub Copilot Chat by pressing ++ctrl+shift+i++ (or click the Copilot icon in the sidebar)
  2. In the chat input, type the skill command (e.g. /miq-0a-infra-setup) and press ++enter++
  3. Copilot will guide you through the steps — follow its instructions, run commands when prompted, and answer any questions it asks
  4. 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

Next steps

Continue to Tutorial part 1: Build the data foundation.