- Create AWS LightSail instance
- OS only - Ubuntu 16.04
- Startup script -
curl -o /tmp/bootstrap https://raw.githubusercontent.com/kalisjoshua/minecraft-server/master/bootstrap chmod +x /tmp/bootstrap
- Networking (tab) add custom PORTs
- 25565
- 25575
- Update and install packages
sudo apt-get update -y && sudo apt-get upgrade -y
- There may be a dialog that requires you to press enter to keep the local version of a config file.
sudo apt-get install -y curl openjdk-8-jdk openjdk-8-jre
sudo /tmp/bootstrap
- Setup up permissions
cd /opt/minecraft
sudo ./launch
sudo sed -i s/white-list=false/white-list=true/ server.properties
- Add users
- Operators ("admins") - allowed to execute commands
sudo systemctl enable minecraft.service
sudo systemctl start minecraft.service