Skip to main content

Prerequisites

This page outlines the requirements for deploying AI/Run CodeMie On VM on Azure. Ensure all prerequisites are met before proceeding.

Azure Account Requirements

Required Access and Permissions

  • Active Azure Subscription with sufficient quota for the required resources
  • Contributor role (or equivalent) on the subscription to create VMs, Storage Accounts, Key Vaults, and DNS zones
  • AZURE_SUBSCRIPTION_ID and AZURE_TENANT_ID — available in the Azure Portal under Azure Active Directory → Overview

Quota Requirements

Verify sufficient quota for:

ResourceCount
Standard_E4s_v51
Azure Key Vault1
Storage Account1
Private DNS Zone1

Deployment Machine Tools

The following tools must be installed on the machine where you run ./deploy.sh:

ToolVersionPurpose
Terraform1.15.xInfrastructure provisioning
Azure CLIlatestAzure authentication and management
jqlatestJSON parsing
openssllatestSecret generation
envsubstlatestTemplate rendering

Enterprise profile only:

ToolVersionPurpose
nsclatestNATS key generation

Verify Installation

terraform version    # Should show 1.15.x
az version # Azure CLI
jq --version
openssl version
envsubst --version

GCP Container Registry Access

CodeMie container images are hosted on europe-west3-docker.pkg.dev. You need a GCP service account key file (key.json) with read access to the registry.

Obtaining key.json

Contact your CodeMie administrator or EPAM delivery team to obtain the key.json file for registry access.

Azure Authentication

Authenticate before running the deployment:

az login
az account set --subscription "<AZURE_SUBSCRIPTION_ID>"

# Verify active subscription
az account show

Repository Access

Clone the deployment repository:

git clone https://gitbud.epam.com/epm-cdme/codemie-on-vm.git
cd codemie-on-vm

The repository structure:

DirectoryPurpose
compose/Docker Compose files and service configuration
deploy.shDeployment script
destroy.shDestroy script
terraform/azure/remote-backend/Azure Storage Terraform state backend
terraform/azure/platform/VM, Storage Account, Key Vault, DNS, NSG
terraform/azure/ai-models/Azure OpenAI cognitive accounts (optional)

Next Steps

After verifying all prerequisites, review the Architecture to understand what will be deployed.