Image taken from itzg/docker-minecraft-server Contributing Much more detailed documentation for operating the minecraft serverĬan be found in the itzg/docker-minecraft-server docs: Ssh -i ~/.ssh/id_rsa operate as root to have docker privileges To issue commands on the server: # connect to the instance The file structure of the server is like this: /minecraft Spigot and Bukkit "plugins" (mods) like WorldEdit are supported by Paper. Optimized Minecraft server JAR called Paper.Ī fork of the popular Spigot server, which in turn The container is called itzg/docker-minecraft-server. The Minecraft server runs on the EC2 instance using docker-compose. ssh -i ~/.ssh/id_rsa the server and running commands as admin Ĭonnect to the instance when the server is running. MinecraftPaasStack ( APP, "awscdk-minecraft". If you have trouble with this command, you can always create the key pair in the AWS Console. # create a new keypair from ~/.ssh/id_rsa.pub SSH_KEY_PAIR_NAME =eric-keyĪws ec2 import-key-pair -key-name $SSH_KEY_PAIR_NAME -public-key-material file://~/.ssh/id_rsa.pub -profile -region synth () Connecting to the server over SSHĪfter starting a temporary EC2 instance with the minecraft server, you canĬonnect to it over SSH if you set up a keypair.Ĭreate a keypair, for example, using an existing SSH keypair. # app.py import os from aws_cdk import App, Environment from cdk_minecraft import MinecraftPaasStack APP = App () MinecraftPaasStack ( APP, "awscdk-minecraft", # login_page_domain_name_prefix just needs to be unique across all AWS accounts login_page_domain_name_prefix = "mlops-club-minecraft-login" ) APP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |