# VCPU Quota Issue and Resolution

## Issue
Azure subscription has insufficient vCPU quota in West Europe:
- Available: 4 vCPUs
- Required (original): 52+ vCPUs
- Required (reduced): 8 vCPUs

## Temporary Solution Applied
Reduced node counts and VM sizes to work within quota:

### Node Counts (Reduced)
- System: 1 node (was 3)
- Validators: 1 node (was 4)
- Sentries: 1 node (was 3)
- RPC: 1 node (was 3)

### VM Sizes (Reduced)
- All pools: Standard_B2s (2 vCPUs, 4GB RAM)
- Total: 8 vCPUs needed

## Recommended Actions

### 1. Request Quota Increase
```bash
# Check current quota
az vm list-usage --location westeurope --query "[?name.value=='cores']" -o table

# Request increase via Azure Portal
# https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/newsupportrequest
```

### 2. After Quota Increase
Update `terraform/terraform.tfvars`:
```hcl
node_count = {
  system     = 3
  validators = 4
  sentries   = 3
  rpc        = 3
}

vm_size = {
  system     = "Standard_D2s_v3"
  validators = "Standard_D4s_v3"
  sentries   = "Standard_D4s_v3"
  rpc        = "Standard_D8s_v3"
}
```

Then apply:
```bash
cd terraform
terraform plan -out=tfplan
terraform apply tfplan
```

## Production Considerations
- Current configuration is for testing/development only
- Production requires:
  - Minimum 4 validators for QBFT fault tolerance
  - Larger VM sizes for performance
  - Multiple regions for redundancy
