This guide provides step-by-step instructions for provisioning key Azure resources and assigning appropriate IAM roles.
Goal: Deploy a single Azure SQL Database.
Steps:
- In the Azure Portal, go to SQL Databases.
- Select Create → Single database.
- On the Basics tab:
- Choose subscription and resource group.
- Name the database.
- Create or select an existing server (unique name, region, admin credentials).
- Configure options (e.g., elastic pool = No, workload environment).
- Select Review + Create.
Role Assignments:
- SQL DB Contributor
- SQL Security Manager
- Reader
🔗 Quickstart: Create SQL Database
Goal: Set up an ML environment.
Steps:
- In Azure ML Studio, create a Workspace.
- Provide workspace details (name, subscription, region, hub optional).
- Create the workspace.
- Inside the workspace → New > Compute instance → Provide name → Review + Create.
Role Assignments:
- Contributor
- Reader
- Owner
- AzureML Data Scientist
🔗 Quickstart: Create Azure ML Resources
Goal: Provision GPT-capable resource.
Steps:
- In Azure Portal → Create resource → Azure OpenAI.
- Fill in basics (subscription, group, name, tier, region).
- Configure networking.
- Review + Create.
Role Assignments:
- Cognitive Services Contributor
- Cognitive Services User
🔗 Create Azure OpenAI Resource
Goal: Deploy a web app.
Steps:
- Create resource → App Service.
- Configure basics (name, runtime, region, plan).
- Review + Create.
Role Assignments:
- Web Plan Contributor
- Website Contributor
- Reader
🔗 Quickstart: Create App Service
Goal: Create storage accounts.
Steps:
- Create resource → Storage account.
- Configure (subscription, group, location, replication, performance).
- Create containers, tables, queues.
Role Assignments:
- Storage Blob Data Contributor
- Storage Queue Data Contributor
- Storage Table Data Contributor
- Reader
Goal: Create ETL pipelines.
Steps:
- Create resource → Data Factory.
- Configure (subscription, group, name, version, region).
- Author pipelines.
Role Assignments:
- Data Factory Contributor
- Reader
Goal: Messaging infrastructure.
Service Bus Steps:
- Create resource → Service Bus.
- Configure namespace, tier, region.
Event Grid Steps:
- Create resource → Event Grid Topic.
- Add topics/subscriptions.
Role Assignments:
- Azure Service Bus Data Sender
- Azure Service Bus Data Receiver
- EventGrid Contributor
🔗 Service Bus Quickstart
🔗 Event Grid Quickstart
Goal: Workflow automation.
Steps:
- Create resource → Logic App (Consumption/Standard).
- Configure (name, group, plan).
- Build workflows.
Role Assignments:
- Logic App Contributor
- Logic App Operator
- Reader
Goal: Deploy function apps.
Steps:
- Create resource → Function App.
- Configure basics (runtime, plan, region).
- Create and author functions.
Role Assignments:
- Function App Contributor
- Reader
Goal: Create a VM.
Steps:
- Create resource → Virtual Machine.
- Configure (name, OS, size, credentials, disks, networking).
- Review + Create.
Role Assignments:
- Virtual Machine Contributor
- Reader
- (Optional) VM login RBAC:
- Virtual Machine Administrator Login
- Virtual Machine User Login
Goal: Multi-model distributed database.
Steps:
- Create resource → Azure Cosmos DB.
- Choose API (SQL, MongoDB, Cassandra, Gremlin, Table).
- Configure basics (name, location, capacity mode).
- Optionally enable global distribution.
Role Assignments:
- Cosmos DB Account Contributor
- Cosmos DB Operator
- Cosmos DB Reader
Sign In and Create a Project
-
Sign in at ai.azure.com with your Azure account.
-
Once signed in, choose “Create new” or “Create a project”.
-
Select the project type:
- Foundry project – recommended for building agents and working with Azure AI Foundry APIs.
-
Configure basics: a. Project Name b. Resource Group (new or existing) c. Location / Region d. Click Create and wait for provisioning.
-
Accessing Your API Key (Endpoint & Credentials)
- Open the project in the Azure AI Foundry portal.
- In the Overview section, you’ll find your project endpoint—this is the URL you’ll use to call the API.
🔗 https://learn.microsoft.com/en-us/azure/ai-foundry/how-to/create-projects
- EastUS
- WestUS
- West Europe
- North Europe
- Central US