Quickly deploy a Factorio server to Azure with Terraform and Ansible.
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.
- An Azure subscription
- A valid Factorio account
- Terraform
- Ansible
- Initialize terraform
$ terraform init
- Apply the Terraform configuration
$ terraform apply
- Copy the public IP returned from Terraform and append to
./ansible/hosts
file.
$ echo -e x.x.x.x >> ./ansible/hosts
-
Modify the Factorio server settings in
./ansible/server-settings.json
. -
Run the Ansible playbook.
$ ansible-playbook ./ansible/configureFactorio.yml -i ./ansible/hosts
I'm not associated with Wube Software. This is just a hobby project which makes it easier to deploy a Factorio server.