---
title: "Python Hosting: Django, Flask and FastAPI on a VPS | CloudSat"
description: "Python hosting on a cloud VPS with root: any interpreter through uv or pyenv, Gunicorn or Uvicorn behind Nginx, systemd services and Celery workers."
url: https://cloudsat.io/python-server-hosting
updated: 2026-11-18T21:28:02Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

# Python hosting, any framework. Your interpreter, your rules.

A cloud server with root: choose the Python version, the package manager and how the process stays alive. [Django](https://cloudsat.io/apps/deploy-django), [Flask](https://cloudsat.io/apps/deploy-flask) and [FastAPI](https://cloudsat.io/apps/deploy-fastapi) are one-click apps too.

[Deploy a Python server](https://dash.cloudsat.io/console/deploy?plan=cloud-4g)

From $1.98/mo 14-day money-back Pay in crypto

Python hosting at a glance

**Python** runs on every Linux image CloudSat offers: Ubuntu 24.04 ships 3.12, Debian 13 ships 3.13, and `uv` or `pyenv` install other releases beside them. With **root**, system packages, compilers, Nginx and systemd units are yours to configure. Web apps sit behind **Gunicorn or Uvicorn**, background jobs run as Celery or RQ workers, and notebooks live on [Jupyter](https://cloudsat.io/jupyter-server-hosting). Plans start at **$1.98 a month**, and **High Frequency** cores at **$2.78**.

- **Starting price**: $1.98 / month
- **Deploy time**: Under 5 minutes
- **Regions**: 13 worldwide
- **Uplink**: 40 Gbps
- **Uptime SLA**: 99.95%
- **Money-back**: 14 days

## Python on a server that never kills a long job.

The parts of Python hosting that platform services make awkward.

### Root for native builds

Packages without wheels need `build-essential`, `python3-dev` or `libpq-dev`. Install them with apt in seconds instead of waiting for a platform to support yet another buildpack.

### Clock speed for the GIL

One Python process mostly uses one core, so frequency matters. [High Frequency](https://cloudsat.io/high-frequency-vps) plans run AMD Ryzen at 4.2 GHz and up for jobs that will not parallelize.

### Long jobs, no time limits

Nothing kills a request at 30 seconds or a worker after an hour. Crawlers, training scripts and nightly ETL run as long as they need.

### A path to GPUs

When the model outgrows the CPU, move the same code to a [GPU server](https://cloudsat.io/gpu-servers) with CUDA preinstalled. Same console, same balance and deploy flow, just a bigger card.

## Deploy Python properly: venv, app server, systemd.

Three steps that survive reboots and redeploys.

### 1. Isolate the app

The system Python is externally managed, so a bare `pip install` fails by design. Give each app a virtualenv with `uv venv` or `python3 -m venv`.

### 2. Serve it properly

Run Django or Flask under Gunicorn and FastAPI under Uvicorn on 127.0.0.1, behind Nginx or Caddy for TLS and static files.

### 3. Supervise it

A systemd unit with `Restart=on-failure` and an `EnvironmentFile` for secrets keeps it alive across crashes and reboots.

## What Python does on a VPS: APIs, queues, bots and data jobs.

Six common shapes of a Python deployment.

### Web apps and APIs

Django admin sites, Flask dashboards and FastAPI backends. A 2 GB plan runs a modest API with its database; split them across two servers when traffic grows.

### Task queues

Celery or RQ workers pull jobs from [RabbitMQ](https://cloudsat.io/rabbitmq-server-hosting) or [Valkey](https://cloudsat.io/valkey-server-hosting). Add worker processes, or a second server, without touching the web tier at all.

### Chat bots

Telegram, Discord and Slack bots need a process that never sleeps and an IP that never changes. A 1 GB server carries most of them.

### Data jobs

pandas, Polars and DuckDB scripts that crunch exports overnight. NVMe makes reading and writing Parquet quick, and cron or systemd timers run them on schedule.

### Trading scripts

Strategy loops built on ccxt or broker SDKs run around the clock in a region near the exchange. See [crypto trading bots](https://cloudsat.io/solutions/crypto-trading-bots) for a dedicated setup.

### Scrapers

Scrapy spiders and Playwright crawlers with headless Chromium need RAM, system libraries and a stable IPv4. Root lets you install the browser dependencies once and pin them.

**< 5 min** Delivery, any server

**40 Gbps** Uplink

**NVMe** Storage only

**13** Regions

**99.95%** Uptime SLA

**14 days** Money-back

## Python hosting locations: 13 regions. Pick the one next to your users.

Every region runs the same hardware, the same images and the same prices. Deploy in one, add another whenever you need it.

[Salt Lake City SLC1](https://cloudsat.io/locations/utah) [Las Vegas LAS1](https://cloudsat.io/locations/las-vegas) [Los Angeles LAX1](https://cloudsat.io/locations/los-angeles) [Dallas DFW1](https://cloudsat.io/locations/dallas) [New York NYC1](https://cloudsat.io/locations/new-york) [Miami MIA1](https://cloudsat.io/locations/miami) [London LON1](https://cloudsat.io/locations/london) [Amsterdam AMS1](https://cloudsat.io/locations/amsterdam) [Frankfurt FRA1](https://cloudsat.io/locations/frankfurt) [Bern BRN1](https://cloudsat.io/locations/switzerland) [Dubai DXB1](https://cloudsat.io/locations/dubai) [Singapore SIN1](https://cloudsat.io/locations/singapore) [Sydney SYD1](https://cloudsat.io/locations/sydney) [Tokyo TYO1 soon](https://cloudsat.io/locations/japan)

## Python hosting plans and pricing. Pay only for what you use.

Hourly or monthly, or pay 3, 6 or 12 months up front and save up to 15%. Hourly servers never cost more than the monthly price.

[See all 10 plans](https://cloudsat.io/plans)

| Plan | Best for | Price | Included | Order |
| --- | --- | --- | --- | --- |
| Launch · 512 MB | Sandboxes and side projects | $1.98/mo | 1 vCPU @ EPYC, 20 GB NVMe, 1 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-512m) |
| Orbit · 1 GB | Small sites and bots | $2.78/mo | 1 vCPU @ EPYC, 25 GB NVMe, 1 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-1g) |
| Apogee · 2 GB | WordPress and APIs | $5.98/mo | 1 vCPU @ EPYC, 60 GB NVMe, 3 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-2g) |
| Zenith · 4 GB (most popular) | Production apps | $11.58/mo | 2 vCPU @ EPYC, 120 GB NVMe, 5 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-4g) |

## Python hosting questions, answered.

**Which Python versions can I use?**

The image's own Python works out of the box: 3.12 on Ubuntu 24.04 and 3.13 on Debian 13. `uv python install` or pyenv adds other releases alongside it without replacing the interpreter the OS depends on.

**Should I use pip, Poetry or uv?**

All three work. pip in a virtualenv is the baseline, Poetry suits teams already using its lock files, and uv resolves and installs fastest. Pick one per project and commit the lock file so the server installs what you tested.

**Why does pip say the environment is externally managed?**

That is PEP 668. Debian 12 and later, and Ubuntu 23.04 and later, stop pip from writing into the system Python so that OS tools keep working. Create a virtualenv for each app, or use `pipx` for standalone command-line tools.

**How do I deploy a Django or Flask app?**

Push the code with git, install requirements into the virtualenv, run migrations and start Gunicorn from a systemd unit, with Nginx proxying to it and serving `/static`. Or pick the [Django one-click app](https://cloudsat.io/apps/deploy-django) and begin with the stack already wired.

**Do NumPy and pandas install cleanly?**

Yes. Both publish manylinux wheels for x86_64, so pip downloads prebuilt binaries and nothing compiles. Packages without wheels for your Python version need `build-essential` and the matching `-dev` libraries, which root lets you install with a single apt command.

**How do I keep the app running after a reboot?**

Use systemd. A unit with `Restart=on-failure` brings crashed processes back, `systemctl enable` starts it at boot, and `journalctl -u` shows its logs. Supervisor, or Docker with a restart policy, also works if your team already relies on it.

**How much server does a Python app need?**

A Flask or FastAPI service with a few workers fits in 1 GB. Django with Celery and a local database is happier on 4 GB. Data science sizes to the dataset, since pandas often needs several times the file size in RAM.

**How do I pay for the server?**

Top up a prepaid balance from $20 in Bitcoin, Ethereum, Monero, USDT on Tron or Solana, then deploy. Servers bill by the hour, month or year from that balance, and top-ups of $100 or more earn a percentage bonus.

## Related to Python hosting

- [Django](https://cloudsat.io/django-server-hosting): Django hosting on a CloudSat VPS: Gunicorn, Nginx, PostgreSQL and Celery under systemd, with root SSH, NVMe and IPv6. Use the one-click app or start clean.
- [Flask](https://cloudsat.io/flask-server-hosting): Flask hosting on a KVM server with root SSH: run your app under Gunicorn and systemd behind Nginx, add Celery workers. From $1.98/mo, billed hourly.
- [Jupyter](https://cloudsat.io/jupyter-server-hosting): Jupyter on a CloudSat VPS: JupyterLab or JupyterHub that keeps running when your laptop sleeps, with root SSH, NVMe, up to 64 GB of RAM and GPU plans.
- [Anaconda](https://cloudsat.io/anaconda-server-hosting): Anaconda hosting on a cloud server with full root: conda environments, JupyterLab and the Python data stack on DDR5 and NVMe, billed hourly or monthly.
- [High Frequency VPS](https://cloudsat.io/high-frequency-vps): High Frequency VPS on AMD Ryzen at 4.2 GHz+ with DDR5 and NVMe, from $2.78/mo. Built for game servers, trading terminals and single-thread apps. Crypto.
- [GPU servers](https://cloudsat.io/gpu-servers): GPU server rental with whole NVIDIA cards: RTX 4090, RTX 5090, A100 80 GB and RTX PRO 6000 from $405.08/mo. CUDA ready, billed hourly, paid in crypto.
