NEW
New: Deploy your application in minutes with Shard AI

Host your Python app, API, worker or bot.

Deploy FastAPI, Flask, Django, discord.py, python-telegram-bot, Celery or another Python project from GitHub or ZIP/RAR. Choose your runtime and start command, with 10 GB of persistent storage, logs and a free HTTPS address.

From Python project files to an isolated runtime

Python

select Python and its version during app creation

Pip install

dependencies installed automatically

/app

10 GB disk; files persist across restarts

Live

application logs and resource metrics

Python workload examples

From FastAPI and Django to workers and bots.

Shard Cloud runs Python web apps, background workers and long-running bot processes with your project's own runtime and startup configuration.

Explore capabilities

FastAPI, Flask & Django apps

Host Python HTTP APIs, webhooks and server-rendered sites. Run FastAPI or Flask behind Uvicorn or Gunicorn, or deploy a Django application with its production start command.

Celery workers and scheduled jobs

Run Python processes that consume queue jobs or perform scheduled tasks. Set the worker entry point or custom start command and follow each process through its logs and resource metrics.

Discord & Telegram bots

Host a discord.py or python-telegram-bot project. Configure tokens in environment variables and use application logs to follow connections, updates and errors.

Built to operate

Python hosting for APIs, workers and bots.

Install declared dependencies in an isolated environment and run the Python process that fits your web app, worker or bot.

Declared Python dependencies

Deploy requirements.txt with the production files required by your process.

Web apps, workers and bots

Run the production process for a FastAPI, Flask or Django app, a Celery worker, or a long-running bot.

Persistent application files

Keep Python uploads on the 10 GB persistent disk across application restarts.

Publish an address

Every Python web application receives a free HTTPS address under *.shardweb.app. Connect your own domain with Core or higher.

Logs and resource metrics

Use logs, memory and CPU metrics to inspect startup, runtime errors and the workload's actual resource use.

Automatic restart

Python processes restart automatically; use dashboard logs to investigate a process that stops.

Deployment setup

How to deploy a Python app on Shard Cloud.

Prepare your Python project, configure the deployment, then verify the web server, worker or bot.

Get started
01
Prepare your project
Include main.py or app.py, requirements.txt and .shardcloud. Remove venv/, __pycache__/ and *.pyc before zipping.
02
Configure the deployment
Point MAIN at your entry file and choose memory. Shard Cloud installs requirements.txt into an isolated environment on deploy.
03
Verify the workload
Test an endpoint, task or bot connection, then read the logs.

From connection to the first decision, in one flow.

Tutorials

Tutorials for your runtime

Open step-by-step Shard Cloud documentation for popular projects in this runtime.

How to Host Selenium Applications

Run Selenium browser automation scripts on Shard Cloud.

Read tutorial

How to Host Discord Bots

Create and host Discord bots with Node.js and Python examples.

Read tutorial

How to Host Telegram Bots

Create and host Telegram bots with Node.js and Python examples.

Read tutorial
Explore all tutorials
Frequently asked questions

Frequently asked questions about Python hosting

Yes. Shard Cloud supports Python web apps and background processes, including FastAPI and Flask APIs, Django sites, Celery workers and scheduled jobs. Deploy your project with its production files and start command.

Add requirements.txt to your project. Shard Cloud installs the listed dependencies during deployment.

Set MAIN to your entry file in .shardcloud, usually main.py or app.py, and list your dependencies in requirements.txt. Shard Cloud installs them in an isolated environment and runs the file. A web app must listen on port 80.

Usually, no. Gateway or polling bots, including most discord.py bots, do not need a public port. Enable web publication and listen for requests only when your bot uses webhook callbacks or also exposes an API.

Yes. Each Python application has a 10 GB persistent disk at /app. Files stored there persist across application restarts.

Set VERSION=LATEST for the newest supported Python release, or VERSION=recommended for the platform's recommended release. Choose the setting compatible with your project and dependencies.

Every app needs at least 256 MB. Use 512 MB or more for a public website or API, then increase it based on observed usage.

Your server must listen on port 80.

Ready to move forward

Deploy your Python project.

Bring a Python project with its dependency manifest, then choose the production process for its API, worker or bot.

Entry point and dependencies ready
Package main.py or app.py, requirements.txt, and the configuration required by the process.

Configuration and environment ready
Add tokens, connection strings and settings without putting secrets in your code.

Deploy your Python project
Connect GitHub or upload a ZIP/RAR, select Python, and start Uvicorn, Gunicorn, Celery or your bot command.

A plan for every stage of your project

Rated 4.9/5 on TrustpilotTrusted by 50,000+ developers

Basic plan

Perfect for freelancers or individuals who need to host applications and bots.

$1.51/mo
1-2GB RAM
1-2 vCPU
4-8 projects
5-10GB CDN

Core plan

For small teams and startups that need infrastructure for multiple projects.

$4.12/mo
4-8GB RAM
4-5 vCPU
16-32 projects
35-100GB CDN
Connect your own custom domain

Pro plan

Built for scaling companies with high project volume and advanced support.

$11.67/mo
12-24GB RAM
6-10 vCPU
48-96 projects
150-250GB CDN
Load balancers
Automatic backups