- 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.9 KiB
1.9 KiB
Cloudflare Tunnel Quick Start
Current Status
- ✅ You're logged into Cloudflare via browser
- ✅ Script ready on Nginx proxy:
/tmp/setup-tunnel-non-interactive.sh - ✅ Domain:
rpc.d-bis.org(from .env) - ⚠️ Need to authenticate cloudflared
Quick Setup (2 Steps)
Step 1: Authenticate Cloudflared
SSH to Nginx proxy and run:
ssh besuadmin@20.160.58.99
sudo cloudflared tunnel login
What happens:
- Command displays a URL like:
https://one.dash.cloudflare.com/... - Open this URL in your browser (while logged into Cloudflare)
- Click "Authorize"
- Authentication completes automatically
Step 2: Run Automated Setup
After authentication completes, run:
/tmp/setup-tunnel-non-interactive.sh rpc.d-bis.org
What the script does:
- ✅ Creates tunnel:
phase1-nginx-proxy - ✅ Configures tunnel for
rpc.d-bis.org - ✅ Creates DNS record via Cloudflare API (using credentials from .env)
- ✅ Starts Cloudflared service
- ✅ Enables service to start on boot
Verify Setup
After running the script:
# Check service status
sudo systemctl status cloudflared
# Check tunnel list
sudo cloudflared tunnel list
# Test endpoint
curl https://rpc.d-bis.org/health
Troubleshooting
Already Authenticated?
If you see "Already authenticated", skip Step 1 and go directly to Step 2.
DNS Record Already Exists?
The script will update the existing record automatically.
Service Not Starting?
Check logs:
sudo journalctl -u cloudflared -f
Verify Configuration
sudo cat /etc/cloudflared/config.yml
Expected Result
After setup:
- ✅ Tunnel running:
phase1-nginx-proxy - ✅ DNS:
rpc.d-bis.org→<tunnel-id>.cfargotunnel.com - ✅ Service:
cloudflaredrunning and enabled - ✅ Endpoint:
https://rpc.d-bis.org/healthreturns "healthy"
Ready? Run the 2 steps above to complete the Cloudflare Tunnel setup!