Skip to content

Commit 1d48919

Browse files
author
Mike Swantek
committed
update codespace document with model quota check steps.
1 parent 00f201a commit 1d48919

10 files changed

Lines changed: 13 additions & 8 deletions

docs/github_code_spaces_steps.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ You can run this solution using GitHub Codespaces. The button will open a web-ba
3737
![Image showing the pop up window in the web browser for azd auth](../img/provisioning/azdauthpopup.png)
3838

3939
7. Repeat the same process in #6 using the “az login” command. The [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/what-is-azure-cli?view=azure-cli-latest) is used to validate available AI model quota.
40+
![image showing theaz login in the vs code terminal](../img/provisioning/az_login.png)
4041

4142
8. Return to the codespaces window now. In the terminal window, begin by initializing the environment by typing the command “azd init”
4243

@@ -46,19 +47,23 @@ You can run this solution using GitHub Codespaces. The button will open a web-ba
4647

4748
![aImage showing entering a new environment name](../img/provisioning/enter_evn_name.png)
4849

49-
10. Now start the deployment of the infrastructure by typing the command “azd provision
50+
10. Now start the deployment of the infrastructure by typing the command “azd up
5051

51-
![image showing the terminal in vs code](../img/provisioning/azd_provision_terminal.png)
52+
![image showing the terminal in vs code](../img/provisioning/azd_provision_terminal.png)
5253

53-
This step will allow you to choose from the subscriptions you have available, based on the account you logged in with in the login step. Next it will prompt you for the region to deploy the resources into.
54+
This step will allow you to choose from the subscriptions you have available, based on the account you logged in with in the login step. Next it will prompt you for the region to deploy the resources into as well as any additional Azure resources to be provisioned and configured.
5455

55-
![image showing region selection](../img/provisioning/azdprovision_select_location.png)
56+
**Be sure to remember the vm password. This will be used in a later step. You are still required to log into Azure once you connect through the virtual machine.
5657

57-
11. Next you will be prompted for values to enable additional features outside of the AI Foundry required features. They are false by default.
58-
![image of prompts](../img/provisioning/prompts.png)
59-
**Be sure to remember the vm password and vm username. This will be used in a later step. Because we are using FDPO subscriptions, we do not have access to Entra to create the SSO to the jump box at this time. You are still required to log into Azure once you connect to the virtual machine.
6058

61-
12. After completeing the required paramters that you were prompted for, the provisioning of resources will run and deploy the Network Isolated AI hub, project and dependent resources in about 20 minutes.
59+
11. The automated model quota check will run, and will check if the location selected will have the necessary quota for the AI Models that are listed in the parameters file prior to deploying any resources. If the location selected has sufficient quota for the models you plan to deploy, the provisioning will begin without notification.
60+
61+
![image showing model quota pre-provision pass](../img/provisioning/preprovision_success.png)
62+
63+
If the location selected does not have the available quota for the models selected in your parameters, there will be a message back to the user, prior to any provisioning of resources. This will allow the developer to change the location of the provisiong and try again. Note that in our example, Italy North had capacity for gpt-4o but not for text-embedding-ada-002. This terminated the entire provisioning, because both models could not be deployed due to a quota issue.
64+
65+
12. After completeing the required paramters that you were prompted for, and a successful model quota validation, the provisioning of resources will run and deploy the Network Isolated AI Foundry development portal and dependent resources in about 20 minutes.
66+
6267

6368
# Post Deployment Steps:
6469
These steps will help to check that the isolated environment was set up correctly.

img/provisioning/az_login.png

16.2 KB
Loading
-15.8 KB
Loading
-2.73 KB
Loading
8.73 KB
Loading
250 Bytes
Loading
-740 Bytes
Loading

img/provisioning/enterpassword.png

-1.17 KB
Loading
55.1 KB
Loading
21.8 KB
Loading

0 commit comments

Comments
 (0)