Deploying an LLM on Amazon EKS with vLLM, step by step (EP.1)

By Mongkol ThongkraikaewMember, vLLM Bangkok7 min read
อ่านภาษาไทย
Light blue cover with the vLLM Bangkok logo and the words From a vLLM Bangkok member. In the middle is the original article's black cover with orange text, Deploy LLM on Amazon EKS with vLLM in Thai, a Step-by-Step pill, the vLLM and Amazon EKS logos, a small Cloudation 101 logo and the signature by Mongkol Thongkraikaew. Below: By Mongkol Thongkraikaew, Head of Platform Engineering, Ascend Money

vLLM Bangkok condensed and translated this post from Deploy LLM บน Amazon EKS ด้วย vLLM แบบ Step-by-Step (EP.1), Mongkol Thongkraikaew’s Thai article on DEV Community (10 Aug 2026). The full commands and YAML files are in the original.

Mongkol opens with Gartner’s forecast (Magic Quadrant for Container Management, 6 August 2025) that by 2028, 95% of new AI deployments will use Kubernetes, up from less than 30% when the report came out, and starts a series on serving LLMs on a Kubernetes platform. EP.1 goes from nothing to a working setup: an EKS cluster, a GPU node, a model on vLLM behind an OpenAI-compatible API, and a chat page people can use in a browser. It is distilled from his own trial and error.

How it fits together

Architecture diagram: a user opens the Open WebUI portal through a public Application Load Balancer into AWS EKS Auto Mode, which has two nodes: a General-Purpose Node running Open Web UI and a GPU node (g6.2xlarge) running Llama 3.1 on vLLM. Open Web UI calls vLLM at /v1/chat/completions. The GPU node shows containerd, kubelet, the Nvidia driver and an Nvidia L4 GPU with 24 GB of VRAM. The Cloudation 101 logo and by Mongkol Thongkraikaew sit in the corners

Figure from Mongkol Thongkraikaew’s article

Users reach the Open WebUI chat through an Application Load Balancer (ALB). Open WebUI runs on a general-purpose node and forwards each question to vLLM on the GPU node through /v1/chat/completions.

Part What the article uses
Region us-east-1 (N. Virginia), for its g6 instances
Where commands run AWS CloudShell, so nothing to install locally
Cluster Amazon EKS 1.35 in Auto Mode, created with eksctl
GPU node A Karpenter NodePool named gpu: on-demand g6.2xlarge (NVIDIA L4, 24 GB VRAM)
Inference engine vLLM image vllm/vllm-openai:v0.26.0
Model meta-llama/Llama-3.1-8B-Instruct in FP16, which needs at least about 17–18 GB of VRAM, hence a 24 GB card
Chat page Open WebUI v0.9.2
Way in An internet-facing ALB Ingress

If the card is short on VRAM, the article suggests the FP8 build RedHatAI/Meta-Llama-3.1-8B-Instruct-FP8 instead.

Why vLLM

Mongkol gives six reasons:

  1. Efficient GPU memory use: PagedAttention manages the KV cache much as an OS manages virtual memory, which cuts fragmentation, and continuous batching adds new requests to the running batch instead of waiting for it to finish.
  2. An OpenAI-compatible API, so existing apps and tools connect without code changes, plus native /health and /metrics endpoints for Kubernetes health checks and autoscaling.
  3. High concurrency without a complicated setup.
  4. Multi-GPU and multi-node serving with tensor and pipeline parallelism.
  5. Kubernetes-friendly: a main backend in KServe, and AWS ships Deep Learning Containers with vLLM tuned for EKS.
  6. Open source under Apache 2.0, with a growing community.

Before you start

  • An AWS account with GPU quota. New accounts usually start with a quota of 0 for “Running On-Demand G and VT instances”; ask for at least 8 vCPUs first (a g6.2xlarge has 8). For a sandbox or lab account, the article recommends AdministratorAccess so that permissions do not get in the way during the deploy.
  • A Hugging Face token with the Read role.
  • Access to the model. Llama 3.1 is gated: request access on the model page first. Until it comes through, the ungated mirror NousResearch/Meta-Llama-3.1-8B-Instruct has the same weights (set --model to it), or you can pick another open-weight model such as Qwen, DeepSeek or Mistral.

The seven steps

1. Environment and tools. In CloudShell, set HF_TOKEN, the region and the cluster name, then install gettext (for envsubst), eksctl and kubectx/kubens.

2. Create the EKS cluster with eksctl: Auto Mode with the general-purpose and system node pools, OIDC on. Wait for ACTIVE, then check with kubectl get node and kubectl get pod -A. Auto Mode already brings Karpenter, the AWS Load Balancer Controller and the NVIDIA device plugin.

3. Prepare the GPU NodePool. A NodePool named gpu lets Karpenter start a g6.2xlarge only when a pod needs a GPU. It carries the label node-type: gpu and the taint nvidia.com/gpu=true:NoSchedule so other pods stay off the machine, and consolidationPolicy: WhenEmpty with consolidateAfter: 5m shuts the node down after five idle minutes. Auto Mode handles the NVIDIA driver and device plugin. Without Auto Mode, you install the device plugin yourself, and on AL2 or a custom AMI the NVIDIA driver too (the article shows the GPU Operator Helm chart for both cases): without a device plugin, Kubernetes cannot see the GPU.

4. Deploy vLLM and the model. Create the local-llm namespace and an hf-secret Secret for the token, and confirm gated-model access with curl (it should return 200). Then apply the vllm-llama31-8b Deployment (one replica, with nodeSelector: node-type: gpu and a toleration for the GPU taint so it lands on the GPU node) and a ClusterIP Service on port 8000. The heart of the Deployment is this set of vLLM arguments:

args:
  - --model=meta-llama/Llama-3.1-8B-Instruct
  - --served-model-name=llama31-8b
  - --max-model-len=8192
  - --gpu-memory-utilization=0.90
  - --port=8000

The pod waits in Pending while Karpenter starts the GPU node. It then pulls the image, downloads the model weights from Hugging Face, loads them into the L4’s VRAM and starts the API server before it turns Ready 1/1.

5. Add the Open WebUI chat page, pointed at http://vllm-llama31-8b:8000/v1, with login switched off (WEBUI_AUTH: "False") because it is a lab. Then create an IngressClassParams, an IngressClass alb and an internet-facing Ingress so the ALB lets people in from outside.

6. Test it in a browser. Open the ALB’s ADDRESS from kubectl get ingress: the model llama31-8b shows up in Open WebUI, ready for a question. The article reports quick replies from the L4.

7. Clean up when you are done. Delete the Deployments, Services, Ingress, Secret and NodePool, and finish with:

eksctl delete cluster llm-eks-lab --region us-east-1

Settings worth knowing

  • --max-model-len=8192: Llama 3.1 takes up to 131,072 tokens of context, but on a 24 GB L4 the full length risks running out of memory, so the article caps it at 8,192.
  • --gpu-memory-utilization=0.90: vLLM reserves 90% of VRAM for the weights and the KV cache.
  • Resources: 4 CPUs, 16Gi of memory (22Gi limit) and one GPU (nvidia.com/gpu: "1").
  • Startup probe: /health every 10 seconds with up to 120 failures (by our count, 120 tries of 10 seconds: about 20 minutes for the download and model load) before the readiness and liveness probes take over.
  • /dev/shm: an in-memory emptyDir of 8Gi.
  • Model cache: an emptyDir of 60Gi at /root/.cache/huggingface. A note from vLLM Bangkok: an emptyDir goes away with its pod, so a pod rescheduled to another node downloads the model again.
  • Endpoints: /health, /metrics (for Prometheus, with TTFT, TPOT, queue size and KV-cache usage), /v1/models, /v1/chat/completions and the Anthropic-compatible /v1/messages.

Cost and caveats

Hourly prices from the article (us-east-1):

Item Per hour
EKS control plane (Auto Mode) $0.10
System node $0.1075
General-purpose node $0.2150
GPU node g6.2xlarge $1.0539
ALB $0.0405

The table leaves out hidden extras such as NAT Gateway and EBS; with those, the article puts the total at about $1.6 an hour, most of it the GPU node, and notes that for serious production use a Reserved Instance or Savings Plan cuts the cost by about 30–35%. Our arithmetic: left running for a month (about 730 hours) that is roughly $1,100–1,200, so delete the cluster after every session.

This setup is built for a lab. The article warns that the ALB accepts traffic from any IP, and that for real use you should restrict it with a Security Group, WAF or an inbound CIDR allow-list. It marks Open WebUI’s disabled login as lab only, and vLLM itself runs without an API key. A note from vLLM Bangkok: AdministratorAccess is also far too broad for a production account.

Next episodes

Mongkol’s plan for the series:

  • Best practices for serving LLMs on EKS
  • LLMs on CPU nodes in EKS, a cheaper option for small models
  • LLM observability: TTFT, TPOT and GPU metrics
  • Multiple nodes and scaling with request volume
  • Quantization (FP8/AWQ) to save VRAM and raise throughput

Sources

  1. Deploy LLM บน Amazon EKS ด้วย vLLM แบบ Step-by-Step (EP.1) — Mongkol Thongkraikaew, DEV Community, 10 Aug 2026 (in Thai). The main source for the content, figures, settings and the diagram (© Mongkol Thongkraikaew).
  2. vLLM — vllm-project on GitHub
  3. eksctl — eksctl-io on GitHub
  4. meta-llama/Llama-3.1-8B-Instruct, RedHatAI/Meta-Llama-3.1-8B-Instruct-FP8 and NousResearch/Meta-Llama-3.1-8B-Instruct — Hugging Face

The diagram and the original cover belong to Mongkol Thongkraikaew and are used with credit. This post is vLLM Bangkok’s condensed version of his article. If you spot a mistake, tell us through the contact details on this site.

Tags

  • vllm
  • kubernetes
  • aws
  • eks
  • deployment

More posts

Light blue cover with the vLLM Bangkok logo top left and, top right, the Thai flag and the words From a vLLM Bangkok member. In the middle, a dark card with the title, What actually made vLLM faster on a DGX Spark: 15 weeks of A/B tests, and four figures: 108.9 tok/s, Thai, one user; 556 tok/s out at 32 streams; 2.9% drift between restarts; 2 of 6 repeat pairs agreed at temperature 0. Below: By Arnon Tawong · Faculty of Medicine, Chulalongkorn University
18 min read

What actually made vLLM faster on a DGX Spark: 15 weeks of A/B tests

Arnon Tawong's fifteen weeks of same-day A/B tests serving Qwen3.6-35B-A3B with vLLM on one DGX Spark for a Thai hospital RAG pilot: what held up (fewer bytes per token, batch capacity, MTP), what was noise, and the tokenizer bugs that broke Thai tone marks.

  • vllm
  • inference
  • dgx-spark
Title slide of the talk Serving Local Models with vLLM by (James) Kanin Kearpimy, Core Team, vLLM Bangkok, and Fellow, Python Software Foundation, with his photo and the badges of the Python Software Foundation, vLLM Bangkok, Microsoft MVP and MongoDB Community Champion
9 min read

Our co-founder James at SCBX NEXT TECH: serving local models with vLLM

On 21 November 2026 Kanin Kearpimy (James), co-founder of vLLM Bangkok, gave the vLLM talk at the AI Developer Meetup at SCBX NEXT TECH, Siam Paragon. Photos, his slides and a summary of the four ideas inside vLLM that keep the GPU busy and the answers fast.

  • vllm
  • inference
  • community