- 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.
1.8 KiB
1.8 KiB
NSG Fix - Complete ✅
All Steps Completed
1. Configuration Changes ✅
- ✅ Added
subnet_nsg_enabledvariable - ✅ Added
enable_besu_rulesvariable - ✅ Made subnet NSG association conditional
- ✅ Made Besu rules conditional using dynamic blocks
- ✅ Updated
networking_adminmodule configuration
2. Subnet NSG Removal ✅
- ✅ Manually detached via Azure CLI
- ✅ Removed from Terraform state
- ✅ Verified detached in Azure Portal
3. Verification ✅
- ✅ Subnet NSG: Detached
- ✅ NIC NSG: Active with correct rules
- ✅ Terraform state: Updated
Final Configuration
Nginx Proxy Subnet
- Subnet NSG: ❌ Not attached (removed)
- NIC NSG: ✅ Attached
- Rules: HTTP (80), HTTPS (443), SSH (22)
NIC NSG Rules
| Priority | Name | Port | Protocol |
|---|---|---|---|
| 1000 | AllowHTTP | 80 | TCP |
| 1001 | AllowHTTPS | 443 | TCP |
| 1002 | AllowSSH | 22 | TCP |
Changes Made
Files Modified
-
terraform/modules/networking-vm/main.tf- Conditional subnet NSG association
- Dynamic Besu rules
-
terraform/modules/networking-vm/variables.tf- Added
subnet_nsg_enabledvariable - Added
enable_besu_rulesvariable
- Added
-
terraform/phases/phase1/phase1-main.tf- Updated
networking_adminmodule:subnet_nsg_enabled = falseenable_besu_rules = false
- Updated
Azure Resources
- ✅ Subnet NSG association removed
- ✅ NIC NSG remains active
Result
✅ All objectives achieved:
- Subnet NSG removed from Nginx subnet
- P2P/RPC/Metrics rules removed
- NIC NSG has correct rules
- Configuration is clean and correct
Status: ✅ COMPLETE
All changes have been successfully applied. The Nginx proxy now uses only the NIC-level NSG with correct rules (HTTP/HTTPS/SSH), and the subnet NSG with unnecessary Besu rules has been removed.