Deploy FastAPI to the cloud
summary
Builds a small FastAPI app locally, runs it with Uvicorn and a virtualenv, then uses the FastAPI Cloud CLI to send code and dependency descriptions and deploys successfully to HTTPS. Queries GitHub with a GraphQL query via httpx in a get_discussions_count function, reads a GitHub token from env, and exposes an endpoint that returns discussion answer counts. Creates a shields.io dynamic JSON badge for docs. Claims about 3 million downloads daily and automatic scale-to-zero autoscaling.
AI-written summary · about
chapters (7)
- 0:00Introduction and setup
- 4:35Building a FastAPI demo app
- 10:17Deploying to FastAPI Cloud
- 12:44Creating GitHub integration
- 21:41Generating and deploying badge
- 23:06Deployment considerations
- 24:58Q&A session
related talks
56mEnabling continuous deployment with stealth, security, & smooth moves in mind
51mAccelerate your workflow from local Python prototype to the cloud
29mServerless from scratch with CI/CD on AWS: it’s a lot easier than you think (and mostly free).
09mVue with AWS Lambda
22mBuild your own cloud with Frappe Cloud
25mCloud for Frontend
28mAmazon CodeCatalyst in real-time
48mBuilding Scalable AI Tool Servers with Model Context Protocol (MCP) and Heroku
