Skip to content
Roadmap0/111
not startedstudy day 3 of 6 · covers original day 50

Study inference gateway versus model-server architecture

P3 Agent systemM4
not started0/5 blocks
0/5
Jump & context

Week 7: Parameter-Bound Approvals, Inter-Agent Bus, Production Containers & Inference Serving

The five hours

  1. 01

    Concepts & system design

    60 min

    R26 — vLLM production deployment & API server architecture

    R25 — Docker networking & daemon security

    Read the assigned sections; map the mechanism, threat model and trade-offs.

  2. 02

    Project implementation

    120 min

    Study inference gateway vs. model-server architecture (e.g., vLLM / Ollama internal server behind an API gateway). Map the serving topology: API gateway, model runtime, vector DB, background workers, telemetry collector, and internal Docker networks.

    Build, integrate, debug and improve the increment in the active project.

  3. 03

    Security lab

    60 min

    Verify that the raw model runtime and vector DB ports are placed on an internal-only Docker network and cannot be reached directly from the host/public network.

    Test the abuse case, failure path, authorization bypass or resource limit.

  4. 04

    Verification & evidence

    30 min

    Serving network topology diagram and network-isolation verification script.

    Add or run regression tests; record the 9-point evidence record.

  5. 05

    Deliberate practice & Socratic review

    30 min

    Answer the 8 Socratic questions without notes: What? Why? How? What if? Why not? How can I prove it? Where can it break? What have I learned?

    Re-explain the hardest concept aloud, inspect one edge case, update the gap log.

  6. total5 h

Read today · inside the concepts block

R25 R26

Read only the named sections needed for today's task. Reading sits inside the 60-minute concepts block; it is not extra time.

Free resources for this day

5 curated
  • docsDocker Docs · ~25 min read
    Docker Engine security

    Explains namespaces, capability sets and the daemon surface, which is what you have to reason about when the model runtime and gateway share one Docker host.

    R25checked 2026-11-11
  • videoNeuralNine · ~15 min
    vLLM: Easily Deploying & Serving LLMs

    Starts a vLLM model server and separates the engine from the HTTP front end, the concrete instance of model runtime sitting behind a gateway.

    R26checked 2026-11-11
  • videoFahd Mirza · ~10 min
    Serve Any Hugging Face Model with vLLM: Hands-on Tutorial

    Hands-on serving of an arbitrary model through vLLM's OpenAI-compatible endpoint, useful for confirming which port and path the gateway must proxy to.

    R26checked 2026-11-11
  • articleLiteLLM · ~10 min read
    What Is an AI Gateway? Why Your Enterprise LLM Infrastructure Needs One

    Draws the line between an LLM proxy, an LLM gateway and an MCP gateway, which is the vocabulary you need to map gateway vs model-server responsibilities in the topology.

    R26moved 2026-11-11
  • docsvLLM · Reference
    serve - vLLM

    Reference for the serving flags that define the runtime's behaviour — API server count, host/port binding, API key auth and concurrency knobs — so you can place it behind the gateway deliberately.

    R26moved 2026-11-11

Evidence record · 9-point standard

0/9

A lab is complete only when it produces evidence. Installing PyRIT, Garak, Presidio or TransformerLens is not completion. Saved on this device only.

Day notes

empty

The two source formulations

verbatim · nothing summarised

Project & Stage Target

P3 & Shared Infra | M4 (Inference Infrastructure Security)

Core Implementation

Study inference gateway vs. model-server architecture (e.g., vLLM / Ollama internal server behind an API gateway). Map the serving topology: API gateway, model runtime, vector DB, background workers, telemetry collector, and internal Docker networks.

Security Lab

Verify that the raw model runtime and vector DB ports are placed on an internal-only Docker network and cannot be reached directly from the host/public network.

Verification & Evidence

Serving network topology diagram and network-isolation verification script.

Read Today (60m Concepts Block)

R26 (vLLM production deployment & API server architecture), R25 (Docker networking & daemon security).

---