Blogging & newsletters

Ghost VPS requirements: RAM, CPU, disk, and why MySQL sets the size

By VPSfit · Sources checked · Ghost website · source code · MIT

Ghost is the open-source publishing platform for blogs, newsletters and paid memberships: one Node.js app on MySQL 8. The official minimum is a server with at least 1 GB of memory. Two independent tests published this autumn show where that memory goes: the Ghost process itself idles at roughly 130 to 220 MiB, while MySQL 8 at its defaults takes 410 to 570 MiB for an almost empty database. So one blog fits on 1 GB once MySQL is tuned, and the official Docker Compose setup (still a preview, but the official install from Ghost 7.0) is more comfortable on 2 GB. CPU matters less: one Ghost site is one Node.js process, and a cache in front does far more for traffic spikes than extra cores.

Sizing guide

Our recommendations, derived from the sourced figures below. Not measurements.

ScenarioRAMvCPUWhy
One blog with Ghost-CLI, MySQL tuned, no Docker1 GB1Ghost's official minimum. One published test idled at 301 MB and peaked at 615 MB under uncached load with the three-line MySQL tune. Add 1–2 GB of swap: installs and updates are where small servers run out of memory, and that test never ran ghost update on 1 GB. Note that Ghost-CLI is supported only through Ghost 6.x.
One blog or membership site with the official Docker setup2 GB1Ghost's Docker guide names a 2 GB / 1 CPU server as its example. In one test the Docker setup idled at about 700 MB and peaked at 1,268 MB under load, and on 1 GB it hit the memory limit over a thousand times. This is the setup that becomes official with Ghost 7.0. We haven't measured it ourselves yet.
Several Ghost sites, or self-hosted ActivityPub alongside Ghost4 GB2Our estimate, not a measurement: each extra Ghost-CLI site added about 235 MB idle and three busy sites peaked at 1,032 MB on 2 GB, using both cores. Separate sites are separate Node.js processes, so cores help here. Self-hosted ActivityPub adds its own containers and database; we found no published RAM figure for it.

Official requirements

ItemWhat the project saysSource
Supported stackUbuntu 22.04, 24.04 or 26.04, Node.js 22 or 24 (LTS), MySQL 8.0 or 8.4, NGINX, systemd, "a server with at least 1GB memory" and a non-root user for running ghost commands. Other stacks "are not officially supported"Ghost docs: Hosting Ghost
checked Nov 14, 2026
Database"MySQL 8 is the only supported database in production." Ghost strongly recommends migrating from MariaDB to MySQL 8, and from SQLite by reinstallingGhost docs: What databases are supported in production?
checked Nov 14, 2026
Docker install (preview)The ghost-docker Compose setup runs Ghost (ghost:6-alpine), MySQL 8.0.46 and Caddy, which takes ports 80 and 443 and gets the certificate. Prerequisites: "A Linux-based server (E.g. DigitalOcean 2GB/1CPU droplet)", Docker 20.10.13+, a domain and an SMTP service. It is the only way to self-host the analytics and ActivityPub servicesGhost docs: How to install Ghost with Docker (preview); TryGhost/ghost-docker compose.yml
checked Nov 14, 2026
Ghost-CLI installThe long-standing route: ghost install on Ubuntu with NGINX, MySQL and systemd, which sets up SSL with Let's Encrypt. Ghost-CLI installs use Ghost's hosted ActivityPub service and "are not compatible with web analytics"Ghost docs: How to install Ghost on Ubuntu
checked Nov 14, 2026
Ghost-CLI deprecationGhost's platform team, 18 Aug 2026: "The Ghost 6.x release line will be the last major version of Ghost that is usable with Ghost-CLI." From Ghost 7.0 ("not until 2027 at least") the Docker Compose setup becomes the official way to self-host, with multi-site support and a migration path. SQLite support is also being dropped in 7.0Ghost forum: Deprecating Ghost-CLI (& other platform updates)
checked Nov 14, 2026
EmailTransactional mail (logins, staff invites, password resets, member magic links) works with any SMTP service. Newsletters need a bulk mail API, and "Currently the only bulk mail API we support is Mailgun"; SMTP can't be used for them. If you don't email posts, you don't need MailgunGhost docs: Why do I have to set up Mailgun?
checked Nov 14, 2026
Social web and analyticsSelf-hosters can use Ghost(Pro)'s hosted ActivityPub service free up to 2,000 followers, 2,000 following and 100 interactions a day; beyond that, self-host it with Docker. Web analytics needs a Tinybird account (a cloud service), proxied by a local traffic-analytics containerGhost docs: Hosting Ghost; How to install Ghost with Docker
checked Nov 14, 2026
Scaling"The correct way to scale Ghost is by adding a CDN and caching layer in front of your Ghost instance. Clustering or sharding is not supported."Ghost docs: Hosting Ghost, Optimizing for scale
checked Nov 14, 2026
ArchitecturesThe official ghost image on Docker Hub is built for amd64 and arm64 (Debian and Alpine; arm/v7 for Debian too). The 6.77.0-alpine download is about 232 MB compressed for amd64Docker Hub: ghost (official image) tags
checked Nov 14, 2026
Current versionGhost 6.77.0, released 11 Nov 2026 UTC. Ghost ships minor releases about weekly (6.73.0 on 27 Oct to 6.77.0 on 11 Nov 2026)GitHub releases: TryGhost/Ghost
checked Nov 14, 2026

What people report in practice

Individual reports, not controlled tests. Versions, hardware and settings differ, so treat these as data points, not guarantees.

  • Ghost 6.71 with MySQL 8.0.46 via Ghost-CLI: 627 MB for the whole server at idle on 2 vCPU / 2 GB (MySQL 451 MiB, Ghost 219 MiB plus a 78 MiB supervisor), 537 MB on 1 vCPU / 1 GB, and 301 MB on 1 GB after setting performance_schema = OFF, innodb_buffer_pool_size = 64M and max_connections = 40. The official Docker setup idled at 705 MB on 2 GB, plus about 180 MiB of Docker daemons

    Test by a VPS host (RS Computers) on 18 Oct 2026, Ubuntu 24.04 containers on an AMD EPYC 7742, swap off, a blog with 30 posts. They sell VPS plans and say so

    Blog RS Computers: Ghost VPS vs Ghost(Pro), RAM tested · checked Nov 14, 2026

  • Under load in the same test: peak 615 MB on 1 GB (Ghost-CLI, MySQL tuned) and 806 MB on 2 GB; the Docker setup peaked at 1,268 MB on 2 GB, its Node.js process growing to 671 MiB against 356 MiB with Ghost-CLI. Docker on 1 vCPU / 1 GB peaked at 982 MB and hit the memory ceiling 1,017 times. Three Ghost-CLI sites on 2 GB idled at 798 MB, each extra site adding about 235 MB of RAM and 590 MB of disk

    Same RS Computers test, 18 Oct 2026; load from hey for 20 seconds per step

    Blog RS Computers: Ghost VPS vs Ghost(Pro), RAM tested · checked Nov 14, 2026

  • Ghost 6.74.0 (ghost:6-alpine) idled at 126.9 MiB of cgroup memory after owner setup and one published post; mysql:8.0 next to it held 567.4 MiB (435.0 MiB in docker stats). "MySQL is most of the RAM; size the guest for Ghost + MySQL together (~700 MiB idle here before OS)."

    Lab test by NodeRings (a server marketplace), published 5 Oct 2026; median of 20 samples, 30 s apart

    Blog NodeRings blog: Ghost on a VPS · checked Nov 14, 2026

  • "The fact that Ghost-CLI has to install all of Ghost's dependencies for every new version meant that it would regularly exceed available RAM on smaller VPSs." The same Ghost engineer puts the Docker daemon's own overhead at 50–100 MB

    Ghost platform team member, Ghost forum, 7 Oct 2026

    Forum Ghost forum: Deprecating Ghost-CLI (& other platform updates) · checked Nov 14, 2026

  • A long-time Ghost host: "in an idle state, they usually require between 170-230mb RAM. That is, however, without factoring in a necessary MySQL database, the proxy to the internet etc." Problems on smaller VPSs are "usually in connection to the installation or update process"

    Ghost forum, Dec 2023

    Forum Ghost forum: RAM requirements for backend with 0 users · checked Nov 14, 2026

  • A Ghost staff member: typical memory for reasonably sized sites is "~180-200MB", higher for very large sites; memory used by the image processor may not be returned to the OS with Ubuntu's default allocator, which jemalloc fixes. In a 2021 thread a single 1 GB Oracle VPS ran out of memory until the owner added swap

    Ghost forum threads from 2019 and 2021 (Ghost 2–4); older versions, but the jemalloc note is still cited

    Forum Ghost forum: Ghost memory consumption; Ghost ends up using all 1GB memory of my VPS · checked Nov 14, 2026

  • After migrating a site from Ghost-CLI to the Docker setup on the same 1 vCPU / 2 GB droplet, idle CPU went from about 1–2% to about 10%, and RAM use rose too. Tinybird analytics were on, ActivityPub used Ghost's hosted service

    Ghost forum, Aug 2025, Ghost 6.0

    Forum Ghost forum: Performance drop after switching from CLI to new Ghost 6.0 Docker installation · checked Nov 14, 2026

Our measurements: coming soon

We haven't measured Ghost yet, so there are no VPSfit lab numbers on this page. When we do, they'll show the app version, the plan it ran on, the date, and the raw data. Here's what we'll record:

  • Idle and 24-hour RAM of Ghost 6.x with Ghost-CLI on a 1 GB plan, MySQL at defaults and tuned
  • Whether ghost update completes on 1 GB with and without swap
  • Idle and peak RAM of the official Docker Compose setup on 1 GB and 2 GB, with and without the analytics and ActivityPub profiles
  • Uncached and cached requests per second on 1 and 2 vCPU

How we measure →

What drives Ghost's RAM use

MySQL 8, not Ghost, is most of the RAM

Both published tests found the Ghost process itself at roughly 130 to 220 MiB idle, and MySQL 8 at 410 to 570 MiB for a database of a few megabytes (RS Computers, NodeRings). MySQL's defaults assume a bigger server. On 1 GB, performance_schema = OFF, innodb_buffer_pool_size = 64M and max_connections = 40 took MySQL from 412 to 169 MiB with no measurable change in page speed in that test. Raise the buffer pool again once the database grows to hundreds of megabytes. MariaDB and SQLite aren't options for production (Ghost docs).

One Node.js process means one core, so cache instead

Ghost doesn't cluster; the docs say to scale with a CDN and caching layer (hosting docs). In the RS Computers test a second vCPU raised uncached home pages only from 18 to 25 a second, while a one-minute Nginx cache served 5,309 a second on 1 vCPU and 9,615 on 2. The burst after a newsletter goes out is the realistic spike; a cache (Nginx or a CDN in front) absorbs it. Signed-in members bypass the cache, so membership-heavy sites lean on Ghost more.

Docker adds a few hundred MB

The official Compose setup runs Caddy and MySQL in containers next to Ghost, plus the Docker daemon itself, which a Ghost engineer puts at 50 to 100 MB (Ghost forum). One test measured about 180 MiB of Docker daemons and a Node.js process that grew to 671 MiB under load, against 356 MiB with Ghost-CLI. Turning on the analytics or ActivityPub profiles adds more containers. That is why we size Docker installs at 2 GB.

Disk: images, media and two copies during updates

Ghost stores uploaded images, media and themes in its content folder and posts in MySQL, so disk grows with what you upload, not with readers. The software itself is small: about 232 MB compressed for the ghost:6-alpine image, 2.19 GB for all images in the Docker setup, about 590 MB per Ghost-CLI site in one test. Keep room for old images or versions during updates and for a local database dump before you copy it off the server. We haven't measured growth for an image-heavy site.

Gotchas on a VPS

  • Set up SMTP before anything else. Logins, staff invites, password resets and member magic links all need transactional mail (ghost-docker .env.example). Production Ghost also verifies new staff devices by email, so without SMTP even the owner can get "Failed to send email" at sign-in (NodeRings). Some VPS providers block outbound mail ports on new servers, so check your provider's policy and use your mail service's submission port.
  • Newsletters mean Mailgun. Ghost sends bulk newsletters only through Mailgun's API; SMTP is not supported for it (Ghost docs). That is a separate bill that grows with your list, not with your VPS; check Mailgun's current pricing before you plan on it. If you don't email posts, skip it.
  • Ghost-CLI ends with Ghost 6.x. Ghost 7.0 makes Docker Compose the only official install; Ghost-CLI gets only urgent security fixes after that, with a documented migration path promised (Ghost forum). Ghost-CLI is still fine on a 1 GB server today, but for a new site on 2 GB starting with Docker saves a migration later.
  • Caddy wants ports 80 and 443. The official Compose file publishes Caddy on 80 and 443 (compose.yml). On a server that already runs a reverse proxy, or under Coolify, change HTTP_PORT and HTTPS_PORT in .env or proxy to Ghost yourself, and never publish Ghost's 2368 or MySQL's 3306 on the public interface.
  • Don't change the database variables later. In the Docker setup the DATABASE_* values in .env "must not be changed once the database has been initialised"; changing them breaks the connection (Docker docs). Generate both passwords with openssl rand -hex 32 on day one.
  • Back up the database and content folder, not just an export. The Ghost Admin export doesn't include comments, member activity history or media files. For a real restore, dump MySQL with mysqldump and archive the content folder (backup docs), then copy both off the server. We haven't tested a restore ourselves yet.

Cheapest plans that fit

Ghost, one blog, Ghost-CLI with tuned MySQL: 1 GB RAM and 1+ vCPU

Threshold: Official minimum 1 GB; one published test idled at 301 MB and peaked at 615 MB with MySQL tuned. Add swap for updates. Not yet measured by us (source). Only plans with at least 1 vCPU are listed.

Provider & planRAMvCPUDisk Price / monthTermsSource
Contabo Cloud VPS 4 8 GB 4 shared 100 GB SSD €4.40
excl. VAT · ≈ $4.93
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Vultr Cloud Compute Regular 1 GB 1 GB 1 shared, previous-gen Intel 25 GB SSD $5.00
before tax
Monthly price, hourly billing vultr.com
checked Nov 12, 2026
DigitalOcean Basic 1 GiB 1 GB 1 shared 25 GB SSD $6.00
before tax
Monthly cap, per-second billing digitalocean.com
checked Nov 12, 2026
Hetzner CPX02 (Regular Performance) 1 GB 1 shared, AMD 20 GB NVMe €5.49
excl. VAT · ≈ $6.16
Monthly cap, hourly billing hetzner.com
checked Nov 12, 2026

Ghost with the official Docker Compose setup (Ghost, MySQL, Caddy): 2 GB RAM and 1+ vCPU

Threshold: Ghost's Docker guide example is a 2 GB / 1 CPU server; one test peaked at 1,268 MB on 2 GB (source). Only plans with at least 1 vCPU are listed.

Provider & planRAMvCPUDisk Price / monthTermsSource
Contabo Cloud VPS 4 8 GB 4 shared 100 GB SSD €4.40
excl. VAT · ≈ $4.93
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Contabo Cloud VPS 6 12 GB 6 shared 200 GB SSD (or 100 GB NVMe) €6.00
excl. VAT · ≈ $6.73
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Vultr Cloud Compute Regular 2 GB 2 GB 1 shared, previous-gen Intel 55 GB SSD $10.00
before tax
Monthly price, hourly billing vultr.com
checked Nov 12, 2026
Hostinger KVM 1 4 GB 1 AMD EPYC 50 GB NVMe $11.99
intro $6.49
before tax
Prepaid intro rate; renews at $11.99/mo hostinger.com
checked Nov 12, 2026

Several Ghost sites, or Ghost with self-hosted ActivityPub: 4 GB RAM and 2+ vCPU

Threshold: Our estimate, not a measurement: about 235 MB idle per extra site, and three busy sites used both cores of a 2 vCPU server (source). Only plans with at least 2 vCPUs are listed.

Provider & planRAMvCPUDisk Price / monthTermsSource
Contabo Cloud VPS 4 8 GB 4 shared 100 GB SSD €4.40
excl. VAT · ≈ $4.93
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Contabo Cloud VPS 6 12 GB 6 shared 200 GB SSD (or 100 GB NVMe) €6.00
excl. VAT · ≈ $6.73
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Contabo Cloud VPS 8 24 GB 8 shared 300 GB SSD (or 150 GB NVMe) €11.20
excl. VAT · ≈ $12.56
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Hostinger KVM 2 8 GB 2 AMD EPYC 100 GB NVMe $14.99
intro $8.79
before tax
Prepaid intro rate; renews at $14.99/mo hostinger.com
checked Nov 12, 2026

Prices checked Nov 12, 2026 on each provider's official pricing page. EUR prices converted at the ECB rate of Nov 11, 2026 (1 € = $1.1127) only for ranking. See every plan on the cheapest 2 GB, 4 GB and 8 GB VPS pages.