Skip to main content

Requirements

  • Python 3.11+ installed locally
  • Account on Vertra Cloud
  • requirements.txt file at project root

Project Structure

Configuration

requirements.txt

The platform automatically runs pip install -r requirements.txt. Do not include venv or __pycache__ in the upload.

vertracloud.config

Example: REST API with Flask

Deploy

  1. Exclude venv, .cache and __pycache__ from the project
  2. Compress into a ZIP file
  3. Access Dashboard → New Project → Application
  4. Select Python language and upload
  5. Configure memory (256MB for simple APIs, 512MB+ for APIs with database)
  6. Click “Create Application”

Available Versions

Notes

  • Production server: Use gunicorn instead of app.run() for production
  • Environment variables: Configure database credentials in the dashboard
  • Database dependencies: Use psycopg2-binary for PostgreSQL
  • Logs: Available in real-time in dashboard terminal
  • Auto-restart: Enabled by default to restart on crash
  • Always listen on port process.env.PORT and host 0.0.0.0