Application hosting

Hosting Dify

Dify is a self-hosted platform for building and operating applications that use language models. Its Docker Compose quick start documents minimum host sizing of 2 CPU cores and 4 GiB RAM, with Docker and Compose prerequisites on Linux. The standard Compose setup starts a multi-container stack, including PostgreSQL, Redis, Weaviate, and sandbox services; model inference capacity depends on the separately selected model provider or inference runtime.

Min vCPU
2
Min memory
4 GiB
Min storage
Depends on workload

Must have

Hard prerequisites

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.

Recommended

Documented guidance

No further general recommendations are published for this version.

Published starting requirements

The minimum comes from the official quick start. The Compose stack runs multiple application and supporting containers; production capacity depends on usage, enabled components, retained files and whether inference is local or remote. Dify itself does not establish that a host can run a chosen model.

We only compare what providers publish. A RAM figure alone can't confirm compatibility or production capacity.

Deploy with

Supported paths

  • Docker Compose on Linux
  • Docker Compose through Docker Desktop on macOS or Windows with WSL 2

The host must provide

Runtime

Container runtime
Docker 19.03+ for Linux, with Docker Compose 2.24.0+
Supporting services
The official Compose stack includes PostgreSQL, Redis, Weaviate, sandbox, proxy, worker and Dify application containers
Model endpoint
Choose a model provider or separately operated inference backend; sizing for that backend is outside the Dify host minimum

Storage

Persistent data

The Compose deployment uses persistent volumes for databases and application data. The official quick start does not state a universal disk minimum. Plan storage from retained uploads, knowledge-base documents, database growth, logs and backups; do not treat the 4 GiB RAM minimum as a disk recommendation.

Step by step

Plan a Dify self-hosted deployment

  1. Check the baseline host

    For the documented Linux Compose path, confirm at least 2 CPU cores and 4 GiB RAM, then install Docker and Compose at the documented versions. Treat this as a minimum starting point only.

    Official instructions
  2. Review the Compose stack

    The quick start starts multiple core and supporting containers. Review the supplied environment configuration and decide which storage, database, and service settings your deployment needs.

    Official instructions
  3. Choose the inference path

    Connect Dify to a model endpoint and size that endpoint independently. The minimum Dify host requirements do not prove that local inference will fit or perform well.

    Official instructions

Security

Before you go public

  • Set deployment secrets and provider credentials through protected environment configuration; do not commit populated secrets.
  • Review the official SSRF proxy and sandbox components before exposing the installation publicly.
  • Back up persistent database and uploaded-file volumes, and restrict access to the administration and installation routes.

Cost

Beyond the server price

  • The documented host minimum is not a published hosting price or production sizing recommendation.
  • Budget separately for the Dify host, persistent storage, backups, and any paid external model API or inference hardware.
  • The published Compose stack has several services; no single-container resource estimate is implied.

Matching plans

Plans with published evidence

Akamai Linode

Linode 32 GB (Shared CPU)

8vCPU
32 GBRAM
640 GBStorage
16 TBTransfer
  • Shared CPU
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.
Akamai Linode

Linode 64 GB (Shared CPU)

16vCPU
64 GBRAM
1,280 GBStorage
20 TBTransfer
  • Shared CPU
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.
Akamai Linode

Linode 8 GB (Shared CPU)

4vCPU
8 GBRAM
160 GBStorage
5 TBTransfer
  • Shared CPU
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.
Akamai Linode

Linode 96 GB (Shared CPU)

20vCPU
96 GBRAM
1,920 GBStorage
20 TBTransfer
  • Shared CPU
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.
Akamai Linode

Linode High Memory 150 GB

8vCPU
150 GBRAM
200 GBStorage
8 TBTransfer
  • Dedicated CPU
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.
Akamai Linode

Linode High Memory 24 GB

2vCPU
24 GBRAM
20 GBStorage
5 TBTransfer
  • Dedicated CPU
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.
Akamai Linode

Linode High Memory 300 GB

16vCPU
300 GBRAM
340 GBStorage
9 TBTransfer
  • Dedicated CPU
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.
Akamai Linode

Linode High Memory 48 GB

2vCPU
48 GBRAM
40 GBStorage
6 TBTransfer
  • Dedicated CPU
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.
Akamai Linode

Linode High Memory 90 GB

4vCPU
90 GBRAM
90 GBStorage
7 TBTransfer
  • Dedicated CPU
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.
Akamai Linode

Linode Nanode 1 GB

1vCPU
1 GBRAM
25 GBStorage
1 TBTransfer
  • Shared CPU
  • SSD
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.
Akamai Linode

Linode Standard 2 GB

1vCPU
2 GBRAM
50 GBStorage
2 TBTransfer
  • Shared CPU
  • SSD
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.
Akamai Linode

Linode Standard 4 GB

2vCPU
4 GBRAM
80 GBStorage
4 TBTransfer
  • Shared CPU
  • SSD
Compatibility unclear from published plan data

Meeting documented runtime prerequisites does not prove production capacity. Traffic, workloads, software configuration, and shared host limits are not measured here.

  • The official Linux Docker Compose path lists a minimum of 2 CPU cores and 4 GiB RAM for the host. This is a documented minimum, not a production sizing guarantee.This prerequisite has no comparable published plan field.
  • Linux deployment requires Docker 19.03+ and Docker Compose 2.24.0+. The macOS Docker Desktop instructions call for a Docker VM with at least 2 vCPUs and 8 GiB memory.This prerequisite has no comparable published plan field.

Want the full monthly bill? Use the hosting cost calculator. It keeps unknown charges visible.