Shipping It: Cloudflare Pages + Fly + Modal + R2 + Neon for ~$10/mo
Post 10 of the Pepper & Carrot AI flipbook series — the deploy. The flipbook, the spoiler-safe RAG, the world graph all run beautifully on the developer laptop the first nine posts built around. This one puts the same architecture on the public internet for roughly the price of a coffee a month — Cloudflare Pages for the static frontend, Fly.io for the FastAPI backend, Modal for the GPU-served Ollama, Neon for managed Postgres, Cloudflare R2 for the image bytes. The provider abstractions from Post 3 finally cash in: the backend doesn't notice that Ollama moved off localhost, the storage swap is one env var, the database URL is one secret. The new code is small (a boto3-backed R2Storage finally lands behind the Post 3 Protocol, a Dockerfile, a fly.toml, three short infra scripts) — the harder work is the architectural judgement about which seams to draw and where to put the cold start the budget can afford.