A small pile of terraform files and bash scripts to spin up a minecraft server.
Go to file
Alex Pickering ece2007c14 Inital commit 2024-04-17 19:48:28 -05:00
build Create more folders 2024-04-12 00:59:32 -05:00
src Inital commit 2024-04-17 19:48:28 -05:00
tools/etluapp Inital commit 2024-04-10 23:57:20 -05:00
.gitignore Ignore secrets.lua from now on. 2024-04-10 23:58:08 -05:00
Makefile Inital commit 2024-04-17 19:48:28 -05:00
config.lua Inital commit 2024-04-17 19:48:28 -05:00
express.lua Inital commit 2024-04-17 19:48:28 -05:00
readme.md Inital commit 2024-04-17 19:48:28 -05:00
secrets.lua Fix secrets config 2024-04-11 00:03:04 -05:00

readme.md

Readme

This is a little pile of scripts to configure stuff on the AWS cloud. In general, create a setup script under src/startup/your_service_name.sh.etlua, Then add your_service_name to config.lua under the services, and machines. your_service_name.sh.etlua will be preprocessed with etlua, then run in a chroot on the machine configured in machines. Everything else is configured in src/main.tf.etlua and should generally not be touched.

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

  • Create a hosted zone for your domain name, and set up your registrar with AWS's DNS servers.

  • Wait for DNS to resolve

  • Connect to the sidecar server, and run certbot:

  • while in sidecar server, run service httpd start and check that it works in your browser