Directus

Deploy Directus on a VPS in One Click

CMS & websitesDatabases & data storage

Real-time data platform that turns any SQL database into a headless CMS with instant REST/GraphQL API.

  • Ready in ~5 min
  • Free installation
  • We handle the setup
At a glance
Version
Latest (12.x)
Operating system
Ubuntu Server 24.04 LTS
Minimum RAM
2 GB
License
BSL-1.1
Addressing
IPv4, IPv6
GitHub
39,000
Deployment~5 min
VPS plans

Choose a VPS plan for Directus

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 Directus

Directus is an open-source data platform built for teams that need to expose an existing SQL database as REST and GraphQL APIs without redesigning the schema. Unlike CMSs that own the data model, it wraps PostgreSQL, MySQL, or another supported database in place and adds an admin app, role-based permissions, and real-time subscriptions on top — a fit for dev teams building internal tools, product catalogs, or a content backend for a Next.js or Astro frontend.

What sets it apart is that the database stays yours: no proprietary schema, no vendor lock-in, which is exactly why Directus self hosted deployments make sense for teams handling sensitive customer data. Running a dedicated vps for Directus also means the database, backups, and API rate limits stay under your control instead of sharing infrastructure with other tenants.

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

Directus features

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

Directus ships as a single Docker image, which keeps Directus installation predictable across environments — the same container used for a Directus vps docker setup locally also runs in production. Beyond the admin app, the platform bundles a full toolkit for building and automating data-driven applications.

01

Auto-generated REST & GraphQL API

Every collection in the connected database instantly gets typed REST and GraphQL endpoints, no manual API code required.

02

Data Studio admin app

A Vue.js-based interface for browsing, editing, and modeling data without writing raw SQL.

03

Flows automation engine

Visual, trigger-based workflows for webhooks, scheduled jobs, and data transformations.

04

Role-based access control

Field- and collection-level permissions per role, useful for separating editor and admin access.

05

Real-time subscriptions

WebSocket-based live updates on collections, useful for dashboards or collaborative tools.

06

File & asset management

Built-in image transformation plus support for local, S3, GCS, and Azure Blob storage.

07

Multi-database support

Works with PostgreSQL, MySQL, SQLite, MariaDB, MS SQL Server, CockroachDB, and OracleDB.

08

Extension SDK

Custom panels, endpoints, hooks, and interfaces written in TypeScript.

Requirements

Which server to run it on

Minimum requirements for Directus 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 Directus

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

Pick a plan with at least 2 GB RAM — that's Directus's own recommended minimum for a production container, well above the bare 512 MB floor.

Step 2
Pick the app

Select Directus in the catalog, and Leneex handles the full process to install Directus on vps — the Docker container, database, and required environment variables are provisioned automatically thanks to Directus one click install.

Step 3
Get your credentials

Open the provided URL once deployment finishes and complete the Studio's first-run onboarding screen to create your admin account, since Directus doesn't pre-create one on its own.

Why us

Why Host Directus on Leneex

Speed, protection and support you can rely on — on every plan, with no hidden limits.
Deployment speed
Directus normally needs a database, optional Redis cache, and correctly wired environment variables before the first API call works — one-click deployment skips that manual Docker Compose assembly and gets a working data platform running in minutes.
Free installation
Directus's own commercial license already asks smaller teams to pay only for infrastructure, not software — hosting Directus with €0 setup fees keeps the real cost limited to the server itself.
DDoS protection
Directus commonly serves as the public API layer behind a live website or app, so its REST/GraphQL endpoints are directly exposed to the internet and worth shielding from volumetric attacks.
Control and support
Directus supports seven different database engines and a TypeScript extension SDK, so root access, IPMI, and an API for server management matter when you need to install a custom Node module or tune a non-default database.
99.9% uptime with SLA compensation
Directus is usually the backend other apps and frontends depend on, so downtime there cascades into every connected site or tool — the uptime SLA and compensation policy limit that blast radius.
Flexible payment
Agencies running Directus as a headless CMS backend for multiple clients can pay by invoice as a legal entity or by card for smaller projects, matching how these engagements are typically billed.
What to choose

Directus: Self-Hosted vs Cloud — Which to Choose

Directus officially offers Directus Cloud, so the comparison is between two real products rather than a self-hosted application and an abstract SaaS offering.
Directus Cloud
Self-hosted on LeneexRecommended
Resources and limitsAPI requests and studio seats capped per tierDedicated VPS resources, no artificial request caps
Control and accessManaged environment, limited to the supported extension setRoot access, choice of database engine, custom TypeScript extensions
Feature limitsFree tier capped on studio users; paid tiers add seats and requests as billable add-onsFull BSL-licensed feature set, free for orgs under $5M in total finances
ScalingAutomatic within tier limits, with overage billing beyond thatManual — upgrade the VPS plan or add Redis/read replicas yourself
CostSubscription grows with seats, requests, and storage overagesFixed VPS price regardless of API traffic or user count (for orgs under the license threshold)
Who it fitsTeams wanting zero maintenance who accept usage caps and per-seat costsTeams with dev/DevOps capacity wanting full DB control and predictable pricing

For teams under the $5M revenue threshold covered by the BSL 1.1 license, self-hosting is effectively free software running on infrastructure you already pay for, while Directus Cloud adds per-seat and per-request costs on top of the same platform. Self-hosting on a VPS makes the most sense when you need a specific database engine, custom extensions, or pricing that doesn't move with API traffic.

Frequently Asked Questions about Directus on VPS

What people ask most about Directus and our servers.

  • Self-hosted Directus has no artificial seat cap like Directus Cloud's per-seat pricing, so the real limit is CPU/RAM under concurrent load rather than a user count.

  • Yes — Directus connects to an already-populated PostgreSQL, MySQL, or other supported database and detects the existing table structure, so there's no need to re-model your data into a proprietary schema.

  • The Docker container and its data volumes carry over unchanged; you just get more CPU/RAM for concurrent editors and API load, without reinstalling anything.

  • Leneex manages the VPS infrastructure, but bumping the Directus Docker image version stays on you; Directus ships breaking changes fairly often between minor releases, so review the changelog before you deploy Directus in one click again on a new version.

What's already configured

After the one-click deployment, Leneex brings up the official directus/directus Docker container on top of a connected database (typically PostgreSQL), with the required KEY, SECRET, and database connection variables already set — Directus won't start without them. The container is set to restart automatically on failure via Docker's restart policy, so there's no need to manage the process through systemd manually.

First login to Directus Studio

Directus doesn't pre-create an admin account in the database. On first access at your server's address, Studio shows an onboarding screen where you set the administrator's email and password yourself. Login details, or the relevant environment variables, are normally delivered in the Leneex account dashboard alongside the server info.

Working with data and automation

Directus doesn't generate its own database schema from scratch — it connects to an existing table structure, so the first practical step is usually creating the needed tables via a SQL client or directly from the Data Studio interface, which will offer to configure collections based on what it finds. For recurring tasks — webhook notifications, scheduled data syncs, or transformations — the built-in Flows module handles it visually, without writing code.

Deploy Directus in about 5 minutes

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