MarcBuch / quick-factorio-server

Quickly deploy a factorio server to Azure with Terraform and Ansible.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Factorio Game Logo

quick-factorio-server

Quickly deploy a Factorio server to Azure with Terraform and Ansible.

Factorio Server Features

You can apply all server settings in the ./ansible/server-settings.json. The Ansible script will generate a random generated map. Savegames are currently not supported.

Prerequisites

  • An Azure subscription
  • A valid Factorio account
  • Terraform
  • Ansible

Getting started

  1. Initialize terraform
$ terraform init
  1. Apply the Terraform configuration
$ terraform apply
  1. Copy the public IP returned from Terraform and append to ./ansible/hosts file.
$ echo -e x.x.x.x >> ./ansible/hosts
  1. Modify the Factorio server settings in ./ansible/server-settings.json.

  2. Run the Ansible playbook.

$ ansible-playbook ./ansible/configureFactorio.yml -i ./ansible/hosts

Disclaimer

I'm not associated with Wube Software. This is just a hobby project which makes it easier to deploy a Factorio server.

About

Quickly deploy a factorio server to Azure with Terraform and Ansible.

License:MIT License


Languages

Language:HCL 100.0%