![]() ![]() Looking at the ExecStart line, you'll see that we're redirecting output from the running process to a custom log file. WorkingDirectory=/home/ubuntu/Tech/minecraft/serverĮxecStart=/bin/bash -c "LD_LIBRARY_PATH=./bedrock_server 2>&1 | grep -line-buffered -v AutoCompaction | tee -a. The file should have the following contents: First create a unit file: sudo vi /etc/systemd/system/rvice Next we'll set up Minecraft as a persistent service using the systemd daemon. Changed the following settings in server.properties:.Added my user in whitelist.json (despite not enabling the whitelist).Added my Xbox Live Minecraft user as an operator in permissions.json.I am not going to explain this in-depth, but my process was as follows: Now you can configure the Minecraft server to your liking. Once downloaded, create a directory and expanded the archive: mkdir -p /home/ubuntu/Tech/minecraft/server unzip bedrock-server-1.18.2.03.zip -d /home/ubuntu/Tech/minecraft/server From the EC2 instance, download the package as follows: wget Visit the Minecraft Bedrock server homepage and right-click the Ubuntu download link to copy the path to the installation package. Now patches and upgrades should be applied automatically. Once that's done, make sure the /etc/apt//20auto-upgrades file contains the following lines: APT::Periodic::Enable "1" ĪPT::Periodic::Download-Upgradeable-Packages "1" Unattended-Upgrade::Automatic-Reboot-WithUsers "true" Automatically reboot even if there are users currently logged in. Unattended-Upgrade::Automatic-Reboot "true" the file /var/run/reboot-required is found after the upgrade Automatically reboot *WITHOUT CONFIRMATION* if Unattended-Upgrade::Remove-Unused-Dependencies "true" Uncomment and change the following settings where necessary: // Do automatic removal of new unused dependencies after the upgrade Once installed, edit the following file: /etc/apt//50unattended-upgrades You can also configure automatic updates as follows: sudo apt-get install unattended-upgrades apt-listchanges sudo dpkg-reconfigure -plow unattended-upgrades Once completed, log in to the EC2, update the operating system and reboot. You may want to create a DNS entry for your host in Route 53 at this time. ![]() Next, create an Elastic IP address and associate it with the instance. I believe port 19132 is used for IPv3 is for IPv6. I originally had problems because I failed to allow UDP traffic. By default, Minecraft requires ports 1913 to accept both TCP and UDP traffic. ![]() We will need to attach an additional security group that allows inbound traffic for Minecraft. Hopefully you're already familiar with this and have your own process for it. I use a single "bastion" server to SSH into EC2 instances with RSA keys, so launching a new one requires me to change the SSH port and correct the security groups. This is a great way to perform automatic backups of EC2 instances. I also added a tag to the EBS volume that's configured within the AWS Lifecycle Manager to conduct periodic snapshots of the volume. I used a t3.micro Ubuntu Server 20.04 instance with a 30 GB EBS volume. Go into the AWS EC2 console and launch a new instance. It's a vanilla Bedrock server on survival mode. Connect to the instance from the PS4 consoleĬome play on if you just want to see the finished product.Create an alert that generates SMS messages when users connect.Allow remote access and configure logging through CloudWatch.Create a new EC2 instance and install the Minecraft Bedrock server. ![]() This article details the steps I took to do the following: It was just a matter of time before I got into Minecraft. I am interested in any kind of open-world server that I can host and allow others to join. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |