Files
loc_az_hci/docs/temporary/QUICK_DEPLOY.md
defiQUG c39465c2bd
Some checks failed
Test / test (push) Has been cancelled
Initial commit: loc_az_hci (smom-dbis-138 excluded via .gitignore)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 09:04:46 -08:00

134 lines
2.8 KiB
Markdown

# Quick Deploy - Without Azure
## Immediate Next Steps (In Order)
### Step 1: Verify Proxmox Cluster (5 minutes)
```bash
# Test connections
./scripts/utils/test-proxmox-connection.sh
# Check cluster status (on Proxmox hosts)
ssh root@192.168.1.206 "pvecm status"
ssh root@192.168.1.49 "pvecm status"
```
### Step 2: Create First VM - Cloudflare Tunnel (15 minutes)
**Using Proxmox Web UI:**
1. Access: `https://192.168.1.206:8006`
2. Create VM:
- Name: `cloudflare-tunnel`
- OS: Ubuntu 22.04 LTS
- CPU: 2 cores
- RAM: 4GB
- Disk: 40GB
- Network: vmbr0 (or VLAN 99 if configured)
- IP: 192.168.1.60
**Or using Terraform:**
```bash
cd terraform/proxmox
# Edit terraform.tfvars with your values
terraform init
terraform plan
terraform apply
```
### Step 3: Configure Cloudflare Tunnel (10 minutes)
**On Cloudflare Tunnel VM:**
```bash
# SSH to VM
ssh ubuntu@192.168.1.60
# Install cloudflared
curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -o /usr/local/bin/cloudflared
chmod +x /usr/local/bin/cloudflared
# Load tunnel token from .env (copy from your local machine)
# Or set manually:
export TUNNEL_TOKEN="sRwHkwQO5HfD6aK0ZzdV8XHsAyG_DLe_KCjv2bRP"
# Quick start with tunnel token (simplest method)
sudo cloudflared service install $TUNNEL_TOKEN
# Or configure manually (see DEPLOYMENT_WITHOUT_AZURE.md)
```
### Step 4: Create K3s VM (10 minutes)
**Using Proxmox Web UI:**
1. Create VM:
- Name: `k3s-master`
- OS: Ubuntu 22.04 LTS
- CPU: 4 cores
- RAM: 8GB
- Disk: 80GB
- IP: 192.168.1.188
**Install K3s:**
```bash
ssh ubuntu@192.168.1.188
curl -sfL https://get.k3s.io | sh -
sudo k3s kubectl get nodes
```
### Step 5: Create Git Server VM (10 minutes)
**Using Proxmox Web UI:**
1. Create VM:
- Name: `git-server`
- OS: Ubuntu 22.04 LTS
- CPU: 4 cores
- RAM: 8GB
- Disk: 100GB
- IP: 192.168.1.121
**Deploy Gitea:**
```bash
ssh ubuntu@192.168.1.121
docker run -d --name=gitea \
-p 3000:3000 \
-p 2222:22 \
-v gitea_data:/data \
gitea/gitea:latest
```
## Quick Commands Reference
**Test Connections:**
```bash
./scripts/utils/test-proxmox-connection.sh
./scripts/utils/test-cloudflare-connection.sh
```
**Create VMs with Terraform:**
```bash
cd terraform/proxmox
terraform init
terraform plan
terraform apply
```
**Deploy Services:**
```bash
# Kubernetes services
kubectl apply -f gitops/infrastructure/
# Blockchain services
helm install besu ./gitops/apps/besu -n blockchain
```
## Estimated Timeline
- **Day 1**: Proxmox cluster, Cloudflare Tunnel, K3s
- **Day 2**: Git server, observability, base services
- **Day 3**: HC Stack services, monitoring, testing
## Full Guide
See [DEPLOYMENT_WITHOUT_AZURE.md](DEPLOYMENT_WITHOUT_AZURE.md) for complete step-by-step instructions.