![]() added a credit card to) your AWS account. ![]() This guide assumes you have already created and activated (i.e. So, let’s get started in this tutorial: Running a Minecraft server with Pterodactyl panel on AWS Graviton2-powered instances. Following a few days of testing a Minecraft server installed on an M6g.medium instance, I can wholeheartedly conclude: Amazon Graviton2 is definitely the fastest and cheapest platform to run (most) gameservers on AWS! Amazon does, however, advertise these servers as good for “gaming applications”, so I decided to give it a try. Unfortunately, the only Graviton2-powered instance type available on the Spot market (which I use to reduce my EC2 costs – more info here) was the M6g general-purpose series. Additionally, it was not financially feasible for me to enable T2/T3 Unlimited.Īfter some research, I discovered Amazon’s new instances based on their custom Graviton2 processors. I had previously run Minecraft game servers on t3 burstable instances however, their burstable nature meant performance started to drastically drop after I exhausted my CPU credits. They are certainly a viable option for many!)Īs a huge fan of Amazon Web Services, I decided to research what solutions were possible on their platform. (I understand that shared Minecraft servers can be even cheaper, starting at just $1/GB RAM, however, I didn’t consider them as I prefer to have total control over my data and infrastructure. If you’re one of our Managed Service customers, the AMI is available, and the templates are available in the Solutions repo.For a while now, I have been exploring affordable, yet high-performance and low-latency solutions for hosting game servers, specifically, Minecraft servers. Both of these are essential wins in my book. By creating these templates, I furthered my knowledge of CloudFormation, and by publishing the templates, our customers can move faster and have some fun along the way. Here’s why - I believe it’s essential to become a continuous learner. Some of you may be wondering why do I care about this. The Minecraft instance allows all traffic on the appropriate application port. Security Groups are not supported by the Network Load Balancer (NLB). No Security Group on the Network Load Balancer? You could wrap this in a ‘steady-state’ auto-scaling group and then use EC2 health checks to recover the instance if it were to fail. The Minecraft instance isn’t critical - if it’s not available, then we’ll have to find something else to do. You could reduce your costs by removing the NAT Gateway in the second AZ. The VPC where the Minecraft instance resides uses one of our standard VPC templates, which by default, contains two NAT Gateways - one for each Availability Zone (AZ) in the VPC. ![]() This week, I spent some time building CloudFormation templates and getting the Unified CloudWatch Log agent added to our EC2 instance - isn’t this how you spend your free time? It was fun, and it made me think about automation. When his visit came to an end, we created a new AMI - he ran the commands - and I had to promise that I wouldn’t delete it so we could play next time he visits. So we spent the next three days repeatedly dying and laughing about being killed by bees. Now, this isn’t just any regular Minecraft server - it has about thirty mods installed, one of which is called ‘Tough as Nails’ and yes, it lived up to its name. We quickly got to work remembering where stuff was and what we had built the year before. aws ec2 run-instances -image-id -instance-type t3.medium -key-name -security-group-ids -subnet-id -profile -region ca-central-1Īfter a rather interesting Alexa random question session - another favorite pastime when he visits - our Minecraft server was up and running. We decided to bring it back to life so we could play and I showed him how to run the AWS CLI commands to do it … yes, this happens when you spend March Break with me. His memory is (much) better than mine, so I had to go digging - but I found the Amazon Machine Image (AMI) we created when we mothballed the Minecraft adventure from the year before. Like many gamers, he spends most of his time in Fortnite, but when he arrived, he reminded me about our AWS Minecraft server from the previous year. A few weeks back, my nephew spent a few days with us to finish his March break.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |