gitgoogle-cloud-platformgoogle-cloud-colab-enterprise

Set up Google Colab Enterprise Runtime with working Git connection and public internet access


I am trying to run simple git pull command to get an external public repository in my /content folder within a GCP Colab Enterprise notebook.

I am however getting an error for both HTTPS and SSH: Failed to connect to github.com port 443

I figured that this has something to do with the fact that my runtime template does not have public internet access enabled

enter image description here

The configuration however says that an organizational policy is blocking me from enabled public internet access.

Now my question: I am the admin of this entire organization, which policy is actually preventing me from setting this option to enabled?

Thanks!


Solution

  • So I reached out to google engineers for support, turns outs you need to change the org policy "compute.vmExternalIpAccess". You need to enable it (default is disabled). After that the checkbox becomes available and my Colab notebook could access the internet. Problem was that it was very hard for me to locate which policy to change, so hope this helps people in the future