Some checks failed
Test / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2.0 KiB
2.0 KiB
Create Service VMs - Quick Guide
Option 1: Using Proxmox Web UI (Easiest)
Access Proxmox
- ML110: https://192.168.1.206:8006
- R630: https://192.168.1.49:8006
- Login: root / (password from PVE_ROOT_PASS)
Create Cloudflare Tunnel VM
-
Click "Create VM"
-
General:
- VM ID: 100
- Name: cloudflare-tunnel
- Resource Pool: (leave default)
-
OS:
- Use CD/DVD: ISO image (Ubuntu 22.04 LTS)
- Or: Use existing template if available
-
System:
- Graphics: Default
- Qemu Agent: Enable
-
Hard Disk:
- Storage: local
- Disk size: 40GB
- Cache: Write back
-
CPU:
- Cores: 2
- Type: host
-
Memory:
- RAM: 4096 MB
-
Network:
- Bridge: vmbr0
- Model: VirtIO
-
Cloud-Init (if using template):
- IP Config: 192.168.1.60/24
- Gateway: 192.168.1.254
- DNS: 8.8.8.8
- User: ubuntu
- SSH Keys: (add your public key)
-
Click "Finish" and start VM
Create K3s VM
Repeat above with:
- VM ID: 101
- Name: k3s-master
- CPU: 4 cores
- RAM: 8192 MB
- Disk: 80GB
- IP: 192.168.1.188
Create Git Server VM
- VM ID: 102
- Name: git-server
- CPU: 4 cores
- RAM: 8192 MB
- Disk: 100GB
- IP: 192.168.1.121
Create Observability VM
- VM ID: 103
- Name: observability
- CPU: 4 cores
- RAM: 8192 MB
- Disk: 200GB
- IP: 192.168.1.82
Option 2: Using Terraform
cd terraform/proxmox
# Initialize Terraform
terraform init
# Review plan
terraform plan
# Apply (create VMs)
terraform apply
Note: Requires VM templates to be created first in Proxmox.
Option 3: Using Proxmox API (Advanced)
See scripts/proxmox/create-service-vms.sh for API-based creation.
Next Steps After VM Creation
- Install OS on each VM (if not using template)
- Configure network (static IPs)
- Install cloudflared on Tunnel VM
- Install K3s on K3s VM
- Deploy services on respective VMs
See DEPLOYMENT_WITHOUT_AZURE.md for detailed setup.