Connection to Minecraft Bedrock Game Server on AlmaLinux OS 8
After purchasing and starting the VM, you should open port 19132 (UDP) in the network properties in the Amazon firewall. To connect to the server, you should know its IP address. You can find it in Amazon’s personal account.
- To start the server, you just need to start the VM.
- Run your client to play the Minecraft Bedrock Edition.
- Click “Play” in the main menu.
- Go to the “Servers” tab and click “Add Server”.
- 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 “Play”. The “Port” field leaves with no changes.
Click ‘Play’ and get your own Minecraft Universe!
Server settings management (optional)
To connect to the Server, you should generate a “Private Key” in advance. This can be done using the following instructions (by choosing the “file format:” option “.ppk” in point 3) Guide – How To – Create and use Key Pair to connect to a VM
- Connecting to the VM using the PuTTY application. You can download it at the following link – Download
- Go to section SSH on the left panel, and then to Auth
- In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.
- Go to the home page of “Session”, enter the IP address of the VM, and click “Open”.
- In the opened console, you will need to enter the login ec2-user
2. To manage the server, you can use the commands described in the “Basic usage” tab following the link – Deploy Minecraft: Bedrock Edition Game Servers
3. To enter these commands, you must enter:
$ sudo su
$ su mcbserver
into the VM console.
4. Then change the directory: cd /home/mcbserver
5. Now you can enter special commands to control the server. By entering e.g.:
$ ./mcbserver details you can find out the state of the server.
$ ./mcbserver start you can start the server.
6. Also, you can change your config using the command:
$sudo nano /home/mcbserver/serverfiles/server.properties
Now you can enjoy playing on your Minecraft server.