No description
Find a file
2023-01-23 21:13:17 +01:00
payload Add icecast and rtsp-simple-server along side jamulus 2022-09-27 20:25:44 +02:00
.gitignore Add jamulus pems 2022-02-15 15:48:31 +01:00
.gitlab-ci.yml add condition for broadcast server 2023-01-23 21:13:17 +01:00
broadcast-install.yml Use vlp instead of base ubuntu image 2023-01-23 20:32:03 +01:00
broadcast.tf Notify on setup-complete, add condition for broadcast server 2023-01-23 20:51:28 +01:00
dns.tf add condition for broadcast server 2023-01-23 20:54:55 +01:00
jamulus-central1.pem Add jamulus pems 2022-02-15 15:48:31 +01:00
jamulus-install.yml Notify on setup-complete, add condition for broadcast server 2023-01-23 20:51:28 +01:00
jamulus-west1.pem Add jamulus pems 2022-02-15 15:48:31 +01:00
jamulus.pem Add jamulus pems 2022-02-15 15:48:31 +01:00
main.tf add condition for broadcast server 2023-01-23 21:13:17 +01:00
README.md Intial commit 2021-11-06 03:07:00 +01:00
send-setup-finished.py Notify on setup-complete, add condition for broadcast server 2023-01-23 20:51:28 +01:00
variables.tf Notify on setup-complete, add condition for broadcast server 2023-01-23 20:51:28 +01:00

Setup Ephemeral jamulus Server

This project will help you create a game server with jamulus on it. You can create an IAM image with packer with arma and deps installed. You can create a jamulus server with that image using terraform

Getting Started

Create a .pem file

Create a .pem file either locally or on AWS and import it here. it could be called jamulus.pem

Building the IAM Image

Use packer to create the IAM image. aws_ubuntu20_jamulus.json is the main packer file with scripts/deps.sh being what runs when packer is building

Building on linux:

# Validate your changes
$ packer validate
$ build.sh <your aws key> <your aws secret>

Building on windows:

# Validate your changes
> packer build -var "aws_access_key=<your aws key>" -var "aws_secret_key=<your aws secret>" -var .\aws_ubuntu20_jamulus.sjon

Building with CI/CD

Simply commit and push to gitlab. Go to the pipeline and accept the manual action.

Create the server

Set up AWS profile vereto in the ~/.aws/credentials file

# Do a dry run (WILL NOT CREATE SERVER)
$ terraform plan

# Make the server (WILL CREATE BILLABLE SERVERS)
$ terraform apply

Changing the region of deployed server can be done under the provider standza

Changing the instance class can be done under the aws_instance.jamulus stanza