You cannot pull 14GB CUDA images and 70GB of weights from cold internet endpoints during an autoscaling spike. In production us-west-2 / us-east-1 EKS clusters, we get Karpenter GPU scale-outs down from 7 minutes to ~75 seconds using Pre-Cached EBS Snapshots (Data-on-EKS) + Run:ai / S3-Express-One-Zone Streaming:
1. Pre-Bake vllm/vllm-openai Into Your Karpenter Bottlerocket/EKS AMI
Never pull 14GB vLLM images over the network on node boot. Use EC2 Image Builder (or Packer) in CI to pull your exact pinned vllm-openai:vX.Y image onto an EBS Snapshot attached to your Karpenter EC2NodeClass:
# Karpenter EC2NodeClass with pre-warmed containerd image snapshot
apiVersion: karpenter.k8s.aws/v1
kind: EC2NodeClass
metadata:
name: vllm-gpu-nodeclass
spec:
amiFamily: Bottlerocket
blockDeviceMappings:
- deviceName: /dev/xvda
ebs:
volumeSize: 150Gi
volumeType: gp3
iops: 6000
throughput: 1000 # 1 GB/s EBS read speed!
snapshotID: snap-0abc1234prebakedvllm # Pre-baked CUDA + vLLM image!
Result: Image pull drops from 3.5 minutes to 0 seconds (AlreadyPresent in containerd).
2. Stream Weights from Amazon S3 Express One Zone or FSx for Lustre
Never pull model weights from HuggingFace Hub in production autoscaling!
Mirror your safetensors into an S3 Express One Zone directory bucket in the same Availability Zone (usw2-az1--x-s3) or FSx for Lustre, and launch vLLM with --load-format runai_streamer (streams tensors directly into GPU VRAM over multi-threaded S3 connections at 4–8 GB/s):
python3 -m vllm.entrypoints.openai.api_server --model s3://my-express-weights-usw2/llama-3.3-70b/ --load-format runai_streamer
Scale-Out Timeline After Fix:
- EC2 Spot/On-Demand Provision + Bottlerocket Boot: ~40s
- Container Image Pull (Pre-baked AMI): 0s
- Model Weight Load via
runai_streamer from S3 Express: ~28s
- Total Cold Scale-Out: ~68 seconds (down from 7+ minutes!).