Setting Up Azure Azure Resources for the Workshop¶
In this guide, you will set up the necessary Azure resources required to complete the labs in this workshop.
The labs utilize models and services from Azure AI Foundry.
Azure AI Foundry is a managed service that simplifies the development and deployment of AI applications by providing tools for model management, evaluation, and monitoring.
Prerequisites ✅¶
- Azure Subscription: Sign up for a free Azure account if you don't have one.
-
Azure Developer CLI (azd): The Azure Developer CLI will be used to provision and deploy resources. It should already be installed in your development environment (GitHub Codespaces or Dev Container).
Verify Azure Developer CLI
Run
azd versionin your terminal to verify the installation.
Deploying Azure Resources 🚀¶
1. Authenticate with Azure¶
First, authenticate with your Azure account using the Azure Developer CLI:
azd auth login --use-device-code
Follow the prompts to complete the authentication process in your browser.
2. Create and Configure Environment¶
Create a new environment for your Azure resources:
azd env new dev
azd env select dev
azd env set AZURE_LOCATION australiaeast
Azure Location
You can change australiaeast to any Azure region that supports AI Foundry. Common options include: eastus, westus2, westeurope, southeastasia.
3. Provision and Deploy¶
Deploy all required Azure resources using a single command:
azd up
This command will:
- Provision Azure AI Foundry resources (AI Hub, AI Project)
- Deploy AI models.
- Configure authentication and permissions
Deployment Time
The deployment process may take 5-10 minutes to complete. Please be patient while Azure provisions all resources.
Verify Deployment ✅¶
- Navigate to the Azure Portal
- Look for a resource group named
rg-aiagent-ws-dev(or similar, based on your environment name) - Verify the following resources are created:
- Azure AI Hub
- Azure AI Project
- AI models (e.g., GPT-4)