I first heard you could get a free Virtual Private Server instance on the Google Compute Engine from a random person on Twitter.
Joshua ByrdCheers to the random dude who suggested rather snarkily over twitter that I should simply use a Google Compute f1-micro instance to periodically ping my scripts etc no I won't be dignifying that suggestion with a reply but yes I will be using that free service thank you09:05 AM - 18 Jul 2020
So here's how to do it.
- Go to the Google Cloud Platform Console and sign up/in if you have to and go to the Compute Engine section using the hamburger menu top left.
- Enable Compute Engine if it's not already enabled and then set up billing (you need to add a credit card or PayPal but don't worry you won't be charged).
- Create a new instance in one of the free tier locations (Iowa, Oregon, or South Carolina) with machine type
Finish the server config (make sure you add the max 30GB free disk space) and spin up the server.
Click the Connect via SSH button to log in.
And that's about it for now. Enjoy your free server forever!
If this post helped you please consider sponsoring me on GitHub for $1.
NOTE: Even though you can run this server for free, Google may charge if you go over certain "free tier" limits etc so just keep a lookout for that in the terms and conditions...
Update: The free offering from Oracle Cloud is almost certainly better than Google Cloud. See this article 👇