deploy-fastapi-from-scratch
deploy-fastapi-from-scratch copied to clipboard
Deploy FastAPI from Scratch to a production server with this series.
Deploy FastAPI from Scratch to a production server with this series.
As you go down the rabbit hole of building Python Web Applications you inevitably start to wonder how this is all going to run in a live, production, environment. This series aims to answer this question by deploying a basic Python Web Application from scratch to Linode's powerful and cost-effective service. Once you understand the fundamentals from scratch, you can learn to deploy using more scalable and powerful solutions (like Terraform, Ansible, and others).
Chapter 1: Setup & Recommendations
- Walkthrough- What we are doing and why
- Recommendations before we get started
- Provisions on Linode
- Your first secure connection
Chapter 2: Users, Permissions, Firewalls & Nginx
- Passwordless SSH with SSH Public Keys
- Configure new Users & Group Permissions
- Install nginx and UFW
Chapter 3: Version Control & Git
- Why we need version control
- Git Basics
- Git Remote Host on Linode Part 1
- Git Remote Host on Linode Part 2
Chapter 4: Web Application
- Install Python & use a virtual environment
- Production ready virtual environment
- Our first Python FastAPI Web App
Chapter 5: Nginx & Supervisors
- Nginx for Web Servers
- Supervisor
- Deploy & solve
