Google Colab Google Colab environment for computational notebooks and interactive code.
Overview Google Colab is Google's hosted notebook service for interactive Python analysis and teaching. It provides managed compute with free and paid access, including accelerators subject to availability.[1]
Contents Sharing and runtime lifetime Sharing a notebook includes its text, code, outputs and comments, but excludes the runtime's custom files and libraries. Managed virtual machines are temporary and can be deleted after inactivity or their maximum lifetime. Saving a notebook consequently does not preserve everything needed to reproduce the computation.[1]
Compute availability Resource limits and available hardware fluctuate. Paid plans expand access but still depend on availability and compute-unit balances. This makes Colab a qualified choice for interactive work, rather than evidence of guaranteed uninterrupted capacity for any job.[1]
User-controlled runtimes Colab can connect its frontend to a runtime on the user's own hardware. This changes the trust boundary: executed notebook code can read, modify and delete accessible local files. The documented Docker image targets linux/amd64, and Google warns that it may contain outdated dependencies or untriaged vulnerabilities and is intended for demonstrations rather than production workloads.[2]
Outputs and local execution Local execution does not automatically keep every result local. Google's instructions state that code-cell outputs are stored in Drive by default, with an option to omit them when saving. Sharing a notebook does not share the local runtime; recipients ordinarily connect to a hosted runtime instead. Users must therefore distinguish the execution machine, the saved document and its potentially sensitive outputs.[2]
Substitution considerations Colab can replace Jupyter Notebook for compatible Python exercises. Notebook files provide a migration route, but dependencies remain separate. A self-managed installation instead lets users choose their server and kernels.[1] [3] [4]
References Colab FAQ Basics; sharing; virtual machines; resource limits
vendor · retrieved 2026-10-07 Colab local runtimes Security considerations; Docker image warning; sharing
vendor · retrieved 2026-10-07 The Jupyter Notebook Introduction; privacy; cells; kernels; browser compatibility
vendor · retrieved 2026-10-07 Documents and kernels Separate kernel processes; consoles for text editors
vendor · retrieved 2026-10-07 Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.