What’s Included
| Component | Version | Details |
|---|---|---|
| Python | 3.12 | Python runtime |
| pip | Bundled | Package manager |
| venv | Built-in | Virtual environment (auto-created) |
| systemd | — | Process manager (app service) |
| SSH | OpenSSH | Access via dedicated port |
Directory Structure
- App Root:
/home/instapod/app - App Port: 8000 (your app must listen on this port)
How the App Service Works
Your Python app runs as a systemd service calledapp. It:
- Starts automatically on boot
- Restarts on crash
- Logs to the system journal
- Runs as the
instapoduser - Uses the virtual environment at
/home/instapod/app/venv
Deploying Your App
Upload and Start
Example Flask App
Example FastAPI App
Viewing Logs
Adding a Database
Use Cases
- Django applications
- Flask / FastAPI APIs
- Data science dashboards (Streamlit, Dash)
- Machine learning model serving
- Python scripts and automation