Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/marcbuch/quick-factorio-server
- Owner: MarcBuch
- License: mit
- Created: 2021-06-20T13:56:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-21T19:50:51.000Z (over 3 years ago)
- Last Synced: 2023-10-06T12:40:12.662Z (about 1 year ago)
- Language: HCL
- Size: 848 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.