Minecraft server: run it on a VPS, from RAM to backups

13 min read

Wayhost visual on a navy blue background with the title “Minecraft server: run it on a VPS, from RAM to backups” and a virtual server icon

Specialized host or VPS, Java or Bedrock, RAM and CPU for your number of players, step-by-step installation on Linux, mods and plugins, backups and security: everything you need to launch a Minecraft server available day and night.

By Mouhamed BANKOLE, CEO at ITNET Technologies · Updated November 19, 2026 · Reading time: 11 min

You want a Minecraft server for your friends, your family or a small community, available day and night, without leaving your PC switched on. You have two options: a turnkey Minecraft server host, or a VPS that you manage yourself. The right choice depends on the number of players, the mods and how much time you want to spend on it. This guide on Minecraft server hosting helps you size RAM and CPU, choose between Java and Bedrock, then install, back up and secure your server step by step.

In short

  • A specialized Minecraft server host is the simplest option, a VPS is more flexible and can serve other projects too; a home PC is best kept for testing.
  • Plan 2 to 3 GB of RAM for a few players on a new world, much more with mods, plugins or a large world.
  • The Java 26.x server requires Java 25; the official Bedrock server only runs on Windows or Ubuntu.
  • Installing on a Linux VPS takes about half an hour: Java, the official server file, the EULA, a service that restarts on its own and a firewall.
  • Back up before every update: a world converted to a newer version cannot go back.

Contents

  1. Specialized host, VPS or home PC: which should you choose?
  2. Java or Bedrock: which Minecraft server should you install?
  3. How much RAM and CPU does a Minecraft server need?
  4. Which VPS should you choose for your number of players?
  5. How do you install a Minecraft Java server on a Linux VPS?
  6. How do you install a Minecraft Bedrock server?
  7. How do you run a modded Minecraft server or one with plugins?
  8. How do you back up and update your Minecraft server?
  9. How do you secure your server and give players a simple address?

Specialized host, VPS or home PC: which should you choose?

Choose a specialized host if you do not want to manage anything, a VPS if you want to keep control and costs down, and your own PC only for testing. All three run the same server software; they differ in effort and flexibility.

CriterionHome PCSpecialized Minecraft hostVPSDedicated server
Available 24/7Only if the PC stays onYesYesYes
InstallationDo it yourselfAutomatic, one clickDo it yourselfDo it yourself
Mods and pluginsFree choiceDepends on the panel offeredFree choiceFree choice
Other possible usesYesNo, Minecraft onlyYes (website, bot, VPN…)Yes
Skills requiredLowVery lowBasic LinuxAdvanced Linux
Target community sizeA few friendsSmall to mediumSmall to mediumLarge, several servers

In practice:

  • a specialized host gives you a ready-to-use panel, but locks you into its plans and only serves games;
  • a VPS lets you install anything, including a website, a Discord bot or a web map of the world, on the same machine;
  • a dedicated server becomes worthwhile when you run several game servers or a large community;
  • a home PC exposes your personal IP address and stops as soon as you turn it off.

If VPS hosting is new to you, our guide What is a VPS? explains how it works.

Java or Bedrock: which Minecraft server should you install?

Install a Java server if your players are on PC and want mods or plugins, and a Bedrock server if they play on consoles, mobile or the Bedrock version for Windows. The two editions do not connect to each other natively.

CriterionJava EditionBedrock Edition
PlayersPC (Windows, macOS, Linux)Consoles, mobile, Windows
Official server software.jar file, cross-platformBedrock Dedicated Server
Server operating systemsAny system with JavaWindows 10/Server 2016 or Ubuntu 22.04 and later
Mods and pluginsVery many (Paper, Fabric, NeoForge)Limited (add-ons)
Software prerequisiteJava 25 for 26.x versionsNo runtime to install

This information comes from the official download pages of the Java server and the Bedrock server, and, for the Java version, from Mineserv's guide to updating to 26.x, which follows the Paper documentation.

As for versions, Minecraft Java changed its numbering in 2026: version 26.3 was released on September 15, 2026 and 26.4 is in testing, according to Spot.gg.

How much RAM and CPU does a Minecraft server need?

For a new world with default settings, plan 2 to 3 GB of RAM for up to 5 players and 6 to 8 GB for 5 to 8 players or more, according to the Minecraft wiki. These figures only cover the game server: add memory for the operating system.

Concurrent playersServer RAMCPUStorage
1 to 32 GBIntel Core or AMD K8 and above10 GB
3 to 53 GBIntel Core or AMD K8 and above18 GB
5 to 76 GBIntel Nehalem or AMD K10 and above25 GB
8 and more8 GBIntel Nehalem or AMD K10, 3.6 GHz and above35 GB

The same wiki states that these values assume a default view distance and a new world. Several factors push them up:

  • an old, heavily explored world, whose files and memory footprint grow;
  • redstone circuits and mob farms, which are CPU-hungry;
  • mods, which significantly raise hardware requirements according to Cherry Servers;
  • a high view distance, which multiplies the chunks loaded.

The official Bedrock server lists a minimum of 4 GB of RAM and an Intel Core i3 3210 or AMD A8 7600 class CPU on its download page.

Pro tip: Minecraft Java relies mostly on one core for world logic. For the same RAM, prefer a fast CPU over many slow cores, and lower the simulation distance before buying more memory.

Which VPS should you choose for your number of players?

For a few friends on a vanilla world, a VPS with 4 GB of RAM is enough; with mods or more than 8 players, aim for 8 to 16 GB. This estimate applies the wiki values above while keeping a margin for the system and backups.

Here are the Wayhost VPS plans (checked on November 19, 2026, prices excl. VAT per month with a one-year commitment) and the Minecraft use they reasonably allow:

PlanvCPURAMSSDPriceIndicative Minecraft use
KVM114 GB50 GB€6.23A few friends, vanilla
KVM228 GB100 GB€8.15Small community or a few plugins
KVM3416 GB200 GB€13.91Mod pack or several worlds
KVM4832 GB400 GB€28.31Several servers (network, mini-games)

On the same page, Wayhost lists full root access, a choice between Linux and Windows distributions, automatic backups or snapshots from the customer area and security groups to filter traffic (checked on November 19, 2026).

How do you install a Minecraft Java server on a Linux VPS?

Install Java, download the official server file, accept the EULA, then run the server as a service that restarts on its own. The official Java server page points out that a compatible version of Java must be installed and available from the command line.

Procedure on a recent Debian or Ubuntu VPS:

  1. Connect over SSH and update the system (sudo apt update && sudo apt upgrade).
  2. Create a dedicated user, for example minecraft, so the game never runs as root.
  3. Install Java 25 (your distribution's OpenJDK package or the Temurin distribution), then check with java -version.
  4. Download the server file from the official page into a dedicated folder, for example /opt/minecraft.
  5. Run it once with java -Xms2G -Xmx3G -jar server.jar nogui: it creates its files and then stops.
  6. Accept the EULA by setting eula=true in the eula.txt file, as explained in the Minecraft wiki tutorial.
  7. Adjust server.properties: world name, game mode, maximum number of players, view distance.
  8. Create a systemd service so the server starts at boot and restarts after a crash.
  9. Open the game port in the firewall (25565 over TCP by default for Java) and test the connection from your client.

A few useful settings from the start:

  • -Xmx below total RAM: leave at least 1 GB for the system;
  • view-distance at 8 or 10 to limit the load;
  • max-players at the real size of your community;
  • a detachable console (screen or tmux) if you do not use systemd.

How do you install a Minecraft Bedrock server?

Download the Bedrock Dedicated Server from the official page, extract it on an Ubuntu 22.04 or later server (or Windows), then run the executable provided. The Minecraft Bedrock page states that other Linux distributions are not supported.

Main steps:

  1. Choose Ubuntu 22.04 LTS or later when creating your VPS.
  2. Download the Linux archive of the Bedrock server and extract it into a dedicated folder.
  3. Adjust server.properties (name, mode, difficulty, number of players) and the allow list.
  4. Start the server with LD_LIBRARY_PATH=. ./bedrock_server, then turn it into a systemd service.
  5. Open over UDP the port set in server.properties and share the IP address and port with your players.

The Bedrock server does not require Java, but it allows much less customization than a Java server.

How do you run a modded Minecraft server or one with plugins?

For server-side plugins, install Paper; for mods that change the game, install Fabric or NeoForge and the same pack on every player's side. The choice depends on what you want to change.

SoftwareTypePlayer sideTypical use
Vanilla (official)Reference serverNothing to installSurvival with friends
PaperPluginsNothing to installProtection, economy, mini-games, performance
FabricModsSame mod pack requiredLight mods, optimization
NeoForgeModsSame mod pack requiredLarge mod packs

Good practices for a modded server:

  • check the compatibility of each mod or plugin with your exact game version;
  • add mods one at a time and restart each time to isolate a crash;
  • increase RAM gradually and monitor real usage before moving to a bigger plan;
  • keep a copy of the pack on the server to share it with players.

How do you back up and update your Minecraft server?

Back up the world folder automatically every day and make a full copy before every update, because a world converted to a newer version cannot go back. Mineserv's guide points out that a world moved to 26.x can no longer be opened in 1.21 without restoring a backup.

A simple routine:

  • stop the server cleanly with the stop command before a full backup;
  • archive the world, the plugins or mods and the configuration files, not just the world folder;
  • keep a copy off the VPS, on another server or external storage;
  • test a restore into a separate folder from time to time;
  • update on a test server when you use many plugins or mods.

Pro tip: on top of your archives, take a VPS snapshot just before a major update. If it fails, rolling back takes a few minutes instead of an evening.

How do you secure your server and give players a simple address?

Enable the allow list, keep account authentication on, filter ports with a firewall and give your players a subdomain rather than an IP address. These settings stop most unwanted visits.

On the security side:

  • white-list=true to accept only the players you have added;
  • online-mode=true (the default on Java) to check that each player owns a legitimate account;
  • a firewall that only opens SSH and the game port;
  • SSH login with a key rather than a password;
  • regular updates of the system, Java and the server software.

On the address side, a domain name lets you announce mc.yourdomain.com instead of an IP. For a Java server, an SRV DNS record can even hide the port. If you would rather run the server on Windows, our article on Windows VPS covers that choice and its constraints.

Frequently asked questions

What is the best Minecraft server host?

There is no universal best host: it all depends on the number of players, the mods and how much you want to manage. A specialized host suits you if you want a turnkey panel. A VPS suits you if you want more freedom and to host other services on the same machine.

How much RAM for a Minecraft server with friends?

For 1 to 5 players on a new world, 2 to 3 GB of RAM dedicated to the server are enough according to the Minecraft wiki. Keep a margin for the system. A 4 GB VPS is therefore fine for a small vanilla group.

Can you host a Minecraft server on a VPS?

Yes, it is one of the most common uses of a VPS. You just install Java and the official server, accept the EULA and open the game port. The server stays available even when your computer is off.

Which Java version for a Minecraft server?

Minecraft Java 26.x versions require Java 25. Versions 1.20.5 to 1.21.x require Java 21. Check with the java -version command before starting the server.

Are a Java server and a Bedrock server compatible?

Not natively: a Bedrock player cannot join an official Java server. Community bridges exist, but they add a layer to maintain. Choose the edition that matches most of your players.

Do you need a dedicated server for Minecraft?

Not for most communities: a well-sized VPS is enough for a small or medium community. A dedicated server becomes useful for several servers in parallel or a very large community. Start small and scale up based on real usage.

How do you give your Minecraft server an easy-to-remember address?

Create a subdomain, for example mc.yourdomain.com, that points to your server's IP address. For a Java server, an SRV record also lets you use a non-standard port without sharing it. Players then only have a name to type.

Can a Minecraft server run on Windows?

Yes, the Java server runs on any system with Java, and the official Bedrock server supports Windows 10 or Windows Server 2016 and later. A Linux VPS is still lighter and cheaper for the same resources. Windows mainly makes sense if you do not know Linux.

Key takeaways

  • A specialized host makes everything simple, a VPS offers more freedom and serves other projects.
  • 2 to 3 GB of RAM are enough for a few players on a new world; mods change everything.
  • Java 26.x requires Java 25, and Bedrock officially only runs on Windows or Ubuntu.
  • Install the server as a service, with a dedicated user, a firewall and the allow list.
  • Back up before every update and keep a copy off the server.

To launch your Minecraft server on a machine with full root access, discover Wayhost VPS.

Article written by Mouhamed BANKOLE, CEO at ITNET Technologies.

Have a specific question?

Our step-by-step articles answer the most common questions.

Knowledge base