Setting up Minecraft Mods on Oracle Cloud step by step has become one of the most cost-effective ways to run a modded server for you and your friends. Oracle’s always-free tier provides generous compute resources—4 OCPUs and 24GB of RAM—making it possible to host a fully functional modded Minecraft server at no cost. Whether you’re interested in running popular mod packs like Vault Hunters, SkyFactory, or custom mod compilations, this guide will walk you through every step of the process.
In my years of optimizing game server infrastructure, I’ve found that Minecraft mods on Oracle Cloud step by step represents the sweet spot between cost and performance. You get enterprise-grade infrastructure without enterprise pricing, and the flexibility to experiment with different modpacks without worrying about hosting bills.
Minecraft Mods On Oracle Cloud Step By Step: Creating Your Oracle Cloud Account
The first step in deploying Minecraft mods on Oracle Cloud step by step is establishing your free Oracle Cloud account. Navigate to Oracle Cloud’s Free Tier page and click “Start for Free.” You’ll need to fill in your personal information, verify your email address, and provide a phone number for verification. Oracle requires a credit card for identity verification, but they won’t charge you unless you explicitly upgrade to a paid account.
When setting up your account, choose a home region closest to where most of your players are located. Region selection matters because it affects latency and resource availability. Some regions occasionally experience capacity issues with the always-free tier. If you encounter capacity errors during instance creation, simply try a different region. This flexibility is one of the advantages of Minecraft mods on Oracle Cloud step by step—you’re not locked into a specific data center.
Minecraft Mods On Oracle Cloud Step By Step: Setting Up Your Oracle VM Instance
Once your account is active, log into the Oracle Cloud dashboard and click “Create a VM instance.” This launches the instance creation wizard where you’ll configure your server specifications. Name your instance something descriptive like “MinecraftModServer” for easy identification later.
Configuring Instance Specifications
The critical step for Minecraft mods on Oracle Cloud step by step is selecting the correct shape. Click “Show Shape, Network and Storage Options” and ensure you select an “always free” eligible shape. Oracle offers 4 OCPUs and 24GB of RAM as part of their free tier, which is sufficient for hosting a modded Minecraft server with 10-20 concurrent players depending on your mod pack.
Configure these essential settings:
- OCPUs: Set to 4
- Memory: Set to 24 GB
- Image: Ubuntu 22.04 (or latest available)
- Storage: Use default free tier allocation
- Network: Assign public IPv4 address (required for players to connect)
- SSH Key: Generate and save both public and private keys securely
Save your private key file to a secure location on your computer. You’ll need this later to SSH into your server. Click “Create” and wait for the instance to finish provisioning, which typically takes 1-3 minutes.
Minecraft Mods On Oracle Cloud Step By Step – Configuring Firewall and Ports for Minecraft Mods
Configuring your firewall correctly is essential for making Minecraft mods on Oracle Cloud step by step accessible to players. In the Oracle Cloud console, navigate to your Virtual Cloud Network (VCN) and find the security list associated with your instance. You need to open specific ports to allow player connections.
Required Port Configurations
For standard Minecraft modded servers, add these ingress rules to your security list:
- Port 25565 (TCP/UDP): Standard Minecraft Java Edition port
- Port 22 (TCP): SSH for server management (restrict to limit=”true” for security)
- Port 8443 (TCP): Optional, for server management panels like Pterodactyl or Crafty
The exact port configuration for Minecraft mods on Oracle Cloud step by step depends on your specific mod pack and any server software you’re running. If you’re using Forge, the standard port 25565 works fine. Some mod packs may require additional ports for specific plugins or features, so check your mod documentation.
In the Oracle console, click “Add Ingress Rule” for each port. Set the source as “0.0.0.0/0” to allow connections from anywhere (necessary for internet players). After adding all required rules, click “Save Changes.” It may take a few moments for firewall rules to propagate across Oracle’s infrastructure.
Installing Java and Environment Setup
Before deploying Minecraft mods on Oracle Cloud step by step, you need to install Java and set up your environment. SSH into your instance first using your private key. On Windows, you can use PuTTY; on Mac or Linux, use the terminal with this command:
ssh -i "/path/to/private/key.pem" ubuntu@YOUR_PUBLIC_IP
Replace “/path/to/private/key.pem” with your actual key file location and YOUR_PUBLIC_IP with your instance’s public IP address from the Oracle console.
Updating System Packages
Once connected, update your system packages to ensure security patches and latest dependencies:
sudo apt-get update
sudo apt-get upgrade -y
This process may take 2-5 minutes. After completion, install Java Development Kit (JDK), which is required to run Minecraft servers with mods:
sudo apt-get install openjdk-21-jdk-headless -y
Verify your Java installation:
java -version
The output should display your installed Java version. Java 21 or later is recommended for modern Minecraft mods on Oracle Cloud step by step, though Java 17 also works for most mod packs.
Installing Minecraft Forge on Oracle Cloud
Minecraft Forge is the foundation for running mods on Minecraft mods on Oracle Cloud step by step. Create a dedicated directory for your server and download Forge:
mkdir ~/MinecraftServer
cd ~/MinecraftServer
Download the Forge installer appropriate for your desired Minecraft version. Visit the official Forge website and copy the installer download link for your target version:
wget https://maven.minecraftforge.net/net/minecraftforge/forge/VERSION/forge-VERSION-installer.jar
Replace VERSION with your specific Minecraft version (e.g., 1.20.1). Run the Forge installer:
java -jar forge-VERSION-installer.jar nogui
Accepting the EULA
After Forge installs, you must accept Minecraft’s End User License Agreement. Edit the eula.txt file:
nano eula.txt
Change “eula=false” to “eula=true” and save the file (Ctrl+X, then Y, then Enter). This acceptance is mandatory for running Minecraft mods on Oracle Cloud step by step.
Deploying Mods on Oracle Cloud Step by Step
With Forge installed, you can now add mods. Create a “mods” folder in your server directory:
mkdir mods
Download your desired mod JAR files from CurseForge, Modrinth, or other mod repositories. Ensure all mods are compatible with your Minecraft version and Forge version. For Minecraft mods on Oracle Cloud step by step, compatibility checking prevents server crashes.
Uploading Mods to Your Server
Use an SFTP client like FileZilla to upload mod files to your Oracle instance. Connect using:
- Host: sftp://YOUR_PUBLIC_IP
- Username: ubuntu
- Password: Leave blank (uses SSH key authentication)
- Port: 22
Navigate to the “mods” folder and drag-and-drop your downloaded mod files. The upload speed depends on your internet connection, but typically completes within minutes for standard mod packs.
Alternatively, download mods directly on your Oracle instance using wget:
cd ~/MinecraftServer/mods
wget "YOUR_MOD_DOWNLOAD_URL"
Optimizing Performance and RAM Allocation
For Minecraft mods on Oracle Cloud step by step, RAM allocation significantly impacts server performance. Create a startup script that optimizes Java memory usage:
nano start.sh
Add this content, adjusting the RAM allocation based on your needs:
#!/bin/bash
java -Xmx20G -Xms20G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+UnlinkUnusedCyclies
-XX:G1NewCollectionHaloSize=32M -XX:G1MaxNewGenPercent=30 -XX:InitiatingHeapOccupancyPercent=35
-XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -Dusing_aikars_flags=true
-jar forge-VERSION-universal.jar nogui
Set the -Xmx value to 20G to leave 4GB for the operating system, preventing resource exhaustion. Save the file and make it executable:
chmod +x start.sh
The G1 garbage collector settings optimize memory management for Minecraft mods on Oracle Cloud step by Step, reducing lag spikes caused by garbage collection pauses. These “Aikars flags” are widely recommended in the Minecraft server community.
Monitoring Resource Usage
While your modded server runs, monitor resource usage with:
watch -n 1 'free -h && echo && ps aux | grep java'
This displays available memory and Java process information every second, helping you identify performance bottlenecks.
<h2 id="troubleshooting-minecraft-mods”>Troubleshooting Common Issues
When running Minecraft mods on Oracle Cloud step by step, you may encounter several common problems. Out-of-memory errors are the most frequent issue—if your server crashes with “OutOfMemoryError,” increase the -Xmx value in your startup script. Reduce player count or mods if maximum RAM allocation still causes issues.
Mod Compatibility Problems
Mod conflicts occur when two mods modify the same game systems. Check your server logs for errors:
tail -f logs/latest.log
Remove recently added mods one at a time to isolate the problematic mod. Always test Minecraft mods on Oracle Cloud step by step with a small subset of mods before adding your complete mod pack.
Network and Connection Issues
If players can’t connect to your server, verify firewall rules are correctly configured and propagated. Test connectivity from your local machine:
telnet YOUR_PUBLIC_IP 25565
If the connection fails, check Oracle’s security lists again. Sometimes rules take 30 seconds to activate. Verify your instance has a public IP address assigned in the Oracle console.
Security Hardening for Your Server
Before running Minecraft mods on Oracle Cloud step by step in production, implement security best practices. Restrict SSH access by adding a firewall rule that limits port 22 connections to your IP address only. This prevents brute-force attacks on your server.
SSH Key Management
Never share your private key file. Store it in a secure location on your computer (not publicly accessible). Consider storing backups in encrypted password managers. If your key is compromised, regenerate it immediately through the Oracle console.
Regular Backups
Implement automated backups of your world data and configuration files. Create a backup script that runs daily:
#!/bin/bash
tar -czf ~/backup-$(date +%Y%m%d).tar.gz ~/MinecraftServer/
Schedule this with cron to run automatically, ensuring your progress on Minecraft mods on Oracle Cloud step by step is never lost to hardware failures.
Key Takeaways for Success
Running Minecraft mods on Oracle Cloud step by step requires careful attention to Java configuration, firewall rules, and resource management. Start with a smaller mod pack (5-10 mods) to ensure stability before scaling to larger compilations. Monitor your server logs regularly to catch issues early. The combination of Oracle’s free tier and proper optimization makes it possible to host a high-quality modded server indefinitely at zero cost.
Your success with Minecraft mods on Oracle Cloud step by step depends on patience during setup and willingness to troubleshoot. The community is active and supportive—don’t hesitate to consult forums or documentation when issues arise. With this comprehensive guide, you have everything needed to run a thriving modded Minecraft server on enterprise infrastructure without enterprise costs.