Guide – How To Start – Minecraft Java Game Server on Rocky 8 on Amazon

Settings and connection to Minecraft Java Game Server on Rocky 8

  1. In order for the VM to work correctly, you need to open TCP and UDP port 25565 in the instance Security Group
  1. For the connection to the server, you should know the IP address of the VM. 
  1. To start a server, you need to launch an instance through the AWS Control Panel.
  1. Run your client to play the Minecraft Java Edition.
  1. Click “Multiplayer” in the main menu.
  1. Click “Add Server”.
  1. In the window, in the Server Name field name the server as you like. In the Server Address field enter the IP address of the VM and click Done
  1. In the server list, select the previously added server (1) and click Join Server (2)

By using the server you agree to the EULA: Eula | Minecraft

Get your own Minecraft universe!

Manage server settings (optional)

  1. To manage the server manually, you should connect to a VM. 
  • Run PowerShell
  • Enter the command ssh -i “path to .pem file” rocky@VM_IP, where: 

“path to .pem file” is the path to the file from subparagraph a) of this paragraph

VM_IP is the IP address of your virtual machine.

  • Confirm connection
  1. To manage the server, you can use the commands described in the ‘Basic Usage’ tab following the link – Deploy Minecraft: Java Edition Game Servers
  1. In order to enter these commands, you must enter into the VM console:

$sudo su

$su mcserver

  1. Then go to the directory cd /home/mcserver
  1. Now you can enter special commands to control the server. By entering e.g.: $./mcserver dt

you can find out the state of the server

  1. Also, you can change your config using the command

$sudo vi /home/mcserver/serverfiles/server.properties

Website Built with WordPress.com.

Up ↑