CNCoreNova Docs

AWS Marketplace AMI · 17 Regions · 54 GPU Types · 7-Day Free Trial

vLLM Private Inference Server AMI: Quickstart & GPU Quota Guide

CoreNova vLLM Private Inference Server AMI (prod-km423hrzf65k2) launches a zero-egress, OpenAI-compatible LLM inference endpoint inside your own AWS VPC on Ubuntu 24.04 LTS with NVIDIA driver 580, CUDA 12.6, Docker Engine, NVIDIA Container Toolkit, auto-generated Bearer API key authentication, optional persistent EBS model cache, and built-in Idle GPU Auto-Stop.

Check EC2 GPU Quota First (Avoid VcpuLimitExceeded): New AWS accounts default to 0 On-Demand G and VT vCPUs. Before launching g6.xlarge, g6e.xlarge, g5.xlarge, or g4dn.xlarge, verify and request your regional vCPU quota in AWS Service Quotas.

Step 1 — Verify & Request EC2 GPU vCPU Quota

Run these commands in the AWS region where you plan to launch (available across 17 global regions and 54 NVIDIA GPU instance types from g4dn/g5/g6/g6e/g7/g7e to p4d/p5/p6):

# 1. Check current On-Demand G and VT Standard Instance vCPU quota (4 vCPUs needed for g6.xlarge)
aws service-quotas get-service-quota \
  --region us-east-1 \
  --service-code ec2 \
  --quota-code L-DB2E81BA

# 2. Request a quota increase if Value is 0 (8 vCPUs covers g6.xlarge / g6.2xlarge / g6e.xlarge)
aws service-quotas request-service-quota-increase \
  --region us-east-1 \
  --service-code ec2 \
  --quota-code L-DB2E81BA \
  --desired-value 8

# Optional: Look up P-series quota code (for p4d / p5) in your target region
aws service-quotas list-service-quotas --region us-east-1 --service-code ec2 \
  --query "Quotas[?contains(QuotaName,'P instances')].[QuotaCode,QuotaName,Value]" --output table

Step 2 — Launch & Persistent EBS Model Cache

1. Subscribe & Launch. Subscribe on AWS Marketplace, select your region, and pick a GPU instance (g6.xlarge recommended for 7B–14B models, g6e.xlarge for larger context).
2. Optional Secondary EBS Volume. Attach an extra gp3 EBS volume before first boot; CoreNova bootstrap automatically formats and mounts it at /var/lib/vllm/models so Hugging Face weights persist across instance replacements.
3. Connect Zero-SSH via SSM. Attach an IAM role with AmazonSSMManagedInstanceCore (no public port 22 required) and open a shell with AWS Systems Manager Session Manager.

Step 3 — Manage Models, Idle Auto-Stop & Test OpenAI API

# Connect via AWS Systems Manager Session Manager
aws ssm start-session --target i-0123456789abcdef0 --region us-east-1

# Check systemd service and GPU /health diagnostics
sudo corenova-vllm-ctl status

# Print the auto-generated Bearer API key
sudo corenova-vllm-ctl show-key

# Switch Hugging Face model (add HF_TOKEN in /etc/corenova/vllm.env for gated models)
sudo corenova-vllm-ctl set-model Qwen/Qwen2.5-7B-Instruct

# Prevent overnight GPU bill shock: auto-stop instance after 30 idle minutes (0 disables)
sudo corenova-vllm-ctl set-idle-stop 30

Forward Caddy port 80 securely over SSM to test from your workstation without opening public VPC ports:

aws ssm start-session --target i-0123456789abcdef0 --region us-east-1 \
  --document-name AWS-StartPortForwardingSession \
  --parameters '{"portNumber":["80"],"localPortNumber":["8080"]}'

# Health check
curl -s http://127.0.0.1:8080/health | jq .

# OpenAI-compatible chat completion
curl -s http://127.0.0.1:8080/v1/chat/completions \
  -H "Authorization: Bearer YOUR_VLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"Qwen/Qwen2.5-7B-Instruct","messages":[{"role":"user","content":"Summarize zero-trust VPC design in 2 sentences."}]}'

Architecture & Security Boundaries