Full-Stack Cloud & AI Enterprise Showcase (acme-cloud-prod)
An end-to-end, production-grade reference architecture deployed on the Okustera Cloud platform using a dedicated non-admin customer tenant workspace (acme-cloud-prod) and user ([email protected] with member role).
This guide demonstrates how a customer engineering team provisions, secures, and operates a full-stack enterprise workload spanning Core IaaS, Managed PaaS & DBaaS, Sovereign AI & Model Foundry, and System Governance using the Okustera Terraform Provider, Kubernetes manifests with decoupled secretRef bindings, and an isolated FastAPI microservice.

1. Tenant Identity & Isolation Boundaries
All resources in this showcase execute strictly within non-admin customer tenant boundaries:
| Attribute | Value | Enforcement Layer |
|---|---|---|
| Tenant Project | acme-cloud-prod | Strict multi-tenant project isolation & RBAC |
| Tenant Member User | [email protected] (alex.rivera, role: member) | Dedicated customer portal session (Tenant: acme-cloud-prod) with zero operator privileges |
| Trial Sandbox Companion | [email protected] (ACME Sandbox, 24h TTL) | Self-Service 24h Trial Sandbox (4 vCPU / 8 GB RAM / 20 GB NVMe) |
| Kubernetes Workload Namespace | tenant-acme-prod | Per-namespace ResourceQuota, LimitRange, and zero-trust NetworkPolicy |
| Container Execution Isolation | Isolated user-space kernel sandbox | Hardware-grade syscall isolation for tenant workloads |
2. End-to-End Architecture Topology
3. Project Structure
okustera-cloud-ai-showcase/
├── README.md # Architecture guide, topology & deployment runbook
├── LICENSE # Apache-2.0 License
├── NOTICE # Copyright and attribution notice
├── okustera-env.sh.example # Sanitized Okustera CLI environment template
├── terraform/ # Declarative Infrastructure-as-Code (Okustera Provider)
│ ├── main.tf # Provider initialization for [email protected]
│ ├── variables.tf # Parameterized tenant, VPC, DNS & namespace variables
│ ├── terraform.tfvars.example # Sanitized variable values template
│ ├── network_compute.tf # VPC, Security Groups, DNS, Load Balancer, VMs, Block Volumes, Kubernetes
│ ├── data_storage.tf # Versioned S3 Buckets, KMS Secrets, PostgreSQL, Valkey, DocumentDB, Qdrant, ClickHouse, RabbitMQ
│ ├── ai_paas_serverless.tf # Artifact Registry, Model Foundry, Multi-LoRA, Batch, RAG, Agent Sandbox, IAM, FaaS, Airflow, Gateway, Billing
│ └── outputs.tf # Provisioned service endpoints and resource identifiers
├── k8s/ # Kubernetes Manifests (SecretRef-First Pattern)
│ ├── 00-namespace-guardrails.yaml # Isolated namespace with ResourceQuota, LimitRange & NetworkPolicy
│ ├── 01-showcase-deployment.yaml # Isolated FastAPI deployment using secretKeyRef
│ └── 02-gateway-route.yaml # API Gateway route & API key authentication binding
├── app/ # FastAPI Showcase Microservice
│ ├── main.py # S3 version manager, DBaaS health, & RAG inference endpoints
│ ├── Dockerfile # Container build definition
│ └── requirements.txt # Python dependencies
└── scripts/
└── verify_showcase.py # Automated end-to-end verification suite
4. Platform Walkthrough Across Customer Portal Pages
4.1 Core IaaS: Virtual Machines, VPC & Networking, Load Balancers, DNS & Storage
Logged in as [email protected] (Tenant: acme-cloud-prod), the showcase provisions a Three-Tier Enterprise VPC (acme-prod-vpc, 192.0.2.0/24), virtual machines (acme-api-gateway-01, acme-worker-node-01, acme-ai-runner-01), an active-standby Managed Load Balancer (acme-edge-lb, VIP 198.51.100.50) bound to Authoritative DNS (api.acme-cloud.example.com.), encrypted NVMe block volumes, and S3 Object Storage buckets with Bucket Versioning and 1-Click Historical Version Restore:


4.2 Managed Databases (DBaaS): Multi-Engine Databases with Self-Service S3 Snapshots & PITR
In the Managed Databases (/databases) console, acme-cloud-prod runs a 5-engine polyglot persistence tier (acme-orders-pg-ha, acme-session-cache, acme-catalog-docdb, acme-knowledge-vectors, and acme-telemetry-olap) backed by continuous S3 WAL archiving (s3://acme-dr-backups) and self-service Point-in-Time Recovery (PITR) cloning:


4.3 AI & Model Foundry: Guided Catalog, Multi-LoRA Deployments, Batch Jobs, RAG & Agent Sandboxes
The showcase leverages all five guided AI studios in the customer portal:
- AI Model Catalog (
/ai): Selects curated open-weight models (Qwen 2.5 Coder 1.5B,DeepSeek R1 1.5B) and packages custom OCI LoRA adapters. - AI Model Deployments (
/ai/deployments): Deploysacme-assistantwith dynamically attached Multi-LoRA adapters (acme-finops-analyst-lora:v1.2.0). - AI Batch Jobs (
/ai/batch): Schedulesacme-nightly-contract-auditonDeepSeek-V4 Flash(284B) via the asynchronous frontier batch tier. - AI Knowledge Bases (
/ai/rag): Indexess3://acme-artifacts-vaultrunbooks into theacme-enterprise-runbooksQdrant collection. - Agent Sandboxes (
/ai/sandboxes): Launchesacme-secops-workbenchinside a kernel-isolated sandbox with short-lived KMS-scoped MCP tokens (rag:read,s3:read,dbaas:query,sandbox:exec).




5. Step-by-Step Deployment Instructions
Step 1: Configure the Okustera CLI Environment
cp okustera-env.sh.example okustera-env.sh
# Set OKUSTERA_API_TOKEN="<YOUR_API_TOKEN>" in okustera-env.sh
source okustera-env.sh
Step 2: Provision Full-Stack Infrastructure with Terraform
cd terraform
cp terraform.tfvars.example terraform.tfvars
export TF_VAR_demo_user_password="<PASSWORD>"
terraform init
terraform plan
terraform apply
Step 3: Create Kubernetes Secrets & Deploy the Showcase Service
Following the SecretRef-first pattern, create runtime secrets out-of-band before applying the workload manifests:
kubectl apply -f k8s/00-namespace-guardrails.yaml
kubectl create secret generic acme-showcase-db-credentials \
--from-literal=database_url="postgresql://dbadmin:<PASSWORD>@acme-orders-pg-ha.internal.example.com:5432/acme_orders" \
-n tenant-acme-prod
kubectl create secret generic acme-showcase-api-secrets \
--from-literal=api_key="<YOUR_API_KEY>" \
--from-literal=s3_access_key="<YOUR_S3_ACCESS_KEY>" \
--from-literal=s3_secret_key="<YOUR_S3_SECRET_KEY>" \
-n tenant-acme-prod
kubectl apply -f k8s/01-showcase-deployment.yaml
kubectl apply -f k8s/02-gateway-route.yaml
Step 4: Verify the Deployment
python3 scripts/verify_showcase.py