Terraform setup to deploy a pavlov server in Google Cloud Platform.
Google gives $300 for 3 months to test their product, this makes it easy to quickly set up a pavlov server in a new account (and also to take it down when needed)
Clone this repo with
git clone https://github.com/hammsvietro/pavlov_terraform_gcp
Edit locals.tf
and pavlov/Game.ini
You can read the server docs for more information about Game.ini and other files
go here to get an API key.
and also edit pavlov/RconSettings.txt
to control the server using the Rcon tool, more info below.
Finally, run
terraform apply
to deploy the server, this will output the ip of your server. You can SSH into it at any time with with
ssh <instance_user>@<outputed_ip>
Arctic VR RCON is a good tool to control your server without the need to ssh into the instance.
Feel free to open an issue or a PR =)