Should I use a VPS, VDS, or Oracle Cloud to host a Minecraft server?

Moving away from shared game panels to a Virtual Private Server (VPS), Virtual Dedicated Server (VDS), or cloud instance gives you root access and full control over your Minecraft environment. Choosing the right infrastructure depends on your budget, your comfort with Linux administration, and how much single-thread CPU performance your world needs.

Understanding VPS, VDS, and Cloud Instances

Unlike shared Minecraft hosts that sell plans by RAM and manage the server through a web panel, a VPS, VDS, or cloud instance gives you an empty operating system with root access. You are responsible for installing Java, configuring the firewall, and running the server process.

What to Look for in a Minecraft VPS or VDS

When comparing cloud hosting for Minecraft, focus on the hardware and network traits that directly affect game performance:

For example, providers in this category structure their offerings differently:

Running a Free 24/7 Server on Oracle Cloud

Many administrators look to Oracle Cloud Free Tier to run a persistent 24/7 Minecraft server without typical free-host limits like player queues, advertisements, or shutting down when empty.

Oracle Cloud's Always Free tier includes two distinct compute options (subject to regional capacity limits):

For Minecraft, the Arm-based Ampere A1 instance with 12 GB of RAM is the practical choice; the 1 GB AMD VMs are too small for modern versions. New accounts also receive a US$300 cloud credit valid for up to 30 days to test additional OCI services, and you have the option to switch to a Pay As You Go account to pay only for resources that exceed the monthly free limits.

Note that when using Oracle Cloud, you must open the required game ports in both the instance's Linux firewall and your Oracle Virtual Cloud Network (VCN) Security List or Network Security Group.

How to Set Up a Minecraft Java Server on a Linux VPS

Because you have full root access on a VPS or VDS, you can run vanilla software, plugin software (Paper, Purpur, Spigot), or mod loaders (Fabric, Quilt, Forge, NeoForge), as well as Bedrock Dedicated Server (currently version 1.26.66.1).

  1. Install the Correct Java Version: Match your Java package (such as OpenJDK for x86_64 or Arm64) to your Minecraft version using the official Mojang requirements:
    • Up to Minecraft 1.16.5: Java 8
    • Minecraft 1.17: Java 16
    • Minecraft 1.18 to 1.20.4: Java 17
    • Minecraft 1.20.5 and newer: Java 21
    • Newest releases (including Minecraft 26.3): Java 25
  2. Create a Dedicated User and Folder: Avoid running the game server as the root user. Create a standard Linux user, make a directory for your server files, and download your chosen server JAR (for example, vanilla 26.3, Paper 26.3, or Fabric loader 0.20.1).
  3. Accept the EULA: Before the server will start, create or edit eula.txt and set eula=true.
  4. Configure Networking: Open TCP port 25565 in your Linux firewall for Java Edition. If you run Bedrock Dedicated Server or use the Geyser and Floodgate plugins to let Bedrock players join a Java server, open UDP port 19132 (and 19133 for IPv6).
  5. Generate a Start Script: Launch the server inside a terminal multiplexer like tmux or screen, as a systemd service, or inside a container (using a Docker compose generator). Many Paper administrators use Aikar flags—a widely used set of G1GC JVM flags—which you can configure via a start script generator.
java -Xms4G -Xmx4G -jar server.jar nogui

Default Configuration in Minecraft 26.3

On your first startup, the server generates server.properties. In Minecraft 26.3, several important defaults apply out of the box:

view-distance=10
simulation-distance=10
max-players=20
online-mode=true
white-list=true
spawn-protection=16
pause-when-empty-seconds=60
difficulty=easy

Notice that white-list=true is enabled by default in 26.3, meaning you must add players to the whitelist or become an operator (permission levels 1 to 4 in ops.json) before non-listed players can connect. Also, pause-when-empty-seconds=60 pauses server ticking after the server has been empty for a minute, saving CPU cycles on your VPS or cloud instance. If your CPU struggles when many players explore, lowering simulation-distance and view-distance reduces the chunk workload. You can also place a 64x64 pixel server-icon.png in the main folder to customize how your server appears in the multiplayer list.

Tools for this

Questions

Can I install mods and plugins on a Minecraft VPS?

Yes. Because a VPS gives you root access to the operating system (including on providers like AccuWeb, Contabo, or Hetzner), you can upload any server JAR, install mod loaders like Fabric, Forge, NeoForge, or Quilt, or run plugin servers like Paper, Purpur, and Spigot.

Is a VPS good for Minecraft servers?

A VPS is good for administrators who want full control over Linux, custom firewall rules, or the ability to run multiple services (like a website, database, or Velocity proxy) on one machine. However, because Minecraft relies heavily on single-thread CPU speed, you should choose a VPS or VDS with fast CPU cores rather than slow, heavily shared virtual cores.

Is it cheaper to host a Minecraft server on a VPS than a shared game host?

A VPS can offer more RAM per dollar than managed shared game hosts, and options like the Oracle Cloud Always Free tier can run a server at no cost within monthly limits. The trade-off is that you do not get a pre-installed control panel or game-specific support, and you must allocate some of your VPS RAM to the operating system itself.

Should I use a VPS or a dedicated server for Minecraft?

A VPS or VDS is suitable for single servers, modded survival worlds with friends, and small-to-medium communities. A full bare-metal dedicated server is meant for large player counts or multi-server networks where you need guaranteed physical hardware without sharing any machine resources.

Related guides

See all →