This server is completely gratuitous and powerful enough to run a Bedrock Server. Minecraft servers A similar amount of 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.
Complete your details and then click Start my free trial
Unless you opt to, you won’t be charged.
Next, we will create a virtual Machine to run the Server
Please fill in the following fields
Now, scroll down to the 'Image and shape' section. 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, we'll need to choose a virtual cloud network (VCN). If you have an existing VCN that has a public subnet, select it. If not, select 'Create a new virtual cloud network'. Then, choose 'Create a public subnet' and accept the default names. Finally, make sure that 'Assign a public IPv4 address' is selected (otherwise you couldn't connect to this server from the internet! ).
Now, we need to associate this VM with an "SSH key pair". 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. These keys can be thought of as unique identifiers that will allow you to securely log into your server. Click on 'Generate SSH Key Pair' to save your private keys and public keys to your local computer. Teen time We'll use these in just a bit to log in to the VM.
You will need your Private Key to log in later so don’t lose it.
Leave the default boot volume and click Create'.
Once you click 'Create,' you will be redirected directly to the VM details page. Your VM instance will now be in a PROVISIONING status.
After about 30-60 seconds, the state will switch from RUNNING to RUNNING. Find your public IP address and copy it.
Next, we need to open ports to allow players to access the server.
Then click 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.
If your on windows (most likely) you can simply use Powershell as your connecting program. Open Powershell and enter this: ssh -i (file path to your private key) ubuntu@(VM ip address)
BEFORE : Before doing this, ensure that you have researched how to protect your private keys file.
This is how it looks when you log into your vm successfully
Next, you will need to install multiple programs in order to get started.
Run these commands:
sudo apt-get install firewalld
These commands will install firewall access and screen to keep your server afloat after you restart it.
Next enter in powershell during you ssh session:
sudo firewall cmd --permanent -zone=public --addport=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
rm server.zip
If necessary visit https://www.minecraft.net/en-us/download/server/bedrock and check the latest download link and substitute it.
Then, execute these commands:
chmod +x./bedrock_server
This last command will launch your 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
You should now have a functioning bedrock server, with 1 gb ram, and 1 xenon core, good for atleast 20 players. You can do this for a Java server by following this link.
Log in to comment