Member-only story

How to transfer large files to Google Cloud instance

--

If you tried uploading a file from your local machine to a GCP instance available as SSH-in-browser and aborted as it took forever to transfer a file, use the glcoudandscp utilities.

Google Cloud Platform

I am using an Ubuntu VM with 20.04.4 LTS (Focal Fossa) version and my host machine is macOS Monterey version 12.4.

Pre-requisite

  • GCP account with privileges to create an instance.
  • Install Google Cloud CLI in the host OS. My gcloud --version is Google Cloud SDK 390.0.0.

Step 0: Create a new VM instance in GCP

  • Create a VM instance from an image with a minimum of 32 vCPUs, 128 GB memory, and 100 GB storage.
  • Get your external IP address from Google console > VM instances > Network interfaces.
External IP address of your instance
  • Select SSH > Open in browser window next to your instance.
Open an SSH connection to the instance in a browser

Step 1: SSH keys

--

--

No responses yet