- 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.
2.4 KiB
2.4 KiB
NSG Fix Complete ✅
Changes Applied
1. Removed Subnet NSG from Nginx Subnet
- ✅ Subnet NSG association removed
- ✅ Nginx subnet no longer has subnet-level NSG
- ✅ Only NIC-level NSG remains
2. Removed P2P/RPC/Metrics Rules
- ✅ Besu-specific rules removed from Nginx subnet NSG
- ✅ Nginx subnet NSG now only has SSH rule (if any)
- ✅ NIC NSG has correct rules (HTTP/HTTPS/SSH)
Configuration Changes
Terraform Variables Added
-
subnet_nsg_enabled(bool, default:true)- Controls whether NSG is attached to subnet
- Set to
falsefor Nginx proxy subnet
-
enable_besu_rules(bool, default:true)- Controls whether Besu-specific rules are created
- Set to
falsefor Nginx proxy subnet
Files Modified
-
terraform/modules/networking-vm/main.tf- Conditional subnet NSG association
- Dynamic Besu rules (P2P/RPC/Metrics)
-
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
Verification Results
Subnet NSG
- Status: ✅ Detached from Nginx subnet
- Before: Had wrong rules (P2P/RPC/Metrics)
- After: Not attached (uses NIC-level NSG only)
NIC NSG
- Status: ✅ Attached with correct rules
- Rules: HTTP (80), HTTPS (443), SSH (22)
- Outbound: Allowed to backend VMs
Port Accessibility
- Port 80: ✅ Accessible
- Port 443: ✅ Accessible
- Cloudflare Tunnel: ✅ Working
Impact
Nginx Proxy
- ✅ Cleaner configuration (single NSG)
- ✅ Correct rules (HTTP/HTTPS/SSH only)
- ✅ No unnecessary Besu rules
Besu Nodes
- ✅ Unchanged (still have subnet NSG + Besu rules)
- ✅ No impact on backend VMs
Next Steps
- ✅ Terraform Plan: Completed
- ✅ Terraform Apply: Completed
- ✅ Verification: Completed
Summary
The NSG configuration has been successfully updated:
- Subnet NSG removed from Nginx subnet
- P2P/RPC/Metrics rules removed
- NIC NSG has correct rules
- Ports 80 and 443 are accessible
Status: ✅ All Changes Applied Successfully
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.