Scalable Infrastructure for Hosting Custom LLMs Using Terraform and Argo CD
Organizations operating their own large language models need infrastructure capable of reproducibly provisioning GPU capacity, deploying a new version safely, and scaling in a timely manner while being economical. In this paper, we describe the reference architecture where Terraform provisions the networks, Kubernetes clusters, GPU node pools, and identities while Argo CD reconciles the inference stack—vLLM servers with queue-based autoscaling—from Git. In the experiments conducted for four models ranging in size from 7 to 70 billion parameters, GitOps-based deployment of a new model version took 8.9 ± 2.4 minutes versus 47.5 ± 12.4 minutes for manual scripting (p < 0.001); meanwhile, the amount of misconfigured deployments decreased from 14.2% to 2.5% (p = 0.001). Drift was reconciled on average in 1.7 minutes. Throughput of the system scaled up to 23,100 tokens per second across 12 replicas with 90% scaling efficiency, while the combination of spot and on-demand GPU instances decreased the cost per million tokens from $4.80 to $1.92 (a 60% reduction). The architecture provides repeatable, auditable, and economical hosting of custom models.
Authors
- Justin Rajakumar Maria Thason
Publication Details
- Journal
- E-Journal of Science and Emerging Technologies (EJSET)
- Published
- 2026-11-24
- DOI
- https://doi.org/10.63345/ejset.v2.i4.106
- Primary Topic
- Cloud Computing and Resource Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00