Skip to content

Quick Start

Terminal window
# 1. Clone the repository
git clone https://github.com/danielscholl-osdu/osdu-spi-infra.git
cd osdu-spi-infra
# 2. Authenticate
az login
azd auth login
# 3. Deploy (prompts for environment name, subscription, and location)
azd up

The deployment runs through four phases, orchestrated by Azure Developer CLI lifecycle hooks:

PhaseHookScriptWhat it does
Pre-provisionpreprovisionpre-provision.ps1Validates tools, auto-detects settings, generates credentials
Provisioninfra/Creates AKS cluster + Azure PaaS resources (~15 min)
Post-provisionpostprovisionpost-provision.ps1Bootstraps RBAC, waits for safeguards, deploys foundation operators
Pre-deploypredeploypre-deploy.ps1Deploys stack: middleware + OSDU services (~5 min)

After deployment completes:

Terminal window
# Check cluster access
kubectl get nodes
# Check OSDU services are running
kubectl get pods -n osdu
# Check middleware
kubectl get pods -n platform
Terminal window
azd down --force --purge

This runs teardown hooks in reverse order: stack, foundation, then infrastructure.