Application hosting

Hosting Directus

Directus adds a content-management interface and API to a database. It is useful when editors need to manage structured content and developers need to use that content in an application.

Requirements last checked against the project's documentation.

A sensible first server for Directus is 2 vCPU, 4 GB RAM and 20 GB of storage. The cheapest listed plan that fits is OVHcloud VPS-1 (US) at $4.54/month.

Min vCPU
0.25
Min memory
0.5 GiB

Understand the setup

Find the software and services needed to run the application.

See requirements

Budget your resources

Plan memory, storage and CPU for the way you will use it.

Open resource planner

Build your shortlist

Compare plans for the starting size, then review the provider and billing terms.

See plans

Must have

Installation requirements

  • Container CPU allocation of at least 0.25 vCPU
  • At least 512 MB container memory

Recommended

Planning guidance

  • Start with 2 vCPU, 4 GB RAM and 20 GB storage.Resize after watching real memory and CPU use under your own traffic.
  • Use the resource planner to size for your user count.

Minimum installation resources

These are Directus container resources, not whole-server capacity. The same guide recommends 2 × 1 vCPU and 2 GB containers as a starting point; database and uploads need more.

Where to start

A sensible first server for Directus

vCPU
2
RAM
4 GB
Disk
20 GB

Directus recommends two containers of 1 vCPU and 2 GB each as a starting point for production; this adds up to 2 vCPU and 4 GB. The database needs separate room.

Directus self-hosted · Size it for your workload

Our shortlist

Cheapest plans that meet this size

  1. OVHcloud Lowest price

    OVHcloud VPS-1 (US)

    • 2 vCPU
    • 4 GB RAM
    • 40 GB NVMe SSD
    $4.54/mo list price
  2. VPSDime

    Linux4GB

    • 2 vCPU
    • 4 GB RAM
    • 20 GB SSD
    $5.00/mo list price
  3. Hivelocity

    Hivelocity pro.sm.amd

    • 2 vCPU
    • 4 GB RAM
    • 40 GB NVMe SSD
    $10.00/mo list price
  4. Hostinger

    Hostinger KVM 2 VPS

    • 2 vCPU
    • 8 GB RAM
    • 100 GB NVMe SSD
    $14.99/mo list price
  5. DreamHost

    Stack 4

    • 2 vCPU
    • 4 GB RAM
    • 75 GB NVMe SSD
    $15.99/mo list price
  6. Liquid Web

    Self-managed VPS — 4 GB

    • 2 vCPU
    • 4 GB RAM
    • 80 GB SSD
    $17.00/mo list price
  7. Namecheap

    Quasar

    • 4 vCPU
    • 6 GB RAM
    • 120 GB SSD RAID 10
    $18.88/mo list price
  8. Hostwinds

    Unmanaged Linux VPS 4 GB

    • 2 vCPU
    • 4 GB RAM
    • 75 GB SSD
    $18.99/mo list price

One cheapest plan per provider, based on each provider's standard list price. Check the plan page for introductory and renewal pricing before you buy.

Deploy with

Supported paths

  • Official Docker image with Docker Compose

The host must provide

Runtime

Database
Supported PostgreSQL, MySQL, SQLite or other listed LTS database
Secret
Unique SECRET environment value for token signing

Storage

Persistent data

Persist the database and uploaded files outside the container. Extensions and templates also need persistent volumes when used.

Step by step

Directus deployment outline

  1. Choose a pinned image and database

    Follow the Docker guide and select a supported database version for the Directus release.

    Official instructions
  2. Persist state

    Mount the database, uploads and extension directories as required by your configuration.

    Official instructions
  3. Secure the public endpoint

    Set a unique signing secret, use HTTPS and replace bootstrap administrator credentials.

    Official instructions

Security

Before you go public

  • Set a unique SECRET and protect bootstrap admin credentials.
  • Use HTTPS and keep the pinned image updated.
  • Back up database and uploads together.

Cost

Beyond the server price

  • Budget for database, uploads and backups in addition to the Directus container.
  • The documented minimum is unsuitable as a production capacity guarantee.

Want the full monthly bill? Use the hosting cost calculator. Add storage, backups and other costs to your estimate.