Posts in Gaming

How to start Minecraft server at AWS

How do you play Minecraft? where do you host your gaming servers? in this blog post we’ll use AWS to play Minecraft.

How to install Minecraft at AWS?

1. you’ll need to start an instance and install docker
2. then create AMI from that instance
3. update the AMI in the instance ID in the script
4. change the instance type per your load / number of players
5. create a security group with the IP’s of the players
6. create pem file
7. add the security group and key file to the create_instance_minecraft function

Once your AMI is ready run the script:

launch_minecraft_instance.py

Is the game playable using a remote server?

When I tested Minecraft at AWS I got less than 70ms and the game run smoothly without any issues.

How do you save the game?

You’ll need to add persistent data to save your game, use EBS volume.