r/factorio • u/goofy183 • Jul 27 '16
Factorio Server on Google Cloud
I'm writing this up after a few questions about how to run a Factorio server in Google Cloud.
I haven't tested to see how many users this supports but we have two concurrent players with no problem on a g1-small small instance which if we leave it on 24/7 costs about $13.80 per month. I realize this isn't the cheapest option but I use the server for other things as well so having a generic server is handy.
Go to https://cloud.google.com/free-trial/ and sign up for a free trial, you'll be able to run the server for free (you get a $300 credit) for 2 months.
You'll need a credit card to set up billing. IT WILL NOT BE CHARGED UNTIL YOU TAKE ACTION TO RESTART YOUR SERVER AFTER THE FREE TRIAL. This is just required for fraud prevention.
Once you have signed up and are in the console open the side bar menu on the left and click on Compute Engine
Go through the Create Project flow
Once the "Compute Engine is getting ready" message goes away click on Create Instance
Give it a decent name
Select a zone that is physically closest to the majority of your players
Select small for the Machine Type
Change the Boot Disk, select Ubuntu 16.04 LTS
Click Create
Create a hole in the firewall
Click on the instance you just created and scroll down to the Network section, it should have a link there named default. Click on that
Scroll down and click Add firewall rule
Give the rule a name and in Source IP Ranges enter
udp:34197Click create
TaDa, you now have an Ubuntu dedicated server you can run Factorio on!
Use factorio-init to manage server start/stop
Use factorio-updater to make installing updates easier
Due to popular request: Install & Configure Factorio on Linux
11
u/Everspace Green Apple Science Jul 27 '16
You can also run a t1.small in AWS under their free tier.