A small pile of terraform files and bash scripts to spin up a minecraft server.
Go to file
Alex Pickering 3634220ff5 Install crond on the server and enable it. 2024-05-02 20:50:39 -05:00
build Create more folders 2024-04-12 00:59:32 -05:00
src Install crond on the server and enable it. 2024-05-02 20:50:39 -05:00
tools/etluapp Inital commit 2024-04-10 23:57:20 -05:00
.gitignore Update 2024-04-24 17:04:01 -05:00
LICENSE Initial commit 2024-04-25 00:08:18 +02:00
Makefile Update 2024-04-24 17:04:01 -05:00
config.lua Install crond on the server and enable it. 2024-05-02 20:50:39 -05:00
express.lua Inital commit 2024-04-17 19:48:28 -05:00
readme.md Update 2024-04-24 17:04:01 -05:00
secrets.lua Update 2024-04-24 17:04:01 -05:00

readme.md

Readme

This is a little pile of scripts to configure a Minecraft server on AWS and Namecheap. In general, the config.lua file holds your config, and secrets.lua holds api keys. Each of the vms in config.lua.machines has a startup script under src/start/*.sh.etlua that gets preprocessed with etlua.

Setup

There are a few one-time set up things:

  • Register your domain name, put it in the config.lua file

  • Create an s3 bucket with any name, and put it's name in the config.lua file.

  • run make

  • Connect to the sidecar server, and run certbot:

    certbot certonly -d domain.name --standalone

  • Run service httpd start and check that connecting to the domain works.