How To Snag a Free 96-Core VPS on Google Colab 🤯
Yup, you read that right. Google Colab ain’t just for running Python notebooks — with a lil’ hack, you can spin it up like a free VPS and flex a whooping 96 cores. Crazy, right? Lemme walk you through it.
Step 1: Fire up Google Colab
First things first, hop over to Google Colab and smash that New Notebook button. (Pro tip: make sure you’re logged in with your Google account — duh 😅).
Step 2: Switch the Runtime
Click up top on:
Runtime → Change runtime type
- For Hardware accelerator, choose TPU.
- If you see an option for TPU v2-8, pick that bad boy.
- Hit Save and you’re golden.
⚠️ Heads up: if you don’t see v2-8, no worries fam. Just pick TPU (or v3-8 if it pops up). The SSH trick still works ’cause the shell runs inside the Colab VM anyway.
Step 3: Hook it Up With SSHX
Now add a fresh code cell and paste this magic spell:
curl -sSf https://sshx.io/get | sh -s run
Run it, and boom — you’ll get a shiny URL as output.
Step 4: Jump Into Your Free VPS
Click that URL and it opens a terminal right inside your browser. Congrats, you just scored yourself a free Colab-powered VPS. 🎉
(Seriously tho, save the link somewhere safe, you’re gonna need it).
If you’re lowkey confused, check out the video down there.
Wrap-Up
So yeah, that’s the trick. Free 96-core juice straight outta Google Colab. Perfect if you just wanna tinker, test some code, or flex on your dev buddies without burning a hole in your wallet.
Go try it out and thank me later 😏
