i am hosting my factorio headless server on a VM on digitalocean.
Since you pay there for the actual runtime ($0.015/h for the second smallest one) of your VM and can save up to 5 snapshots for free its really cheap
And you can always make a bigger VM if you need more performance.
So i had to always had to create the VM, play, take snapshot, destroy VM manually...
Since that is boring as hell i made a script for that: https://github.com/EndOfFile/factorio_on_DO (Use with caution, deletes stuff)
Regards
EOF
Change log