![]() ![]() The plan to survive your first night, and hitting your requirementsĬreating a basic Minecraft server on GCP is actually pretty straightforward:Ĭonfigure some Minecraft software start-up scripts. The final architecture looked something like this:ĭon’t be intimidated by all of those lines-in fact, here’s a simplified one you can show your kids: Spoiler Alert: the final product is awesome, and it was surprisingly easy to build! Needless to say, I’ve played a lot more Minecraft with my kids since building this solution. Best of all, it’s 100% controllable by serverless functions you can share with friends and family, so that inviting friends to use the server isn’t a burden. In this post, I’m going to show you how I used GCP to build a cloud-ready Minecraft server-one that’s easy to set up and begin playing with friends, and automatically backs itself up. By building a game server, you can learn a lot-in a risk-free way! And while disaster recovery plans might not account for creepers and zombies, they sure care about servers crashing, recovering data, and restoring services quickly. Your Site Reliability Engineering team will maintain system uptime, create systems that can auto-recover, and monitor them efficiently. The concepts I use tie directly to what you see in the business world. ![]() If you’ve ever experienced the pain of losing a Minecraft world with diamond armor, a house in the clouds, and a functional roller coaster…well then, you know true sadness! And sometimes, a real-life creeper explodes, something happens to their laptop or to the game files, and we have to start all over. Behind the scenes, I also help my kids run servers, install mods, and generally tweak the game to their liking. As a parent of two kids who are crazy about the block building game, I do my fair share of playing along with them, building castles, gathering resources, and defending my home from zombies. Even moving between major cloud providers can be difficult due to subtle, but meaningful, differences in products, acronyms, and company cultures.Įach time I want to learn a new cloud platform, I do it the same way: by hyper-over-engineering a Minecraft server for my kids. In the past six years as a solution architect, I’ve had to learn AWS, Azure, and most recently Google Cloud Platform (GCP), and the incredible array of technologies, products, and vendors can make it seem like an impossible mountain to climb. There's a premium for Windows servers (I believe ~2x the cost of a Linux server), but a premium that you're hopefully willing to pay as a tradeoff for being able to go-to-market much faster than had you not used those tools.Īs far as booting your server program up as a Windows instance starts, that's outside my skillset.Learning a new cloud can be intimidating. It's my understanding that Gamelift takes any kind of launch template, so you can in theory spin anything up. You need to do a bit of integration so your players get routed to the correct instances, and for the server side of things to indicate how available they are. ![]() You pay a little extra for this benefit, but you can (in theory) scale up and down as needed. Because game sessions are not things that last forever, your players get allocated to spot instances that are probably not going to be killed in the next two hours. Gamelift is (among other things) a fancy algorithm that figures out the likelihood of a server lasting at least a couple hours before potentially being claimed for real work. ![]() The trick with "spot" instances is they things running on them can get killed (with warning) if they're needed for real work. Amazon has left over computing capacity that they sell as "spot" instances. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |