Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcbuch/quick-factorio-server

Quickly deploy a factorio server to Azure with Terraform and Ansible.
https://github.com/marcbuch/quick-factorio-server

Last synced: 10 days ago
JSON representation

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

Awesome Lists containing this project

README

        

![Factorio Game Logo](./assets/Factorio-logo.png)

# 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

```shell
$ terraform init
```

2. Apply the Terraform configuration

```shell
$ terraform apply
```

3. Copy the public IP returned from Terraform and append to `./ansible/hosts` file.

```shell
$ echo -e x.x.x.x >> ./ansible/hosts
```

4. Modify the Factorio server settings in `./ansible/server-settings.json`.

5. Run the Ansible playbook.

```shell
$ 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.