{"id":524,"date":"2025-07-16T01:54:56","date_gmt":"2025-07-16T01:54:56","guid":{"rendered":"https:\/\/blog.ngocha.biz\/?p=524"},"modified":"2025-07-16T01:54:56","modified_gmt":"2025-07-16T01:54:56","slug":"setup-azure-ai-foundry","status":"publish","type":"post","link":"https:\/\/blog.ngocha.biz\/?p=524","title":{"rendered":"How to Setup Azure AI Foundry: Create Hub, Projects &#038; Deploy LLM Models"},"content":{"rendered":"<p>In this blog, we will look at Azure AI Foundry basics and then setup AI Foundry hub and a project to deploy a large language model (LLM).<\/p>\n<p>By the end of this blog, you will have learned:<\/p>\n<ul>\n<li>What Azure AI Foundry is and how it works<\/li>\n<li>How to set up an AI Foundry Hub and Project<\/li>\n<li>How to deploy a large language model (LLM) in the project<\/li>\n<li>Key features like model fine-tuning, deployment options, agent services, and playgrounds<\/li>\n<li>The difference between Azure AI Foundry and <a href=\"https:\/\/devopscube.com\/setup-azure-openai\/\" rel=\"noreferrer\">Azure OpenAI<\/a><\/li>\n<li>Best practices for setting up access, storage, and security<\/li>\n<\/ul>\n<h2 id=\"what-is-azure-ai-foundry\">What is Azure AI Foundry?<\/h2>\n<p>Azure AI Foundry is Microsoft&#8217;s managed platform that handles the entire AI application lifecycle, with key focus on generative AI and modern AI development. <\/p>\n<p>Think of it as like a complete toolkit for building modern AI applications at enterprise scale.<\/p>\n<p>Instead of starting from scratch, you get access to a massive <strong>catalog of over 1900+ pre-trained models<\/strong> from various providers. <\/p>\n<p>You can also build RAG applications using your company&#8217;s data, manage prompts and LLM workflows, and handle both <strong>traditional MLOps and the newer LLMOps<\/strong> requirements.<\/p>\n<p>In short, if you&#8217;re looking for a one-stop solution to build, train, deploy, and scale AI applications without stitching together multiple separate services, Azure AI Foundry is the service you need.<\/p>\n<p>When we first started using Azure AI Foundry, it was quite confusing.<\/p>\n<p>There is a separate AI Foundry portal, and then there is also an AI Foundry service inside the Azure portal.<\/p>\n<p>So before you begin, it&#8217;s important to understand these two key concepts in Azure AI Foundry. In this blog, we will be looking at the AI Foundry service through the Azure portal.<\/p>\n<p>The following image shows the architecture of Azure AI Foundry.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-96.png\" class=\"kg-image\" alt=\"architecture of Azure AI Foundry\" loading=\"lazy\" width=\"1543\" height=\"1438\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/07\/image-96.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/07\/image-96.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/07\/image-96.png 1543w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p><strong>Azure AI Foundry Hub: <\/strong>The hub acts as the parent resource that provides shared infrastructure and centralized management. It centralizes and manages the following.<\/p>\n<ol>\n<ol>\n<li>Security and networking configuration (Private endpoints, managed virtual networks, Azure Policies)<\/li>\n<li>Shared compute, storage resources, and connections (e.g., to Azure OpenAI, AI Search, Storage, Key Vault, Container Registry)<\/li>\n<li>Access control and permissions (Azure RBAC and Azure ABAC)<\/li>\n<li>Cost management across all child projects<\/li>\n<\/ol>\n<\/ol>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-emoji\">\ud83d\udca1<\/div>\n<div class=\"kg-callout-text\">Overall, the Hub manages shared settings and resources.<\/div>\n<\/div>\n<p><strong>Azure AI Foundry Projects: <\/strong>Projects are individual workspaces within a hub where actual AI development happens (model training, deployment, etc.).. Each project contains the following.<\/p>\n<ol>\n<ol>\n<li>Models (trained or imported)<\/li>\n<li>Datasets for training and testing<\/li>\n<li>Indexes for search and retrieval<\/li>\n<li>Experiments and deployments<\/li>\n<li>Endpoints for model serving<\/li>\n<\/ol>\n<\/ol>\n<p>And within Projects, you have access to two main categories of AI services.<\/p>\n<ol>\n<li><strong>Azure OpenAI<\/strong>: For integrating OpenAI&#8217;s LLM models (GPT, etc.) into applications<\/li>\n<li><strong>Azure AI Services: <\/strong>Readily available AI Services, such as Bot services, AI Content Safety, Machine learning, AI Search, AI Speech, Vision, Language, etc.<\/li>\n<\/ol>\n<h2 id=\"lets-begin\">Let&#8217;s Begin..<\/h2>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-emoji\">\ud83d\udccc<\/div>\n<div class=\"kg-callout-text\">The only prerequisite to follow this setup is to have an Azure user account with the required permissions to access AI Foundry.<\/div>\n<\/div>\n<p>Here is what we are going to do in this guide,<\/p>\n<ol>\n<li>Create Azure AI Foundry Hub (Through Azure Portal)<\/li>\n<li>Create a project inside the Hub<\/li>\n<li>Deploy a large language model in the project.<\/li>\n<\/ol>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-emoji\">\u26a0\ufe0f<\/div>\n<div class=\"kg-callout-text\"><b><strong style=\"white-space: pre-wrap;\">Important Note:<\/strong><\/b> You can create a project directly from the Azure AI Foundry Portal, but this creates a &#8216;Foundry project&#8217; with limited control over networking and security features. <\/p>\n<p>If you are setting up AI Foundry and need good governance, including advanced networking, security configurations, and enterprise-grade controls, you need to create a hub-based project starting from the Azure portal. This guide is based on AI Foundry hub management through the Azure portal<\/p><\/div>\n<\/div>\n<h2 id=\"create-an-azure-ai-foundry-hub\">Create an Azure AI Foundry Hub<\/h2>\n<p>The first step is to create a Hub.<\/p>\n<p>Let&#8217;s get started.<\/p>\n<p>In the search bar, type <code>Azure AI Foundry<\/code>and open the service.<\/p>\n<p>Navigate to the <code>AI Hubs<\/code> and click the <code>+ create<\/code> button to select the <code>Hub<\/code> for the AI  Hub creation.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-24.png\" class=\"kg-image\" alt=\"the azure ai foundry hub creation page\" loading=\"lazy\" width=\"738\" height=\"526\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-24.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-24.png 738w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>The resource creation page will open.<\/p>\n<p>On the <code>Basics<\/code> page, select the subscription, resource group, region, and name for the Hub.<\/p>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-emoji\">\ud83d\udca1<\/div>\n<div class=\"kg-callout-text\">The Hub creation comes with the Azure OpenAI (Base Model).<br \/>You can use the existing one, or it will create a new one.<\/div>\n<\/div>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-25.png\" class=\"kg-image\" alt=\"The basics page of the azure ai hub resource creation\" loading=\"lazy\" width=\"877\" height=\"754\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-25.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-25.png 877w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>In the <code>Storage<\/code> section, you need a storage account to store your project artifacts. You can choose the existing one, or it will create a new one itself.<\/p>\n<p>Along with you need to select one of the credentials store options to store the storage account and container registry credentials.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-26.png\" class=\"kg-image\" alt=\"The storage section page of the azure ai hub resouce creation\" loading=\"lazy\" width=\"862\" height=\"595\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-26.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-26.png 862w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>The next one is the <code>Inbound Access<\/code> section, where we can configure the network configuration for the clients to access the Hub.<\/p>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-emoji\">\u26a0\ufe0f<\/div>\n<div class=\"kg-callout-text\">This is the dev setup, so we are not restricting public access, but in production, you need to give access only to specific networks to access the Hub.<\/div>\n<\/div>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-27.png\" class=\"kg-image\" alt=\"The inbound access section page of the azure ai hub resouce creation\" loading=\"lazy\" width=\"902\" height=\"513\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-27.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-27.png 902w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>The following section will be the <code>Outbound Access<\/code> section, where we can restrict outbound network access to the Hub.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-28.png\" class=\"kg-image\" alt=\"The outbound access section page of the azure ai hub resouce creation\" loading=\"lazy\" width=\"847\" height=\"491\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-28.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-28.png 847w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>On the <code>Encryption<\/code> section, we can configure the encryption so our data will be encrypted by the managed keys.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-29.png\" class=\"kg-image\" alt=\"The encryption section page of the azure ai hub resouce creation\" loading=\"lazy\" width=\"848\" height=\"428\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-29.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-29.png 848w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>On the <code>Identity<\/code> section, we define the identity so that the Hub can access the storage account, key vault, and container registry.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-30.png\" class=\"kg-image\" alt=\"The identity section page of the azure ai hub resouce creation\" loading=\"lazy\" width=\"853\" height=\"641\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-30.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-30.png 853w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>Finally, add the tags and review the given configuration, then click to create the Hub.<\/p>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-emoji\">\ud83d\udca1<\/div>\n<div class=\"kg-callout-text\">The configured settings will be applied to all the projects we create under this hub.<\/div>\n<\/div>\n<p>The Hub creation will take a few minutes to complete.<\/p>\n<p>Once the Hub creation is completed, navigate to the Azure AI Hub and click the <code>Launch Azure AI Foundry<\/code> to manage the resources.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-31.png\" class=\"kg-image\" alt=\"the overview page of the azure ai hub and the launch url of the azure ai foundry\" loading=\"lazy\" width=\"995\" height=\"591\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-31.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-31.png 995w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>You will be on a new dedicated page where you can manage your Hubs, Projects, and other services.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-32.png\" class=\"kg-image\" alt=\"the dedicated azure ai foundry hub page\" loading=\"lazy\" width=\"1907\" height=\"738\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-32.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-32.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1600\/2025\/06\/image-32.png 1600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-32.png 1907w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>Now that we have the hub ready, the next step is to create a project under the hub.<\/p>\n<h2 id=\"create-an-azure-ai-project\">Create an Azure AI Project<\/h2>\n<p>We can create multiple projects under one hub so hub level configurations will be inherited by all the projects.<\/p>\n<p>For the demo, we are going to create a single project under this hub (<code>Demo ai hub<\/code>)<\/p>\n<p>In the overview section of the Hub, we can create a new project by giving a name.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-36.png\" class=\"kg-image\" alt=\"The azue ai project creation page of the azure ai hub\" loading=\"lazy\" width=\"1302\" height=\"672\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-36.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-36.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-36.png 1302w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>Once the Project creation is complete, you will be redirected to the project page where you can view the endpoints.<\/p>\n<p>In there, you will see three endpoints for various use cases.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-37.png\" class=\"kg-image\" alt=\"listing the defautl endpoints and api key of the azure ai project\" loading=\"lazy\" width=\"936\" height=\"565\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-37.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-37.png 936w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>In the Project overview page, we can see the following endpoints, <\/p>\n<ol>\n<li><strong>Azure AI Inference <\/strong>&#8211;&gt; Endpoint for the non-default model<\/li>\n<li><strong>Azure OpenAI<\/strong> &#8211;&gt; Endpoint for the OpenAI service (Default model &#8211; <strong>gpt-4o-mini <\/strong>and the default embedding model &#8211; <strong>text-embedding-3-small<\/strong>)<\/li>\n<li><strong>Azure AI Services<\/strong> &#8211;&gt; This endpoint is for Azure&#8217;s AI services, including vision, speech, and language.<\/li>\n<\/ol>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-emoji\">\ud83d\udca1<\/div>\n<div class=\"kg-callout-text\">We can create standalone projects on the Azure AI Foundry or create projects under the AI Hub.<\/p>\n<p>All the projects under the AI Hub can utilize the security, connections, and configurations of the Hub.<\/p><\/div>\n<\/div>\n<p>Now, the project creation under the hub is completed so we can start deploying models and using them.<\/p>\n<h2 id=\"deploying-a-model-in-the-project\">Deploying a Model In the Project<\/h2>\n<p>To deploy a model for the project, navigate to the <code>Models + endpoints<\/code> section of the left side panel and select the <code>+ Deploy model<\/code> to choose the existing models or the fine-tuned models.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-97.png\" class=\"kg-image\" alt=\"the model and endpoints page of the azure ai foundry project\" loading=\"lazy\" width=\"733\" height=\"476\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-97.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-97.png 733w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>For this demo, we will choose one of the base OpenAI models, but you can choose any from the available list. <\/p>\n<p>Choosing the <code>Deploy base model<\/code> will show the list of all existing LLM models. We can choose them using the filters based on our use case.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-98.png\" class=\"kg-image\" alt=\"the llm model selection page to deploy the model for the azure ai foundry project\" loading=\"lazy\" width=\"759\" height=\"507\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-98.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-98.png 759w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>Once you select the model, it will show the description of the details about that model.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-99.png\" class=\"kg-image\" alt=\"the selected llm model and the description for the azure ai foundry project\" loading=\"lazy\" width=\"914\" height=\"551\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-99.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-99.png 914w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>On the next page, deployment details will be available, and we can customize them as per the requirements, such as deployment type, tokens per minute, etc.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-100.png\" class=\"kg-image\" alt=\"the deployment page of the llm model of the azure ai foundry project\" loading=\"lazy\" width=\"570\" height=\"560\"><\/figure>\n<p>Once the deployment is successfully completed, we can see the API key, endpoint, and sample usage on the deployment page.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-101.png\" class=\"kg-image\" alt=\"the authentication details of the deployed model to use the llm on the project\" loading=\"lazy\" width=\"1224\" height=\"708\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-101.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-101.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-101.png 1224w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>This is how we deploy a model on the Azure AI Projects and use it on our AI applications.<\/p>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-emoji\">\ud83d\udce6<\/div>\n<div class=\"kg-callout-text\">Accessing the model using an API is similar to how you access Azure OpenAI model endpoints. You can refer to the <a href=\"https:\/\/devopscube.com\/setup-azure-openai\/#how-to-use-the-azure-openai-apis\" rel=\"noreferrer\">Azure OpenAI blog section<\/a> for more details.<\/div>\n<\/div>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-emoji\">\ud83d\udcb0<\/div>\n<div class=\"kg-callout-text\">There is no combined cost for the Azure AI Foundry, instead a dedicated cost for each service we are using, tokens, and computational power we are consuming.<br \/>To see the pricing details, refer to this <a href=\"https:\/\/azure.microsoft.com\/en-us\/pricing\/details\/ai-foundry\/?ref=devopscube.com\" rel=\"noreferrer\">official documentation<\/a>.<\/div>\n<\/div>\n<p>In the next section, we can see some of the key features of the AI Foundry.<\/p>\n<h2 id=\"features-of-the-azure-ai-foundry\">Features of the Azure AI Foundry<\/h2>\n<p>The following are some of the key features of the Azure AI Foundry service.<\/p>\n<ol>\n<li>You can fine-tune your own models or use Azure\u2019s pre-built models with your own datasets.<\/li>\n<li>Models can be deployed in virtual machines or as serverless endpoints.<\/li>\n<li>The Agent Service helps automate and complete different parts of your AI workflows.<\/li>\n<li>Built-in playgrounds let you test your models or apps directly without setting up any infrastructure.<\/li>\n<li>Use it for Models as a Service.<\/li>\n<li>Suports LLMOps &amp; MLOps<\/li>\n<\/ol>\n<h2 id=\"azure-ai-foundry-vs-azure-openai\">Azure AI Foundry vs Azure OpenAI<\/h2>\n<p>Azure OpenAI is a service that gives you access to OpenAI\u2019s models like GPT-4, GPT-3.5, DALL\u00b7E, and Whisper through Microsoft\u2019s Azure platform. It is a way to <strong>use these models with the security<\/strong> and scalability of Azure\u2019s cloud.<\/p>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-text\">Choose Azure OpenAI if you specifically want to use OpenAI&#8217;s models in your applications<\/div>\n<\/div>\n<p>Azure AI Foundry is a broader platform designed for building, deploying, and managing AI projects. It supports different AI models and frameworks, not just OpenAI\u2019s. <\/p>\n<p>It also includes tools for MLOps, so teams can handle the full AI development lifecycle. Think of it like Azure\u2019s version of AWS SageMaker.<\/p>\n<div class=\"kg-card kg-callout-card kg-callout-card-blue\">\n<div class=\"kg-callout-text\">Go with Azure AI Foundry if you are <b><strong style=\"white-space: pre-wrap;\">building machine learning models<\/strong><\/b> from scratch, want to train them using your own data, <b><strong style=\"white-space: pre-wrap;\">manage several AI projects<\/strong><\/b> across different teams, or need a single place to control and manage all your models.<\/div>\n<\/div>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>If you have made it this far, nice work!<\/p>\n<p>We started with the basics of Azure AI Foundry, then how to set up the Hub, start a project, and deploy a large language model. <\/p>\n<p>The goal was to help you see where Azure AI Foundry fits in the bigger AI\/ML picture, especially compared to Azure OpenAI. If you\u2019re just using OpenAI models, Azure OpenAI might be all you need. But if you\u2019re <strong>building full-on AI solutions<\/strong> from start to finish, AI Foundry gives you way more room to work.<\/p>\n<p>And this is just the start.<\/p>\n<p>In the next few posts, we will dig into real-world use cases, fine-tuning, version control for models, managing costs, monitoring tools, and tips for working with AI Foundry as a team.<\/p>\n<p>Thanks for following along. If you decide to try out AI Foundry, I\u2019d love to hear how it goes.<\/p>\n<p>Let\u2019s build some cool stuff.<\/p>\n<hr>\n<p><strong>Ngu\u1ed3n:<\/strong> <a href=\"https:\/\/devopscube.com\/setup-azure-ai-foundry\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Setup Azure AI Foundry: Create Hub, Projects &amp; Deploy LLM Models \u2014 DevOpsCube<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source: https:\/\/devopscube.com\/setup-azure-ai-foundry\/<\/p>\n","protected":false},"author":1,"featured_media":525,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-524","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"_links":{"self":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts\/524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=524"}],"version-history":[{"count":0,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts\/524\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/media\/525"}],"wp:attachment":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}