diff --git a/docs/images/AZ_OpenAI_setup_1.jpg b/docs/images/AZ_OpenAI_setup_1.jpg new file mode 100644 index 0000000..2aa8589 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_1.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_10.jpg b/docs/images/AZ_OpenAI_setup_10.jpg new file mode 100644 index 0000000..3ab760c Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_10.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_11.jpg b/docs/images/AZ_OpenAI_setup_11.jpg new file mode 100644 index 0000000..76ca4e5 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_11.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_2.jpg b/docs/images/AZ_OpenAI_setup_2.jpg new file mode 100644 index 0000000..a394a52 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_2.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_3.jpg b/docs/images/AZ_OpenAI_setup_3.jpg new file mode 100644 index 0000000..35b2921 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_3.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_4.jpg b/docs/images/AZ_OpenAI_setup_4.jpg new file mode 100644 index 0000000..5377a16 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_4.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_5.jpg b/docs/images/AZ_OpenAI_setup_5.jpg new file mode 100644 index 0000000..32247d5 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_5.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_6.jpg b/docs/images/AZ_OpenAI_setup_6.jpg new file mode 100644 index 0000000..225f18e Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_6.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_7.jpg b/docs/images/AZ_OpenAI_setup_7.jpg new file mode 100644 index 0000000..4f70b95 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_7.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_8.jpg b/docs/images/AZ_OpenAI_setup_8.jpg new file mode 100644 index 0000000..b71c479 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_8.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_9.jpg b/docs/images/AZ_OpenAI_setup_9.jpg new file mode 100644 index 0000000..b5ee5f4 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_9.jpg differ diff --git a/notebooks/GenAI/azure_infra_setup/README_1.md b/notebooks/GenAI/azure_infra_setup/README_1.md new file mode 100644 index 0000000..3e1f4aa --- /dev/null +++ b/notebooks/GenAI/azure_infra_setup/README_1.md @@ -0,0 +1,102 @@ +# **Setting Up Azure Environment for Azure GenAI Cloud Lab** +**** +##### **Skill Level: Beginner** +This guide will help you set up your Azure environment to complete the activities in the [GenAI](https://github.com/STRIDES/NIHCloudLabAzure/tree/main/notebooks/GenAI) directory of the NIH Cloud Lab. The purpose of this guide is to walk you through a deployment of the resources needed to carry out these activities. +### Prerequisites +***** +- An active Azure subscription +- ### Resources and Pricing +***** + +Provided is a list of resources that will be deployed along with the estimated cost breakdown for each resource. Please find the resources that will be deployed below. +#### Resources deployed + +1. ##### **Azure Storage Account** + - **Resource Type:** Storage Account (Standard_LRS) + - **Purpose:** This resource is used to store and manage files. + - **Estimated Cost:** $0.018 per GB / $18.40 per 1000 GB per month +2. ##### **Azure OpenAI** + - **Resource Type:** Cognitive Services (Standard) + - **Purpose:** This resource provides access to OpenAI models, including GPT and embeddings for AI processing. + - **Models Deployed.** + - **Model:** gpt-5.4-nano + - **Version:** 2024-07-18 + - **Cost per 1M Tokens:** $0.15 input / $0.60 output + - **Model:** text-embedding-3-small + - **Version:** 1 + - **Cost per 1K Tokens:** $0.00002 + - **Estimated Cost:** Varies based on model usage and API calls. Please refer to [Azure OpenAI Service Pricing](https://azure.microsoft.com/en-us/pricing/details/azure-openai/?msockid=3df6a53ac4916aa73e41b1e3c5c36bd4) for more details. + +Please refer to the [Azure Pricing Calculator](https://azure.microsoft.com/en-us/pricing/calculator/) for a more detailed and personalized estimate based on your specific usage patterns and region. +#### Get Started +**** +### Azure OpenAI Setup Steps +**** +1. Navigate to Azure OpenAI by searching at the top of the page. +![AZ_OpenAI_setup_1.jpg](/docs/images/AZ_OpenAI_setup_1.jpg) + +2. Click **Create** and then select **Azure OpenAI** + +![AZ_OpenAI_setup_2.jpg](/docs/images/AZ_OpenAI_setup_2.jpg) + +3. In the **Create Azure OpenAI window:** + - Select your Azure subscription + - Click **Create new** for resource group + +![AZ_OpenAI_setup_3.jpg](/docs/images/AZ_OpenAI_setup_3.jpg) + + - Select Region **East US 2** + - Enter Name for your Azure OpenAI + - Select Pricing tier **Standard S0** + - Click **Next** +4. In the Network window: + - Select **All networks, including the internet, can access this resource.** + - Click Next. +5. In **Reviwe+submit** window: + - Click **create** + +![AZ_OpenAI_setup_4.jpg](/docs/images/AZ_OpenAI_setup_4.jpg) + +6. When you see **Your deployment is complete** message: + - Select **Go to resource** + +![AZ_OpenAI_setup_5.jpg](/docs/images/AZ_OpenAI_setup_5.jpg) + +7. In your resource window: + - Select **Go to Foundry portal** + - Click **Create a project** + +![AZ_OpenAI_setup_6.jpg](/docs/images/AZ_OpenAI_setup_6.jpg) + +8.In the Create project window: + - Give a **Project name** + - Select **Region** + - Select your **Subscription** + - Select **Resource group** + - Click **Create** + +![AZ_OpenAI_setup_7.jpg](/docs/images/AZ_OpenAI_setup_7.jpg) + +9. In the Deployments section: + - Select **View Deployments** or **Manage Deployments** + - Select **Deploy a base model** + +![AZ_OpenAI_setup_8.jpg](/docs/images/AZ_OpenAI_setup_8.jpg) + +![AZ_OpenAI_setup_9.jpg](/docs/images/AZ_OpenAI_setup_9.jpg) + +10. Search for and deploy a GPT model: + - Type a GPT model name in the search bar + - Click on the selected model + - Select **Deploy** + +![AZ_OpenAI_setup_10.jpg](/docs/images/AZ_OpenAI_setup_10.jpg) + +![AZ_OpenAI_setup_11.jpg](/docs/images/AZ_OpenAI_setup_11.jpg) + +11. Deploy an embedding model: + - Type an embedding model name in the search bar + - Click on the selected model + - Select **Deploy** + +Azure infrastructre setup is complete. diff --git a/notebooks/GenAI/azure_infra_setup/README_1.pdf.html b/notebooks/GenAI/azure_infra_setup/README_1.pdf.html new file mode 100644 index 0000000..e3aa885 --- /dev/null +++ b/notebooks/GenAI/azure_infra_setup/README_1.pdf.html @@ -0,0 +1,371 @@ + + + + + + Setting Up Azure Environment for Azure GenAI Cloud Lab + + + +

Setting Up Azure Environment for Azure GenAI Cloud Lab

+ +
+ Skill Level: Beginner +
+ +

This guide will help you set up your Azure environment to complete the activities in the GenAI directory of the NIH Cloud Lab.

+ +
+ +

Prerequisites

+ +
+ +
+ +
+ +

Resources and Pricing

+ +

Provided is a list of resources that will be deployed along with the estimated cost breakdown for each resource. Please find the resources that will be deployed below.

+ +

Resources Deployed

+ +
+
Azure Storage Account
+

Resource Type: Storage Account (Standard_LRS)

+

Purpose: This resource is used to store and manage files.

+
+ Estimated Cost:
+ $0.018 per GB
+ $18.40 per 1000 GB per month +
+
+ +
+
Azure OpenAI
+

Resource Type: Cognitive Services (Standard)

+

Purpose: This resource provides access to OpenAI models, including GPT and embeddings for AI processing.

+ +

Models Deployed:

+ +
+

Model: gpt-5.4-nano

+

Version: 2024-07-18

+

Cost per 1M Tokens: $0.15 input / $0.60 output

+
+ +
+

Model: text-embedding-3-small

+

Version: 1

+

Cost per 1K Tokens: $0.00002

+
+ +
+ Estimated Cost: Varies based on model usage and API calls. Please refer to Azure OpenAI Service Pricing +
+
+ +
+ 💡 Tip: Please refer to the Azure Pricing Calculator for a more detailed and personalized estimate based on your specific usage patterns and region. +
+ +
+ +

Get Started

+ +

Azure OpenAI Setup

+ +
+

Step 1: Navigate to Azure OpenAI

+

Navigate to Azure OpenAI. The easiest way is to search at the top of the page.

+
🖼️ Screenshot: AZ_OpenAI_setup_1.jpg
+
+ +
+

Step 2: Create Azure OpenAI Resource

+

Click Create and then select Azure OpenAI

+
🖼️ Screenshot: AZ_OpenAI_setup_2.jpg
+
+ +
+

Step 3: Configure Resource Group

+

In the Create Azure OpenAI window, you should be able to see your Azure Subscription and click Create new for resource group.

+
🖼️ Screenshot: AZ_OpenAI_setup_3.jpg
+
+ +
+

Step 4: Set Region and Pricing Tier

+

Select:

+ +

Click Next

+
🖼️ Screenshot: AZ_OpenAI_setup_4.jpg
+
+ +
+

Step 5: Configure Network Settings

+

In the Network window, select:

+ +

Click Next

+
+ +
+

Step 6: Review and Create

+

In the Review + Submit window, click Create

+
+ +
+

Step 7: Access Your Resource

+

There should be a message that Your deployment is complete. Then select Go to resource

+
🖼️ Screenshot: AZ_OpenAI_setup_5.jpg
+
+ +
+

Step 8: Go to Foundry Portal

+

In your resource window, select Go to Foundry portal then click Create a project

+
🖼️ Screenshot: AZ_OpenAI_setup_6.jpg
+
+ +
+

Step 9: Create a Project

+

Give a Project name, select Region, confirm your Subscription, select Resource group, and click Create

+
🖼️ Screenshot: AZ_OpenAI_setup_7.jpg
+
+ +
+

Step 10: Deploy a Base Model

+

Select View Deployments or Manage Deployments. Then select Deploy a base model

+
🖼️ Screenshots: AZ_OpenAI_setup_8.jpg, AZ_OpenAI_setup_9.jpg
+
+ +
+

Step 11: Deploy GPT Model

+

In the search bar, type a GPT model that you would like to deploy. Click on the selected model and then select Deploy

+
🖼️ Screenshots: AZ_OpenAI_setup_10.jpg, AZ_OpenAI_setup_11.jpg
+
+ +
+

Step 12: Deploy Embedding Model

+

In a similar way, in the search bar type an embedding model that you would like to deploy. Click on the selected model and then select Deploy

+
+ +
+ ✅ Azure Infrastructure Setup is Complete! +
+ +
+ + + + + \ No newline at end of file