Minecraft Server on the Amazon EC2

Okay, here’s a simple tutorial (or not, since I’m in a rush) showing you how you can run a Minecraft server off of the Amazon EC2 web service. You don’t need to pay, as long as you don’t exceed the limits of the free tier usage plan. The server can support up to 3 – 4 players without any problems.

1. First, go to http://aws.amazon.com/ and sign up for an account. You will need your credit card information.

2. Once you have signed up, go to the EC2 Management Console and under ‘Network & Security’ select ‘Security Groups’. Create a new security group titled w/e Minecraft. (Doesn’t really matter what you name it). Add two new Inbound Rules. One Custom TCP Rule for port 25565, and one SSH rule.

3. Then under ‘Network & Security’ select ‘Key Pairs’. You need to create a new Key Pair. Once again, it can be titled as anything you like. Download the pem file.

4. Now, under ‘Instances’, create a new Instance. This will be your server. Create a Amazon Linux instance using the first plan (eligible for Free Tier). When prompted, use the Key Pair you created earlier. Once this is done and you have completed the setup wizard, the server should start running.

5. Congrats, you are halfway done! Now all you need to do is download the Minecraft_server.jar onto your server. For this part, I chose to use the browser SSH client.

6. Launch the SSH Client of your choice. Type

wget https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar

into the client. This will download the .jar file onto your server.
Then type:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

This command will start your Minecraft server. You can now connect to your server via the  Elastic IP address found in Instances. :)

Leave a Reply

Your email address will not be published. Required fields are marked *