How to Guides

Azure OpenAI Service is an AI-powered generative service that enables organizations to deploy and use OpenAI models within Azure to understand, generate, and reason over text and other content. Read more about the service at How-to: Create and deploy an Azure OpenAI in Azure AI Foundry Models resource - Azure OpenAI | Microsoft Learnarrow-up-right

Create a resource

The following steps show how to create an Azure OpenAI resource in the Azure portal.

Identify the resource

  1. Sign in with your Azure subscription in the Azure portal https://portal.azure.com/arrow-up-right.

  2. Select Create a resource and search for the Azure OpenAI. When you locate the service, select Create.

Screenshot that shows how to create a new Azure OpenAI in Microsoft Foundry Models resource in the Azure portal.

  1. On the Create Azure OpenAI page, provide the following information for the fields on the Basics tab:

Field
Description

Subscription

The Azure subscription used in your Azure OpenAI onboarding application.

Resource group

The Azure resource group to contain your Azure OpenAI resource. You can create a new group or use a pre-existing group.

Region

The location of your instance. Different locations can introduce latency, but they don't affect the runtime availability of your resource.

Name

A descriptive name for your Azure OpenAI resource, such as MyOpenAIResource.

Pricing Tier

The pricing tier for the resource. Currently, only the Standard tier is available for the Azure OpenAI. For more info on pricing visit the Azure OpenAI pricing pagearrow-up-right

Screenshot that shows how to configure an Azure OpenAI resource in the Azure portal.

  1. Select Next.

Configure network security

The Network tab presents three options for the security Type:

  • Option 1: All networks, including the internet, can access this resource.

  • Option 2: Selected networks, configure network security for your Foundry Tools resource.

  • Option 3: Disabled, no networks can access this resource. You could configure private endpoint connections that will be the exclusive way to access this resource.

Screenshot that shows the network security options for an Azure OpenAI resource in the Azure portal.

Depending on the option you select, you might need to provide additional information.

Confirm the configuration and create the resource

  1. Select Next and configure any Tags for your resource, as desired.

  2. Select Next to move to the final stage in the process: Review + submit.

  3. Confirm your configuration settings and select Create.

  4. The Azure portal displays a notification when the new resource is available. Select Go to resource.

Screenshot showing the Go to resource button in the Azure portal.

Deploy a model

Next, an AI model will need to be deployed:

  1. Go to Azure OpenAI Studio.

  2. Select your Active Directory and Subscription.

  3. Choose the resource you created.

  4. Click “Deployments” → “Create new deployment”.

  5. Select a model (e.g., gpt-35-turbo, gpt-4, or o4-mini).

  6. Configure the following fields:

Field
Description

Deployment name

Choose a name carefully. The deployment name is used in your code to call the model by using the client libraries and the REST APIs.

Deployment type

Standard, Global-Batch, Global-Standard, Provisioned-Managed. Learn more about deployment type optionsarrow-up-right.

  1. Once configured click “Create” to deploy.

Last updated

Was this helpful?