Convex

Deploy Convex on a VPS in One Click

Databases & data storageDevOps, CI/CD & containers

Reactive backend-as-a-service with a real-time TypeScript database, serverless functions, and file storage for apps that sync instantly.

  • Ready in ~5 min
  • Free installation
  • We handle the setup
At a glance
Version
Latest
Operating system
Ubuntu Server 24.04 LTS
Minimum RAM
2 GB
License
FSL-1.1-Apache-2.0
Addressing
IPv4, IPv6
GitHub
13,000
Deployment~5 min
VPS plans

Choose a VPS plan for Convex

Blazing-fast NVMe drives and powerful processors. Take a ready-made plan or build the configuration yourself.
Minex
Perfect for personal projects and small websites.
€3.20/mo
Save €0.80 per month

  • 1 vCPU core
  • 1 GB DDR5 RAM
  • 20 GB NVMe SSD
  • Full root access
  • 1 dedicated IPv4
  • 1 TB traffic
Basex
A great balance of power and affordable price.
€4.80/mo
Save €1.20 per month

  • 2 vCPU cores
  • 2 GB DDR5 RAM
  • 40 GB NVMe SSD
  • Full root access
  • 1 dedicated IPv4
  • 2 TB traffic
Most popular
Corex
For growing applications and businesses.
€7.20/mo
Save €1.80 per month

  • 4 vCPU cores
  • 4 GB DDR5 RAM
  • 50 GB NVMe SSD
  • Full root access
  • 1 dedicated IPv4
  • Unlimited traffic
Midex
Resources for high-load projects.
€9.60/mo
Save €2.40 per month

  • 4 vCPU cores
  • 6 GB DDR5 RAM
  • 60 GB NVMe SSD
  • Full root access
  • 1 dedicated IPv4
  • Unlimited traffic
Proex
Maximum power and scalability.
€12.00/mo
Save €3.00 per month

  • 6 vCPU cores
  • 8 GB DDR5 RAM
  • 70 GB NVMe SSD
  • Full root access
  • 1 dedicated IPv4
  • Unlimited traffic
Scalex
Resources for scaling.
€16.00/mo
Save €4.00 per month

  • 6 vCPU cores
  • 10 GB DDR5 RAM
  • 150 GB NVMe SSD
  • Full root access
  • 1 dedicated IPv4
  • Unlimited traffic
Maxex
A large reserve of power.
€44.00/mo
Save €11.00 per month

  • 8 vCPU cores
  • 16 GB DDR5 RAM
  • 200 GB NVMe SSD
  • Full root access
  • 1 dedicated IPv4
  • Unlimited traffic
Apex
The top configuration.
€79.99/mo
Save €20.00 per month

  • 16 vCPU cores
  • 32 GB DDR5 RAM
  • 400 GB NVMe SSD
  • Full root access
  • 1 dedicated IPv4
  • Unlimited traffic

What you can do with Convex

Convex is an open-source reactive database and backend platform for developers building real-time web and mobile apps entirely in TypeScript. It folds a database, an API layer, and a function runtime into one system: queries, mutations, and actions execute server-side and push updates to every connected client the moment underlying data changes. Teams building collaborative tools, live dashboards, or AI-agent backends reach for Convex instead of hand-wiring a database, REST endpoints, and websockets.

What separates it from a typical BaaS is that the whole stack — transaction engine, dashboard, CLI — ships as open source under FSL, not a thin SDK bolted onto someone else's database. Running Convex self hosted on your own VPS hosting removes the cloud tier's storage and function-call caps, keeps data off shared infrastructure, and lets you swap the default SQLite for Postgres or MySQL in production.

The applications screen of the control panel with one-click install

Convex features

A server surrounded by app icons — applications running on a VPS

Convex bundles the pieces a backend normally needs into one deployment, all reachable through a single typed client. Deployed as hosting for Convex on your own server, every feature below stays under your control rather than a shared quota.

01

Reactive queries

Client subscriptions re-render automatically whenever the underlying data changes, no manual polling or websocket code required.

02

TypeScript functions

Queries, mutations, and actions run server-side and share types with your frontend, so refactors get caught by the compiler.

03

Built-in file storage

Upload and serve files directly through Convex without standing up a separate S3 bucket for simple cases.

04

Full-text and vector search

Index documents inside Convex and query them by keyword or by semantic similarity.

05

Scheduled functions

Cron-style jobs defined in code, running on a fixed schedule or after a delay.

06

HTTP actions

Expose custom endpoints for webhooks like Stripe or Clerk without a separate API gateway.

07

Built-in dashboard

Browse tables, replay function logs, and run queries from a web UI included in the Convex vps docker deployment.

Requirements

Which server to run it on

Minimum requirements for Convex and the configuration worth starting with.
Minimum
  • CPU1 vCPU
  • Minimum RAM2 GB
  • Disk20 GB
Recommended
VPS Basex
  • CPU2 vCPU
  • Minimum RAM2 GB
  • Disk40 GB

Installation is free — you only pay for the server

Getting started

How to deploy Convex

Three steps and the app is running on your server.
Step 1
Choose a server

Pick a VPS with enough RAM to run the Convex backend and dashboard together, and headroom to add a Postgres container if you move off SQLite later.

Step 2
Pick the app

Select Convex in the marketplace and the panel runs the Convex one click install, pulling the backend and dashboard images for you.

Step 3
Get your credentials

After deployment, grab the generated admin key and dashboard URL from your panel — that's what you'll use the first time you install Convex on vps and connect the CLI.

Why us

Why Host Convex on Leneex

Speed, protection and support you can rely on — on every plan, with no hidden limits.
Deployment speed
Convex self-hosting isn't one container — it's the backend, the dashboard, and often a Postgres instance running together. A fast one-click deploy for vps for Convex gets all three up and talking to each other in minutes instead of a manual docker-compose session.
Free installation
Wiring up the backend, dashboard, and a production database by hand is exactly the DevOps overhead that makes self-hosting Convex feel expensive. Leneex sets up that stack at no installation cost, so you skip the setup labor without paying a markup for it.
DDoS protection
Convex backends expose HTTP actions for webhooks and often serve a live frontend talking to it over websockets — both are public, reachable endpoints. DDoS protection keeps those realtime connections and webhook callbacks (Stripe, Clerk, etc.) from dropping under an attack.
Control and support
Self-hosted Convex puts you in charge of Docker volumes, backups, and the database underneath — responsibilities the managed cloud normally absorbs. Root access plus 24/7 engineer support means you're not troubleshooting a broken Postgres volume or a stuck container alone at 3 a.m.
99.9% uptime with SLA compensation
Convex's reactive queries hold live subscriptions open with connected clients; every backend restart or network blip breaks those in-flight updates. A 99.9% uptime SLA with compensation limits how often that sync gets interrupted.
Flexible payment
Indie developers testing a self-hosted Convex backend and companies running it in production have very different billing needs. Card, crypto, or invoiced payment for legal entities covers both without forcing either side into the wrong payment flow.
What to choose

Convex: Self-Hosted vs Cloud — Which to Choose

We compare cost, control over your data and limits, so the choice is an informed one.
Convex Cloud
Self-hosted on LeneexRecommended
Resources and limitsFree tier capped at 0.5GB storage and 1M function calls/month, shared infrastructureDedicated CPU/RAM you size yourself, no cap on function calls
Control and accessNo server or database access; Convex manages the storage engine for youRoot access to the server, choice of SQLite, Postgres, or MySQL underneath
Feature limitsTeam seats, backup retention, and some features gated behind paid plansFull backend, dashboard, and CLI available from the first deploy
ScalingScales automatically, but usage above the free tier is billed per planResize the VPS or move the database to bigger storage whenever you need
CostPay-as-you-go pricing that grows with database bandwidth and callsFixed VPS price regardless of function-call volume
Who it fitsTeams that want zero ops and are fine with usage-based billingProjects that outgrow the free tier's call volume or need data off shared infrastructure

Deploying Convex in one click on a VPS is worth it once your project pushes past the free tier's 1M monthly function calls or you need the backend and its data kept off shared cloud infrastructure. For projects that stay small and want to skip infrastructure work entirely, Convex Cloud's managed pricing is the more practical starting point.

Frequently Asked Questions about Convex on VPS

What people ask most about Convex and our servers.

  • Yes — Convex ships export/import tooling through its CLI, so you can pull a snapshot from the cloud deployment and import it into your self-hosted backend on the VPS.

  • Upgrading resizes CPU and RAM without touching the Docker volumes or database underneath, so your Convex backend and its data stay intact through the change.

  • Yes, Leneex provisions SSL for the domain pointed at your Convex deployment, covering both the dashboard and the backend's HTTP endpoints.

  • It depends on how many live subscriptions and function calls your app generates per user; light apps with a handful of active connections run comfortably on the entry tier, while high-traffic realtime apps need more RAM.

  • You do — self-hosted Convex vps hosting means pulling new backend and dashboard image versions yourself, though the process is a standard docker compose pull and restart rather than a manual rebuild.

What's already configured

The one-click deploy brings up two containers side by side: the Convex backend (serving the database, functions, and HTTP actions) and the Convex dashboard, connected to each other out of the box. By default the backend stores data in a local SQLite database inside a Docker-managed volume — enough to start building immediately, though production workloads are better moved to Postgres or MySQL. Both containers are managed by Docker Compose, so they restart automatically if the server reboots.

The backend listens on port 3210, with HTTP actions served separately on 3211, and the dashboard on 6791 — the panel's control panel maps these to your domain.

First login

Convex self-hosted authenticates via an admin key rather than a username and password — it's generated during the initial container startup and printed to the backend's logs.. Open the dashboard URL from your panel, paste in the admin key when prompted, and you land in the same table browser, log viewer, and function runner used in Convex Cloud.

Connecting your app

Point your frontend's Convex client at the backend URL instead of a cloud deployment URL, and set CONVEX_SELF_HOSTED_URL and the admin key as environment variables before running npx convex dev or npx convex deploy — the CLI refuses to mix cloud and self-hosted targets in the same project, so double-check which one your .env file points to. From there, schema changes, new functions, and scheduled jobs deploy the same way they would against Convex Cloud, just against your own server instead of Convex's infrastructure.

Deploy Convex in about 5 minutes

Choose a server — we do the rest: install, configure and send you the credentials.