## Description
This architecture allows you to create and deploy Azure OpenAI services and ChatGPT within your infrastructure for you internal use/needs.
It is a complete architecture with DNS and network components, which makes easier to be deployed in a specific resource group and deleted when not needed.
You need to request access to this Azure OpenAI service from Microsoft by filling a form available [here](https://aka.ms/oai/access).
**N.B:**
- The Terraform code is automatically generated with best practices and contains variables that you can customize to fir your needs.
- You have full control to change, add, delete resources or their configuration. The newly generated code will reflect these changes.
- You can replace some resources with Terraform modules.
> terraform apply status: successful
## Architecture components
Here are all the components of this architecture:
- Resource group
- DNS zone and vnet link
- Private endpoint
- User assigned identity
## Requirements
| Name | Configuration |
| --- | --- |
| Terraform | all versions |
| Provider | Azure RM |
| Provider version | >= 3.108.0 |
| Access | Contributor service principle |
## How to use the architecture
Clone the architecture and modify the following variables according to your needs:
| Variable | Description |
| --- | --- |
| cognitive_account_format_name | Specifies the SKU Name for this Cognitive Service Account |
| cognitive_account_sku_name | Specifies the SKU Name for this Cognitive Service Account |
| cognitive_deployment_capacity | Tokens-per-Minute. The unit of measure for this field is in the thousands of Tokens-per-Minute |
| cognitive_deployment_name | The name of the Cognitive Services Account Deployment model |
| cognitive_deployment_scale_type | Deployment scale type |
| cognitive_deployment_version | The version of the Cognitive Services Account Deployment model |
| location | Default location to deploy services in |
| subnet_address_space | Subnet for OpenAI Public Endpoint |
| tags | Default tags to apply to all resources. |
| vnet_address_space | VNET for OpenAI VNET |
**N.B:**
- Feel free to remove the resources that are not relevant to your use-case.
- Some variables have default values, please change it if it doesn't fit your deployment.
## Maintainers
You can reach out to these maintainers if you need help or assistance:
- [Brainboard team](mailto:support@brainboard.co)
Brainboard is an AI driven platform to visually design and manage cloud infrastructure, collaboratively. It's the only solution that automatically generates IaC code for any cloud provider, with an embedded CI/CD.