AI Platform Engineering

From cloud account to answer

An AI platform is seven layers that have to agree with each other. Most teams get three of them right and then wonder why serving is slow, the bill is unattributable, or the cluster is unmaintainable. We build all seven and hand over the whole thing.

1. Cloud foundation — GCP and Azure

Everything above inherits these decisions.

Landing zones — organisation, folder and project hierarchy on GCP; management groups and subscriptions on Azure, with naming, tagging and guardrails that survive an audit. Identity — Cloud Identity or Entra ID, workload identity federation, least-privilege roles, no long-lived keys. Network — hub-and-spoke or mesh, Private Service Connect and Private Link, private DNS, egress control, ExpressRoute or Interconnect to on-prem. Cost — budgets, quotas and showback per team, including the GPU hours and token spend that AI platforms tend to hide.

2. The cluster

Production Kubernetes on AKS, GKE or on-prem — or k3s at the edge where that is the honest answer. HA control plane, node-pool design, upgrade strategy with a rollback path, RBAC, network policies, Pod Security Standards, and policy as code with OPA/Gatekeeper or Kyverno so guardrails are enforced rather than documented.

3. GPU capacity and scheduling

The layer where most AI platforms quietly fail. Node pools per accelerator class, device plugins, MIG partitioning for sharing a card between tenants, taints and tolerations, priority classes so interactive inference beats batch, and bin-packing that keeps utilisation up instead of fragmenting capacity across namespaces.

4. Inference

vLLM for concurrent server workloads, Ollama for fast iteration, llama.cpp for CPU and tight memory, MTPLX for Apple Silicon. In-cluster that means model caching, readiness and liveness checks that reflect real model load, rolling model upgrades, canary weights, and autoscaling on queue depth or TTFT — not on CPU, which is never the bottleneck.

5. Agents and retrieval

DeepSeek Harness and Open WebUI in front, tool calling and MCP servers behind, Qdrant for retrieval. Agents run as workloads with their own service accounts, resource limits and audit trails, so a runaway loop hits a quota instead of your budget.

6. Tuning and evaluation

LoRA and QLoRA fine-tunes, distillation, and task-specific eval harnesses. Evaluation runs as a job in the same cluster, on the same image, so a model change is measured by the same yardstick every time.

7. Operations and observability

LGTM (Loki, Grafana, Tempo, Mimir) for latency, error rates and memory pressure, with GPU metrics and token spend per namespace. Cloud-level logging and audit trails wired in, alerts that page on SLO burn rather than pod restarts, and a cluster your team can upgrade without a war room.

Where it runs

  • Managed Kubernetes — AKS and GKE, usually the right call for a Swedish organisation that wants AI without owning hardware.
  • On-prem and private cloud — for data-residency and public-sector requirements, with the same GitOps flow you use in the cloud.
  • Single-node and edge — k3s or a workstation when the workload is small; it should still be reproducible and observable.
  • Apple Silicon — MTPLX or llama.cpp for development and small-team inference, using the same model configuration as production.

Compliance by design

For Swedish and European organisations we build for GDPR, the EU AI Act and data-residency requirements from the first diagram — region selection, network boundaries, and which namespaces may reach an external API and which never can.

Book a technical call