About Me

How To Create A Free Minecraft Bedrock Server

This server is totally free and powerful enough for a BedrockServer. In comparison, a similar amount ram costs $5 per Month.

Follow this link to Oracle Cloud Services website https://www.oracle.com/cloud/sign-in.html?intcmp

Oracle Cloud Services

Click "Sign up"

3.

Sign up

Verify your email.

Finish entering you details, and and hit start my free trial

Unless you choose to, you won't be charged.

Next, we need to create an virtual machine to run our Server

Please fill out the fields as shown

Scroll down to the section 'Image and shape'. Make sure that "Canonical Ubuntu 20.04" is selected, then check that the shape is set to AMD VM.Standard.E2.1.Micro

Note: the shape preset may not support ubuntu, if so, simply switch the shape to the one shown and then change the Image.

Next, you'll need a virtual cloud network. If you already own a VCN with public subnets, you can choose that. If not, select 'Create a new virtual cloud network'. Minecraft servers Next, select "Create a Public Subnet" and accept the default names. Next, ensure that you have selected 'Assign A Public IPv4 Address'. Without this, you will not be able connect to this server over the internet. ).
Minecraft servers

Now we need an "SSH” key pair to associate with this VM. If you are familiar enough with the concept to be able to upload your public key, or if you already have one, you can choose 'Upload Public Key Files' to upload it. If this is your first time using SSH keys, these keys will allow you securely log in to the server. Click 'Generate SSH keys pair' to save your private key and public keys on your local machine. These keys will be used in a short time to log in the VM.

You will need your Private Key to log in later so don’t lose it.

Leave boot volume defaults and click 'Create'.

Click 'Create' to be redirected the VM details pages. Your VM instance is now in a PROVISIONING condition.

After 30-60 seconds, the state switches to RUNNING. Find your public IP address and copy it.

Next, we need to open ports to allow players to access the server.

Click on Add Ingress Rules

We need to connect to our VM remotely in order to install the Minecraft software. If you don't have any knowledge of SSH, I recommend reading up.

Powershell can be used to connect to Windows if you are using windows, which is most likely. Open Powershell and type this: powershell -i (filepath to your private keys) ubuntu@ (VM ip addresses)

BEFORE : Before doing this, ensure that you have researched how to protect your private keys file.

This is what it looks like when you succeed in logging into your vm

Next you'll want to install multiple programs to start.
Minecraft servers

These commands can be run:

sudo apat-get install firewalld

These commands will set up firewall access and screen to keep the server running after it is started.

Next, enter powershell during your ssh session

sudo firewall-cmd --permanent --zone=public --add-port=19132/tcp

sudo firewall cmd --permanent

sudo firewall cmd --reload

Then:

sudo su - Minecraft

mkdir Bedrock

wget https://minecraft.azureedge.net/bin-linux/bedrock-server-1.17.2.01.zip -O server.zip

unzip server.zip

rmserver.zip

If necessary visit https://www.minecraft.net/en-us/download/server/bedrock and check the latest download link and substitute it.

Then run these commands:

chmod +x./bedrock_server

This will start the server.

LD_LIBRARY_PATH=. ./bedrock_server

You can connect to your server now using the VM's IP and the standard Port, the name is irrelevant.

However, if you close your terminal, your server will stop. To stop your server, type "stop" or close your window, and then log in again (note: you'll need these commands again sudo su- Minecraft).

cd Bedrock

Type screen into the box and hit enter.

Next, run this command: LD_LIBRARY_PATH=. ./bedrock_server

Now you should have a working bedrock server with 1 GB RAM and 1 xenon Core, which can host at least 20 players. If you would like to do this for a java server use this link.