Files
loc_az_hci/docs/getting-started/quick-start.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

4.3 KiB

Quick Start Guide

Get your Azure Stack HCI infrastructure up and running quickly.

Prerequisites

Before starting, ensure you have:

  • Two Proxmox VE hosts with Proxmox VE 7.0+ installed
  • Azure subscription with Contributor role
  • Azure CLI installed and authenticated
  • SSH access to all nodes
  • Network connectivity between nodes

See Prerequisites for detailed requirements.

Quick Start Steps

1. Clone and Configure

git clone <repository-url>
cd loc_az_hci
cp .env.example .env
# Edit .env with your credentials

2. Test Connections

# Test Proxmox connections
./scripts/utils/test-proxmox-connection.sh

# Test Cloudflare (if configured)
./scripts/utils/test-cloudflare-connection.sh

3. Configure Proxmox Cluster

On Node 1:

export NODE_IP=192.168.1.10
export NODE_GATEWAY=192.168.1.1
export NODE_HOSTNAME=pve-node-1

./infrastructure/proxmox/network-config.sh
./infrastructure/proxmox/cluster-setup.sh

On Node 2:

export NODE_IP=192.168.1.11
export NODE_GATEWAY=192.168.1.1
export NODE_HOSTNAME=pve-node-2
export CLUSTER_NODE_IP=192.168.1.10

./infrastructure/proxmox/network-config.sh
export NODE_ROLE=join
./infrastructure/proxmox/cluster-setup.sh

4. Onboard to Azure Arc

On each Proxmox node:

export RESOURCE_GROUP=HC-Stack
export TENANT_ID=$(az account show --query tenantId -o tsv)
export SUBSCRIPTION_ID=$(az account show --query id -o tsv)
export LOCATION=eastus

./scripts/azure-arc/onboard-proxmox-hosts.sh

5. Deploy Kubernetes

On K3s VM:

./infrastructure/kubernetes/k3s-install.sh

export RESOURCE_GROUP=HC-Stack
export CLUSTER_NAME=proxmox-k3s-cluster
./infrastructure/kubernetes/arc-onboard-k8s.sh

6. Deploy Git Server

Option A: Gitea (Recommended):

./infrastructure/gitops/gitea-deploy.sh

Option B: GitLab CE:

./infrastructure/gitops/gitlab-deploy.sh

7. Configure GitOps

  1. Create Git repository in your Git server
  2. Copy gitops/ directory to repository
  3. Configure GitOps in Azure Portal or using Flux CLI

8. Deploy HC Stack Services

Deploy via GitOps (recommended) or manually:

# Manual deployment
helm install besu ./gitops/apps/besu -n blockchain
helm install firefly ./gitops/apps/firefly -n blockchain
helm install chainlink-ccip ./gitops/apps/chainlink-ccip -n blockchain
helm install blockscout ./gitops/apps/blockscout -n blockchain
helm install cacti ./gitops/apps/cacti -n monitoring
helm install nginx-proxy ./gitops/apps/nginx-proxy -n hc-stack

Service VM Specifications

VM Name VM ID IP Address CPU RAM Disk Purpose
cloudflare-tunnel 100 192.168.1.60 2 4GB 40GB Cloudflare Tunnel
k3s-master 101 192.168.1.188 4 8GB 80GB Kubernetes
git-server 102 192.168.1.121 4 8GB 100GB Git Server
observability 103 192.168.1.82 4 8GB 200GB Monitoring

Connection Information

Proxmox

Cloudflare

Troubleshooting

Proxmox Connection Issues

  • Verify IP addresses in .env file
  • Check network connectivity: ping 192.168.1.206
  • Accept self-signed certificate in browser

VM Creation Issues

  • Ensure sufficient storage on Proxmox host
  • Check VM ID availability
  • Verify network bridge configuration

Cloudflare Tunnel Issues

  • Verify tunnel token in .env
  • Check DNS records in Cloudflare Dashboard
  • Review tunnel logs: journalctl -u cloudflared -f

Next Steps

After completing the quick start:

  1. Review Deployment Guide for detailed instructions
  2. Set up monitoring and alerting
  3. Configure backup and disaster recovery
  4. Implement security policies
  5. Plan for scaling and expansion

Additional Resources