Optionally it uses Spot Pricing so the server is very cheap, and you can easily turn it off when not in use.
This repository contains a CloudFormation template that will get you up and running in AWS in a matter of minutes. If you're looking for a simple way to deploy this to the Amazon Web Services Cloud, check out the Minecraft Server Deployment (CloudFormation) repository. The examples directory also provides examples of deploying the itzg/minecraft-server Docker image. Deployment Templates and Examples Helm Charts In those cases you can approximate the disabling of healthchecks by setting the environment variable DISABLE_HEALTHCHECK to true. Some orchestration systems, such as Portainer, don't allow for disabling the default HEALTHCHECK declared by this image. Tag nameįor example, to use Java version 16 on any supported architecture: To use a different version of Java, please use a docker tag to run your Minecraft server. Running Minecraft server on different Java version The server jar remain in the /data directory. NOTE: over time you might see older versions of The new server jar file is downloaded and used.
When using "LATEST" or "SNAPSHOT" an upgrade can be performed by simply restarting the container.ĭuring the next startup, if a newer version is available from the respective release channel, then
RCON is enabled by default, so you can exec into the container to Itzg/minecraft-bedrock-server Interacting with the server
If you plan on running a server for a longer amount of time it is highly recommended using a management layer such as Docker Compose or Kubernetes to allow for incremental reconfiguration and image upgrades.īe sure to always include -e EULA=TRUE in your commands and container definitions, as Mojang/Microsoft requires EULA acceptance.īy default, the container will download the latest version of the "vanilla" Minecraft: Java Edition server provided by Mojang. Where, in this case, the standard server port 25565, will be exposed on your host machine. Docker run -d -it -p 25565:25565 -e EULA=TRUE itzg/minecraft-server