
The discount starts at 20% and goes up the more we use the instance. If our n1-standard1 runs for more than 25% of the month, we can take advantage of a sustained use discount. Or, we can make a rough estimate by looking at the big ticket items (in our case, the virtual machine) to understand what our pricing options are. To get a really detailed estimate of costs, we can use the pricing calculator.

However, my usage isn’t necessarily representative of everyone’s, which is why there are tools to help us estimate cost. This was after the point that I started taking semi-regular snapshots, which accounts for a fraction of the total bill. Storage: 167.94 Gibibyte-hours $0.01 $3.86Īs you can see, I’m running an n1-standard1 instance, and I played for almost 50 hours that month. Storage Pd Capacity: 7430 Gibibyte-hours $0.40 $3.77 Here’s a more typical monthly bill for me, from March 2015: Network Internet Egress: 1982.657 Mebibytes $0.23 $0.23 In fact, my costs are so low that I’ve gotten bills for approximately $0.05 on more than one occasion. Both of these factors keep my costs down.

I run my server for just a few people, and shut it down when we’re not playing (though anyone can start it for a little solitary game time). Still, while our monthly bill will depend on a number of factors, we can get a rough estimate. How much is it going to set us back? Unfortunately, answering that question is not as straightforward as if we’d bought physical hardware to use as a server. One of the most common questions about running a Minecraft server is that of cost. It does not mean that the world files have been committed for one simple reason: our world is stored on a data volume, and data volumes are exempt when you commit a container. That includes the changes we made to server.properties, as well as all the extracted files that the Minecraft server requires to run. The image now contains all changes to the container we committed. What does it actually include? And didn’t we commit all of the progress we’ve made in the game? However, we should be asking some questions about our updated image. We’re done! If we want to test it, we just start a new container like we have before, using this updated image (make sure to stop the old one, since we’re using the same port mapping for both).

We already have a command prompt inside the container, so let’s modify the server.properties file such that the difficulty is normal, and different players on the server can’t kill each other: pvp=falseįtb-server $ sudo docker tag /ftb:v2 gcr.io//ftb-v2įtb-server $ sudo gcloud docker push gcr.io//ftb-v2 What we really want is to modify the config file, and have that change persist in the image. The first option is going to be our winner.
Google cloud minecraft server cost zip file#
What if we want to change it up a bit? That configuration file came from the zip file that we unpacked in our Dockerfile. difficulty), and some have to do with server management (e.g. We can see some pretty interesting settings in there. Ftb-server $ sudo docker exec -ti more server.properties
