DEV Community


Discussion on: How To Run A Modded Minecraft Server on AWS

andrewbrown profile image
Andrew Brown 🇨🇦 Author • Edited

#!/usr/bin/env bash
sudo yum -y install java-1.8.0
sudo mkdir /minecraft
sudo chown -R ec2-user:ec2-user /minecraft
cd /minecraft
aws s3 cp s3://minecraft-server00/setup/forge-1.12.2- /minecraft/forge-1.12.2-
java -jar forge-1.12.2- --installServer
echo '#By changing the setting below to TRUE you are indicating your agreement to our EULA (
#Mon Aug 06 18:11:14 UTC 2018
eula=true' > eula.txt
aws s3 cp s3://minecraft-server00/setup/ /minecraft/
sudo aws s3 cp s3://minecraft-server00/setup/minecraft.service /etc/systemd/system/minecraft.service
sudo systemctl daemon-reload
sudo service minecraft start
zeekblitz profile image
zeek Blitz

Thank you!