🔥 How to Create a FREE VPS Using Google Colab in 2025 – Step-by-Step Guide (No Card Needed)

How to Create a FREE VPS Using Google Colab in 2025

In this guide, you'll learn how to set up your own VPS using Google Colab and Chrome Remote Desktop — no payment or card required!

📑 Table of Contents

🌐 What is Google Colab?

Google Colab is a free online Jupyter notebook platform created by Google, typically used for machine learning and data science tasks.

💡 Why Use Colab as a VPS?

  • 100% free (no card needed)
  • Temporary VPS with Debian Linux
  • Use up to 12GB RAM and GPU

📌 Requirements

  • A Google account
  • Google Chrome browser
  • Stable internet

🔧 Step-by-Step Setup

  1. Go to Google Colab
  2. Create a new notebook
  3. Paste the following code and run:
    !curl -s -L -o run.py 'https://gitlab.com/chamod12/GCRD-Linux-Colab/-/raw/main/run.py'
    !python run.py
        
  4. Follow the prompt for Google CRD and SSH authorization
  5. Visit Chrome Remote Desktop
  6. Click "Begin" → "Next" → "Authorize" and copy the Debian install command
  7. Paste the command into a new code cell in Colab
  8. Wait 4–5 minutes until it gives you a login code
  9. Go back to Chrome Remote Desktop and connect
  10. Enter your PIN and access your free VPS!

📝 Note

I do not have any control over how long the VPS runs. The session duration depends entirely on Google Colab’s usage policies and your activity.

🛠️ FAQ

How long does it last?
Usually 6–12 hours, but it varies.

Can I host a website?
Yes, a basic one — but not for heavy traffic.

Can I access it from mobile?
Yes! Use the Chrome Remote Desktop mobile app.

📢 Conclusion

This method is a simple, powerful way to experiment with Linux VPS for free. Ideal for learners, developers, and creators who want a temporary but functional remote server.

🔗 Visit my channel for video tutorials: @tlgx-content

📚 Visit the blog: hacknhost.blogspot.com