Google Cloud Platform Blog
Containerizing in the real world . . . of Minecraft
Monday, November 30, 2015
Containers are all the rage right now. There are scores of best practices papers and tutorials out there, and "Intro to Containers" sessions at just about every conference even tangentially related to cloud computing. You may have read through
the Docker docs
, launched an NGINX Docker container, and read through Miles Ward’s
Introduction to containers and Kubernetes
piece. Still, containers can be a hard concept to internalize, especially if you have an existing application that you’re considering containerizing.
To help you through this conceptual hurdle, I’ve written a
four-part series of blog posts
that gives you a hands-on introduction to building, updating, and using containers for something familiar: running a
Minecraft
server. You can check them out here:
Running a Minecraft server on Google Compute Engine with Docker
Saving the world: using persistent storage with a containerized Minecraft server
Minecraft, Docker, Compute Engine: an interlude
Containers & Compute Engine: creating Minecraft Roulette with Kubernetes
In the
first part of the series
, you’ll learn how to create a container image that includes everything a Minecraft server needs, use that image on
Google Compute Engine
to run the server, and make it accessible from your Minecraft client. You’ll use the Docker command-line tools to build, test, and run the container, as well as to push the image up into the
Google Container Registry
for use with a
container-optimized instance
.
Next, you'll work through the steps needed to
separate out storage from the container
and learn how to make regular backups of your game. If you’ve ever made a mistake in Minecraft, you know how critical being able to restore world state can be! As Minecraft is always more fun when it’s customized, you'll also learn how to
update the container image
with modifications you make to the
server.properties
file.
Finally, you’ll take the skills that you’ve learned and apply them to making something fun and slightly absurd:
Minecraft Roulette
. This application allows you to randomly connect to one of several different Minecraft worlds using a single IP as your entry point. As you work through this tutorial, you’ll learn the basics of Kubernetes, an open source container orchestrator.
By the end of the series, you’ll have grasped the basics of containers and
Kubernetes
, and will be set to go out and containerize your own application. Plus, you’ll have had the excuse to play a little Minecraft. Enjoy!
This blog post is not approved by or associated with Mojang or Minecraft.
-
Posted by Julia Ferraioli, Senior Developer Advocate, Google Cloud Platform
No comments :
Post a Comment
Don't Miss Next '17
Use promo code NEXT1720 to save $300 off general admission
REGISTER NOW
Free Trial
GCP Blogs
Big Data & Machine Learning
Kubernetes
GCP Japan Blog
Labels
Announcements
56
Big Data & Machine Learning
91
Compute
156
Containers & Kubernetes
36
CRE
7
Customers
90
Developer Tools & Insights
80
Events
34
Infrastructure
24
Management Tools
39
Networking
18
Open Source
105
Partners
63
Pricing
24
Security & Identity
23
Solutions
16
Stackdriver
19
Storage & Databases
111
Weekly Roundups
16
Archive
2017
Feb
Jan
2016
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2015
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2014
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2013
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2012
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2011
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2010
Dec
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2009
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2008
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Feed
Subscribe by email
Technical questions? Check us out on
Stack Overflow
.
Subscribe to
our monthly newsletter
.
Google
on
Follow @googlecloud
Follow
Follow
No comments :
Post a Comment