- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
4.4 KiB
4.4 KiB
Exact Validator and RPC Configuration
Subscription: 6d3c4263-bba9-497c-8843-eae6c4e87192
Core Requirements
✅ Validator Nodes
- Deployment: ALL 42 non-US Commercial Azure regions
- VM Size:
Standard_D4_v2(4 vCPUs) - SAME across ALL regions - VM Family: Dv2 Family
- Count: 1 validator per region
- Total Validators: 42 nodes
✅ RPC Nodes (Core Backbone)
- Deployment: ALL 42 non-US Commercial Azure regions
- VM Size:
Standard_D8s_v6(8 vCPUs) - SAME across ALL regions - VM Family: Dsv6 Family
- Count: 1 RPC node per region
- Total RPC Nodes: 42 nodes
✅ System Nodes
- Deployment: ALL 42 regions (AKS required)
- VM Size:
Standard_D2_v2(2 vCPUs) - VM Family: Dv2 Family
- Count: 1 system node per region
- Total System Nodes: 42 nodes
⚪ Sentry Nodes
- Deployment: Distributed as needed (0-1 per region)
- VM Size:
Standard_D4_v2(4 vCPUs) - VM Family: Dv2 Family
- Count: 0-42 sentry nodes (distributed)
Exact Per-Region Configuration
Standard Configuration (All 42 Regions)
# Validator: SAME across ALL regions
validator_vm_size = "Standard_D4_v2" # 4 vCPUs - Dv2 Family
# RPC: SAME across ALL regions (core backbone)
rpc_vm_size = "Standard_D8s_v6" # 8 vCPUs - Dsv6 Family
# System: Required for AKS
system_vm_size = "Standard_D2_v2" # 2 vCPUs - Dv2 Family
# Sentry: Distributed as needed
sentry_vm_size = "Standard_D4_v2" # 4 vCPUs - Dv2 Family
# Node counts
node_count = {
system = 1 # Required for AKS
validators = 1 # Required in ALL regions (SAME VM size)
sentries = 0 # Optional, distributed as needed
rpc = 1 # Required in ALL regions (core backbone)
}
All 42 Regions
- Belgium Central (bc)
- Brazil South (bs)
- Brazil Southeast (bse)
- Canada Central (cc)
- Canada East (ce)
- Central India (ci)
- Chile Central (chc)
- East Asia (ea)
- France Central (fc)
- France South (fs)
- Germany North (gn)
- Germany West Central (gwc)
- Indonesia Central (ic)
- Israel Central (ilc)
- Italy North (in)
- Japan East (je)
- Japan West (jw)
- Jio India Central (jic)
- Jio India West (jiw)
- Korea Central (kc)
- Korea South (ks)
- Malaysia West (mw)
- Mexico Central (mc)
- New Zealand North (nzn)
- North Europe (ne)
- Norway East (no)
- Norway West (nw)
- Poland Central (pc)
- Qatar Central (qc)
- South Africa North (san)
- South Africa West (saw)
- Southeast Asia (sea)
- South India (si)
- Spain Central (sc)
- Sweden Central (swc)
- Switzerland North (sn)
- Switzerland West (sw)
- UAE Central (uac)
- UAE North (uan)
- UK South (uks)
- UK West (ukw)
- West Europe (we)
- West India (wi)
Quota Requirements Per Region
Minimum (without sentries)
- Dv2 Family: 6 vCPUs (system: 2, validators: 4)
- Dsv6 Family: 8 vCPUs (RPC: 8)
- Total: 14 vCPUs per region
With Sentries
- Dv2 Family: 10 vCPUs (system: 2, validators: 4, sentries: 4)
- Dsv6 Family: 8 vCPUs (RPC: 8)
- Total: 18 vCPUs per region
Total Global Quota Requirements
Minimum (without sentries)
- Dv2 Family: 252 vCPUs (6 × 42 regions)
- Dsv6 Family: 336 vCPUs (8 × 42 regions)
- Total: 588 vCPUs
Maximum (with sentries)
- Dv2 Family: 420 vCPUs (10 × 42 regions)
- Dsv6 Family: 336 vCPUs (8 × 42 regions)
- Total: 756 vCPUs
Deployment
Configuration File
- Main Config:
terraform/multi-region-global.tf - Region Codes:
terraform/locals.tf
Enable Deployment
cd terraform
# Edit terraform.tfvars to set:
# enable_multi_region = true
terraform init
terraform plan -out=tfplan
terraform apply tfplan
Validation
Verify Validator Consistency
All 42 regions must use Standard_D4_v2 for validators:
terraform output global_multi_region_clusters | grep validator_vm
# Should show Standard_D4_v2 for all regions
Verify RPC Backbone
All 42 regions must have RPC nodes with Standard_D8s_v6:
terraform output global_multi_region_clusters | grep rpc_vm
# Should show Standard_D8s_v6 for all regions
Summary
- ✅ 42 validator nodes - Same VM size (
Standard_D4_v2) across ALL regions - ✅ 42 RPC nodes - Same VM size (
Standard_D8s_v6) across ALL regions (core backbone) - ✅ 42 system nodes - Required for AKS in all regions
- ⚪ 0-42 sentry nodes - Distributed as needed
- ✅ Total: 126-168 nodes across 42 regions