How To Create A Free Minecraft Bedrock Server


This server is completely gratuitous and powerful enough to run a Bedrock Server. minecraft 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 decide to, there won't any charges.



Next we need to create a virtual machine to run the Server



Fill in the required fields.



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 pre-set shape may not work with Ubuntu. To change the Image, simply switch the shape to one that does.



Next, we'll need to choose a virtual cloud network (VCN). If you already have a VCN with a public network, choose it. If you don't have one, click 'Create new virtual cloud network'. Next, choose Create A Public Subnet' and accept default names. Make sure you select 'Assign an IPv4 address public'. Otherwise, you won't be able to connect to this server via the internet. ).



Now we need the "SSH" key pair to be associated 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 on 'Generate SSH Key Pair' to save your private keys and public keys to your local computer. These keys will allow you to log into the VM in a few seconds.



Your Private Key will be used to log in later, so don't forget it.



Leave the default boot volume values and click Create'.



After clicking 'Create", you'll be redirected back to the VM details webpage. Your VM instance, once created, will be in a PROVISIONING mode.



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.



Click on Add Ingress Rules



To install the Minecraft software on our VM we must connect remotely to it. If you are unfamiliar with SSH, I recommend you read this article.



Powershell can be used to connect to Windows if you are using windows, which is most likely. Open Powershell. Type this: ssh --i (file path of your private key). ubuntu@[VM ip]



BEFORE: Before you do this, make sure to research how to protect your private key file. It won't work otherwise.



This is how it looks if you successfully log into your virtual machine



Next, install multiple programs to get started.



Run these commands:



sudo apt-get install firewalld



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



Next, you will need to enter powershell during the ssh session.



sudo firewall cmd --permanent



sudo firewall cmd --permanent -zone=public --addport=19132/udp



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 will start the server.



LD_LIBRARY_PATH=. ./bedrock_server



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



But if you close the terminal, your server will also stop. You'll need stop your server by closing the window or typing "stop" and then logging back in.



cd Bedrock



Enter.



then run this command again: 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.


Created: 14/08/2022 10:55:11
Page views: 85
CREATE NEW PAGE