/aws-minecraft

Ansible and Terraform files used to run a Minecraft server on AWS EC2

Primary LanguageRubyMIT LicenseMIT

aws-minecraft

Repo of Terraform and Ansible files used to setup a personal Minecraft server on AWS

Usage

# ensure ansible is installed, i.e. on ubuntu/debian
sudo apt update
sudo apt install ansible -y

# install required roles
ansible-galaxy install -r requirements.yaml

# run the playbook and run the server on localhost
ansible-playbook minecraft.yaml -i localhost,

Development

Running the Vagrant VM for testing

# Download and setup the VM
vagrant up

# Connect to VM
vagrant ssh

# Follow instructions under 'Usage'